rpms/itext/devel Makefile, 1.2, 1.3 import.log, NONE, 1.1 itext.spec, 1.10, 1.11 sources, 1.3, 1.4 .cvsignore, 1.2, 1.3 dead.package, 1.1, NONE

Orcan Ogetbil oget at fedoraproject.org
Mon Oct 13 17:28:54 UTC 2008


Author: oget

Update of /cvs/pkgs/rpms/itext/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7197/devel

Modified Files:
	.cvsignore 
Added Files:
	Makefile import.log itext.spec sources 
Removed Files:
	dead.package 
Log Message:
* Sat Oct 11 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT].com> 2.1.3-4
- Fix more encoding issues.

* Fri Oct 10 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT].com> 2.1.3-3
- Included the copyright notice (CC-BY) for the icons among the doc files.

* Thu Oct 09 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT].com> 2.1.3-2
- Enabled compilation of rups library
- Resorted dependencies (added: pdf-renderer, dom4j; removed bouncycastle)
- Fixed java dependencies
- License is (LGPLv2+ or MPLv1.1) and ASL 2.0 and BSD and MIT and LGPLv2+ and CC-BY
- Minor improvements in the SPEC file

* Thu Oct 02 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT].com> 2.1.3-1
- Repacked with version 2.1.3




Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Makefile	13 Oct 2008 17:28:24 -0000	1.3
@@ -0,0 +1,21 @@
+# Makefile for source rpm: itext
+# $Id$
+NAME := itext
+SPECFILE = $(firstword $(wildcard *.spec))
+
+define find-makefile-common
+for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
+endef
+
+MAKEFILE_COMMON := $(shell $(find-makefile-common))
+
+ifeq ($(MAKEFILE_COMMON),)
+# attept a checkout
+define checkout-makefile-common
+test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
+endef
+
+MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
+endif
+
+include $(MAKEFILE_COMMON)


--- NEW FILE import.log ---
itext-2_1_3-4_fc10:HEAD:itext-2.1.3-4.fc10.src.rpm:1223918832


