rpms/fontbox/F-10 fontbox-0.8.0-local.patch, NONE, 1.1 fontbox.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Orion Poplawski orion at fedoraproject.org
Wed Nov 11 04:10:25 UTC 2009


Author: orion

Update of /cvs/pkgs/rpms/fontbox/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13318/F-10

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

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

--- NEW FILE fontbox-0.8.0-local.patch ---
--- fontbox-0.8.0-incubating/build.xml.local	2009-04-22 11:13:34.000000000 -0600
+++ fontbox-0.8.0-incubating/build.xml	2009-10-15 15:34:56.050815928 -0600
@@ -123,7 +123,7 @@
         <javac srcdir="${src.dir}" destdir="${dest.dir}" target="1.4" source="1.4" debug="on" classpathref="build.classpath" deprecation="on" encoding="ISO-8859-1"/>
     </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"
@@ -240,4 +240,4 @@
        <antcall target="site"/>
     </target>
 
-</project>
\ No newline at end of file
+</project>


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

Name:           fontbox
Version:        0.8.0
Release:        2%{?dist}
Summary:        Java library for working with PDF fonts

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-nodeps

%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 FontBox is an open source Java library for working with PDF fonts. 


%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 %{name}-%{version}-incubating
%patch0 -p1 -b .local


%build
ant package javadoc


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp -p lib/%{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}
%{_libdir}/gcj/%{name}
%endif

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


%changelog
* Mon Nov 9 2009 Orion Poplawski <orion at cora.nwra.com> - 0.8.0-2
- Change javadoc group
- Remove unneded %%attr

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


--- NEW FILE import.log ---
fontbox-0_8_0-2_fc12:F-10:fontbox-0.8.0-2.fc12.src.rpm:1257912603


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/fontbox/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	11 Nov 2009 03:43:48 -0000	1.1
+++ .cvsignore	11 Nov 2009 04:10:24 -0000	1.2
@@ -0,0 +1 @@
+fontbox-0.8.0-incubating-src.jar


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/fontbox/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	11 Nov 2009 03:43:48 -0000	1.1
+++ sources	11 Nov 2009 04:10:24 -0000	1.2
@@ -0,0 +1 @@
+37d4f031b6ccbdb0eabeaff71b6341ae  fontbox-0.8.0-incubating-src.jar




More information about the fedora-extras-commits mailing list