rpms/jempbox/EL-5 import.log, NONE, 1.1 jempbox-0.8.0-local.patch, NONE, 1.1 jempbox.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Orion Poplawski orion at fedoraproject.org
Sun Oct 18 01:56:06 UTC 2009


Author: orion

Update of /cvs/pkgs/rpms/jempbox/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17761/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	import.log jempbox-0.8.0-local.patch jempbox.spec 
Log Message:
Initial import


--- NEW FILE import.log ---
jempbox-0_8_0-6_fc12:EL-5:jempbox-0.8.0-6.fc12.src.rpm:1255830957

jempbox-0.8.0-local.patch:
 build.xml |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE jempbox-0.8.0-local.patch ---
--- jempbox-0.8.0-incubating/build.xml.local	2009-03-26 18:01:50.000000000 -0600
+++ jempbox-0.8.0-incubating/build.xml	2009-10-05 16:44:37.998478685 -0600
@@ -136,7 +136,7 @@
                debug="on" deprecation="on"/>
     </target>
 
-    <target name="junit" depends="compile,get.junit"
+    <target name="junit" depends="compile"
             description="run junit tests">
         <mkdir dir="${test.classes.dir}"/>
         <javac srcdir="${test.dir}" destdir="${test.classes.dir}"
@@ -153,7 +153,7 @@
         </junit>
     </target>
 
-    <target name="checkstyle" depends="compile,get.checkstyle">
+    <target name="checkstyle" depends="compile">
         <!-- This doesn't work when run from netbeans for some reason -->
         <taskdef name="checkstyle"
                  classname="com.puppycrawl.tools.checkstyle.CheckStyleTask"


--- NEW FILE jempbox.spec ---
%global with_gcj %{!?_without_gcj:1}%{?_without_gcj:0}

Name:           jempbox
Version:        0.8.0
Release:        6%{?dist}
Summary:        Java library for working with XMP metadata

Group:          Development/Libraries
License:        ASL 2.0
URL:            http://incubator.apache.org/pdfbox/
Source0:        http://www.apache.org/dist/incubator/pdfbox/%{name}/source/%{name}-%{version}-incubating-src.jar
#Disable downloading of required jars
Patch0:         %{name}-0.8.0-local.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  jpackage-utils
BuildRequires:  java-devel
BuildRequires:  ant-junit

%if %{with_gcj}
BuildRequires:    java-gcj-compat-devel >= 1.0.31
Requires(post):   java-gcj-compat >= 1.0.31
Requires(postun): java-gcj-compat >= 1.0.31
%else
BuildArch:      noarch
%endif

Requires:       jpackage-utils
Requires:       java

%description
Apache JempBox is an open source Java library for working with XMP metadata.


%package javadoc
Summary:        Javadocs for %{name}
Group:          Development Documentation
Requires:       %{name} = %{version}-%{release}
Requires:       jpackage-utils

%description javadoc
This package contains the API documentation for %{name}.


%prep
%setup -q -n %{name}-%{version}-incubating
%patch0 -p1 -b .local
find -name '*.class' -exec rm -f '{}' \;
find -name '*.jar' -exec rm -f '{}' \;
#Fix line endings
find -name '*.txt' -exec sed -i 's/\r//' '{}' +


%build
ant package javadoc


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp -p target/%{name}-%{version}-incubating.jar \
  $RPM_BUILD_ROOT%{_javadir}/
ln -s %{name}-%{version}-incubating.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
ln -s %{name}-%{version}-incubating.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar

mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
cp -rp website/build/site/javadoc \
$RPM_BUILD_ROOT%{_javadocdir}/%{name}

%if %{with_gcj}
%{_bindir}/aot-compile-rpm
%endif


%clean
rm -rf $RPM_BUILD_ROOT


%post
%if %{with_gcj}
  if [ -x %{_bindir}/rebuild-gcj-db ] 
  then
    %{_bindir}/rebuild-gcj-db
  fi
%endif

%postun
%if %{with_gcj}
  if [ -x %{_bindir}/rebuild-gcj-db ] 
  then
    %{_bindir}/rebuild-gcj-db
  fi
%endif


%files
%defattr(-,root,root,-)
%doc LICENSE.txt NOTICE.txt README.txt RELEASE-NOTES.txt
%{_javadir}/%{name}.jar
%{_javadir}/%{name}-%{version}.jar
%{_javadir}/%{name}-%{version}-incubating.jar
%if %{with_gcj}
%attr(-,root,root) %{_libdir}/gcj/%{name}
%endif

%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/%{name}


%changelog
* Thu Oct 15 2009 Orion Poplawski <orion at cora.nwra.com> - 0.8.0-6
- Add javadoc subpackage

* Thu Oct 15 2009 Orion Poplawski <orion at cora.nwra.com> - 0.8.0-5
- Reverse symbolic links

* Thu Oct 15 2009 Orion Poplawski <orion at cora.nwra.com> - 0.8.0-4
- Fix jar naming and add symbolic links

* Wed Oct 14 2009 Orion Poplawski <orion at cora.nwra.com> - 0.8.0-3
- Add comment for patch
- Fix line endings
- Add GCJ support

* Mon Oct 12 2009 Orion Poplawski <orion at cora.nwra.com> - 0.8.0-2
- Fix BuildRequires

* Mon Oct 5 2009 Orion Poplawski <orion at cora.nwra.com> - 0.8.0-1
- Initial Fedora Package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/jempbox/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	17 Oct 2009 20:44:56 -0000	1.1
+++ .cvsignore	18 Oct 2009 01:56:06 -0000	1.2
@@ -0,0 +1 @@
+jempbox-0.8.0-incubating-src.jar


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/jempbox/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	17 Oct 2009 20:44:56 -0000	1.1
+++ sources	18 Oct 2009 01:56:06 -0000	1.2
@@ -0,0 +1 @@
+b15d0837cc25b47bbdb0e2a49b8c6b65  jempbox-0.8.0-incubating-src.jar




More information about the fedora-extras-commits mailing list