Index: itext.spec
===================================================================
RCS file: itext.spec
diff -N itext.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ itext.spec	13 Oct 2008 17:28:24 -0000	1.11
@@ -0,0 +1,210 @@
+%define with_gcj %{!?_without_gcj:1}%{?_without_gcj:0}
+%define alternate_name iText
+
+Summary:        A Free Java-PDF library
+Name:           itext
+Version:        2.1.3
+Release:        4%{?dist}
+License:        (LGPLv2+ or MPLv1.1) and ASL 2.0 and BSD and MIT and LGPLv2+ and CC-BY
+URL:            http://www.lowagie.com/iText/
+Group:          Development/Libraries
+Source0:        http://downloads.sourceforge.net/itext/iText-src-%{version}.tar.gz
+BuildRequires:  ant
+BuildRequires:  bouncycastle-mail
+BuildRequires:  dom4j
+BuildRequires:  pdf-renderer
+BuildRequires:  java-devel >= 1.5
+BuildRequires:  jpackage-utils
+%if %{with_gcj}
+BuildRequires:    java-gcj-compat-devel
+Requires(post):   java-gcj-compat
+Requires(postun): java-gcj-compat
+Requires:         java-1.5.0-gcj
+%else
+BuildArch:      noarch
+%endif
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:       bouncycastle-mail
+Requires:       dom4j
+Requires:       java >= 1.5
+Requires:       jpackage-utils >= 1.5
+Requires:       pdf-renderer
+Provides:       %{alternate_name} == %{version}-%{release}
+
+%description
+iText is a library that allows you to generate 
+PDF files on the fly. The iText classes are very 
+useful for people who need to generate read-only, 
+platform independent documents containing text, 
+lists, tables and images. The library is especially 
+useful in combination with Java(TM) technology-based 
+Servlets: The look and feel of HTML is browser 
+dependent; with iText and PDF you can control 
+exactly how your servlet's output will look.
+
+%package javadoc
+Summary:        Javadoc for %{alternate_name}
+Group:          Documentation
+Requires:       %{name} = %{version}-%{release}
+Requires:       jpackage-utils
+
+%description javadoc
+API documentation for the %{alternate_name} package.
+
+%prep
+%setup -q -c -T -a 0
+
+# Remove preshipped binaries
+find . -name "*.jar" -exec rm {} \;
+
+# Fix encoding issues
+find src/rtf/com/lowagie/text/rtf/parser/destinations/ -name "*.java" -exec native2ascii {} {} \;
+sed -i 's/\r//' src/rups/com/lowagie/rups/view/icons/copyright_notice.txt
+
+mkdir lib
+build-jar-repository -s -p lib bcprov bcmail pdf-renderer dom4j
+
+# Remove jdk & version numbers from classpath entries
+for file in src/ant/{*,.ant*}; do
+ sed -i 's|bcmail-${bc.jdk}-${bc.version}.jar|bcmail.jar|g' $file
+ sed -i 's|bcprov-${bc.jdk}-${bc.version}.jar|bcprov.jar|g' $file
+ sed -i 's|dom4j-1.6.1.jar|dom4j.jar|g' $file
+done
+
+# Remove classpath elements from manifest
+sed -i 's|<attribute name="Class-Path" value="iText-toolbox.jar iText-toolbox-${releasenumber}.jar ${lib.bcmail} ${lib.bcprov}"/>||' src/ant/compile.xml
+sed -i 's|<attribute name="Class-Path" value="iText.jar iText-${releasenumber}.jar ${lib.bcmail} ${lib.bcprov}"/>||' src/ant/compile.xml
+
+%build
+export CLASSPATH=$(build-classpath bcprov bcmail pdf-renderer dom4j)
+pushd src
+ant jar javadoc
+popd
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+# jars
+mkdir -p $RPM_BUILD_ROOT%{_javadir}
+cp -p lib/iText.jar \
+      $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
+(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do \
+      ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
+
+%if %{with_gcj}
+ %{_bindir}/aot-compile-rpm
+%endif
+
+# javadoc
+mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+cp -pr build/docs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+
+%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 build/bin/com/lowagie/text/{apache_license,lgpl,misc_licenses,MPL-1.1}.txt
+%doc src/rups/com/lowagie/rups/view/icons/copyright_notice.txt
+%{_javadir}/*
+%if %{with_gcj}
+%{_libdir}/gcj/%{name}
+%endif
+
+%files javadoc
+%defattr(-,root,root,-)
+%{_javadocdir}/%{name}
+
+# -----------------------------------------------------------------------------
+
+%changelog
+* Sat Oct 11 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT].com> 2.1.3-4
+- Fix more encoding issues.
+
+* Fri Oct 10 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT].com> 2.1.3-3
+- Included the copyright notice (CC-BY) for the icons among the doc files.
+
+* Thu Oct 09 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT].com> 2.1.3-2
+- Enabled compilation of rups library
+- Resorted dependencies (added: pdf-renderer, dom4j; removed bouncycastle)
+- Fixed java dependencies
+- License is (LGPLv2+ or MPLv1.1) and ASL 2.0 and BSD and MIT and LGPLv2+ and CC-BY
+- Minor improvements in the SPEC file
+
+* Thu Oct 02 2008 Orcan Ogetbil <orcanbahri[AT]yahoo[DOT].com> 2.1.3-1
+- Repacked with version 2.1.3
+
+* Thu Oct 05 2006 Christian Iseli <Christian.Iseli at licr.org> 1.3-3
+- rebuilt for unwind info generation, broken in gcc-4.1.1-21
+
+* Tue Sep 19 2006 Anthony Green <green at redhat.com> - 1.3-2
+- Fix release tag.
+
+* Mon Sep 18 2006 Anthony Green <green at redhat.com> - 1.3-1jpp_9.2
+- Rebuild.
+
+* Wed Aug 30 2006 Anthony Green <green at redhat.com> - 1.3-1jpp_9.1
+- Rebuild with aot-compile-rpm.
+
+* Tue Jul 25 2006 Anthony Green <green at redhat.com> - 1.3-1jpp_9
+- Rebuild with new compiler.
+
+* Tue Feb 28 2006 Anthony Green <green at redhat.com> - 1.3-1jpp_8
+- Rebuild with new compiler.
+
+* Mon Jan 17 2006 Anthony Green <green at redhat.com> - 1.3-1jpp_6
+- Remove epoch from changelog versions.
+
+* Mon Jan 16 2006 Anthony Green <green at redhat.com> - 1.3-1jpp_5
+- Remove empty /usr/share/java/itext.
+- Move manual and javadoc packages to Documentation group.
+- Add itext-no-javadoc-web-links.patch.
+
+* Mon Jan 16 2006 Anthony Green <green at redhat.com> - 1.3-1jpp_4
+- Fixed Group.
+- Cleaned up changelog versions.
+- Use dos2unix on doc files.
+- Don't create unversioned javadoc link.
+
+* Thu Jan 13 2006 Anthony Green <green at redhat.com> - 1.3-1jpp_3
+- Remove javadoc %%postun, as that should get handled by the fact
+  that the file is ghosted.
+- Improve javadoc and manual subpackage descriptions.
+
+* Wed Jan  4 2006 Anthony Green <green at redhat.com> - 1.3-1jpp_2
+- Add ant-trax and jaxp_transform_impl dependencies.
+- Set OPT_JAR_LIST.
+
+* Wed Jan  4 2006 Anthony Green <green at redhat.com> - 1.3-1jpp_1
+- Build native code.
+- Add patch to remove proprietary jpeg encoding library usage.
+- Fix BuildRequires.
+- Tweak BuildRoot.
+
+* Thu Aug 26 2005 Ralph Apel <r.apel at r-apel.de> - 1.3-1jpp
+- Upgrade to 1.3
+- Now one jar only
+
+* Wed Aug 25 2004 Ralph Apel <r.apel at r-apel.de> - 1.02b-2jpp
+- Build with ant-1.6.2
+- Relax some versioned dependencies
+
+* Fri Feb 27 2004 Ralph Apel <r.apel at r-apel.de> - 1.02b-1jpp
+- First JPackage release


Index: sources
===================================================================
RCS file: sources
diff -N sources
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sources	13 Oct 2008 17:28:24 -0000	1.4
@@ -0,0 +1 @@
+9754123c30ef2e03c91046d0289aefc9  iText-src-2.1.3.tar.gz


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/itext/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	17 Jan 2006 13:58:54 -0000	1.2
+++ .cvsignore	13 Oct 2008 17:28:24 -0000	1.3
@@ -1,2 +1 @@
-itext-src-1.3.tar.gz
-itext-www-1.3.tar.gz
+iText-src-2.1.3.tar.gz


--- dead.package DELETED ---




More information about the scm-commits mailing list