rpms/yecht/F-13 add-javadocs-to-build-xml.patch, NONE, 1.1 fix-build-xml-classpaths.path, NONE, 1.1 import.log, NONE, 1.1 yecht.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Mohammed Morsi
mmorsi at fedoraproject.org
Wed May 12 00:20:21 UTC 2010
- Previous message: rpms/yecht/F-12 add-javadocs-to-build-xml.patch, NONE, 1.1 fix-build-xml-classpaths.path, NONE, 1.1 import.log, NONE, 1.1 yecht.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/kernel/F-12 kernel.spec, 1.2075, 1.2076 linux-2.6-tracehook.patch, 1.10, 1.11 linux-2.6-utrace-ptrace.patch, 1.1, 1.2 linux-2.6-utrace.patch, 1.119, 1.120
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mmorsi
Update of /cvs/pkgs/rpms/yecht/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv21638/F-13
Modified Files:
.cvsignore sources
Added Files:
add-javadocs-to-build-xml.patch fix-build-xml-classpaths.path
import.log yecht.spec
Log Message:
Initial yecht commit
add-javadocs-to-build-xml.patch:
build.xml | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
--- NEW FILE add-javadocs-to-build-xml.patch ---
--- build.xml.sav 2010-05-05 12:20:56.000000000 +0300
+++ build.xml 2010-05-05 12:37:41.650052139 +0300
@@ -148,7 +148,18 @@
</tar>
</target>
- <target name="dist" depends="dist-bin,dist-src"/>
+ <target name="javadocs" description="Build the javadocs for the source code.">
+ <property name="doc.javadocs" value="javadocs"/>
+ <mkdir dir="${doc.javadocs}" />
+ <javadoc destdir="${doc.javadocs}"
+ version="true" Use="true">
+ <fileset dir="${main.src.dir}">
+ <include name="**/*.java"/>
+ </fileset>
+ </javadoc>
+ </target>
+
+ <target name="dist" depends="dist-bin,dist-src,javadocs"/>
<target name="clean" description="clean almost everything">
<delete dir="${build.dir}"/>
--- NEW FILE fix-build-xml-classpaths.path ---
--- olabini-yecht-157cf13/build.xml 2009-07-26 06:04:48.000000000 -0400
+++ ../olabini-yecht-0.0.2/build.xml 2010-01-21 14:42:35.000000000 -0500
@@ -11,16 +11,13 @@
<!-- And then load the defaults. It seems backwards to set defaults AFTER
setting local overrides, but that's how Ant works. -->
<property file="default.build.properties"/>
<path id="build.classpath">
- <fileset dir="${lib.dir}" includes="*.jar" excludes="yecht*.jar"/>
</path>
<path id="ruby.build.classpath">
- <fileset dir="${lib.dir}" includes="yecht*.jar"/>
- <fileset dir="${jruby.lib}" includes="jruby.jar"/>
</path>
<patternset id="java.src.pattern">
<include name="**/*.java"/>
</patternset>
--- NEW FILE import.log ---
yecht-0_0_2-4_fc11:F-13:yecht-0.0.2-4.fc11.src.rpm:1273623753
--- NEW FILE yecht.spec ---
%global commitversion 157cf13
%global dlversion 0.0.2-0-g157cf13
%global cluster olabini
Name: yecht
Version: 0.0.2
Release: 4%{?dist}
Summary: A YAML processor based on Syck
Group: Development/Libraries
License: MIT
URL: http://github.com/%{cluster}/%{name}
Source0: %{url}/tarball/%{version}/%{cluster}-%{name}-%{dlversion}.tar.gz
Patch0: fix-build-xml-classpaths.path
# https://bugzilla.redhat.com/show_bug.cgi?id=561455
Patch1: add-javadocs-to-build-xml.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: java-devel
BuildRequires: jpackage-utils
BuildRequires: ant
Requires: java
Requires: jpackage-utils
BuildArch: noarch
%description
Yecht is a Syck port, a YAML 1.0 processor for Ruby.
%package javadoc
Summary: Javadocs for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
Requires: jpackage-utils
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n olabini-%{name}-%{commitversion}
%patch0 -p1
%patch1
find ./ -name '*.jar' -exec rm -f '{}' \;
find ./ -name '*.class' -exec rm -f '{}' \;
%build
mkdir lib
ant
ant javadocs
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp lib/yecht-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/yecht-%{version}.jar
ln -s %{_javadir}/yecht-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/yecht.jar
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
cp -rp javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_javadir}/yecht-%{version}.jar
%{_javadir}/yecht.jar
%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/%{name}
%changelog
* Thu May 06 2010 Mohammed Morsi <mmorsi at redhat.com> - 0.0.2-4
- sync'd tarball source w/ upstream
- added my name that was missing from changelog
* Wed May 05 2010 Mohammed Morsi <mmorsi at redhat.com> - 0.0.2-3
- added Alexander Kurtakov's patch to generate javadocs
- added javadoc bits to the spec
* Tue Apr 27 2010 Mohammed Morsi <mmorsi at redhat.com> - 0.0.2-2
- removed deprecated gcj bits
- fixed source uri
* Thu Jan 21 2009 Mohammed Morsi <mmorsi at redhat.com> - 0.0.2-1
- Initial build.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/yecht/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 11 May 2010 04:51:33 -0000 1.1
+++ .cvsignore 12 May 2010 00:20:20 -0000 1.2
@@ -0,0 +1 @@
+olabini-yecht-0.0.2-0-g157cf13.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/yecht/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 11 May 2010 04:51:33 -0000 1.1
+++ sources 12 May 2010 00:20:20 -0000 1.2
@@ -0,0 +1 @@
+964d857ee91eb2a64c8cf174e109fb1d olabini-yecht-0.0.2-0-g157cf13.tar.gz
- Previous message: rpms/yecht/F-12 add-javadocs-to-build-xml.patch, NONE, 1.1 fix-build-xml-classpaths.path, NONE, 1.1 import.log, NONE, 1.1 yecht.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/kernel/F-12 kernel.spec, 1.2075, 1.2076 linux-2.6-tracehook.patch, 1.10, 1.11 linux-2.6-utrace-ptrace.patch, 1.1, 1.2 linux-2.6-utrace.patch, 1.119, 1.120
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list