rpms/itext/devel itext-2.1.7.pom,NONE,1.1 itext.spec,1.21,1.22
Andrew Overholt
overholt at fedoraproject.org
Thu Aug 27 15:46:26 UTC 2009
Author: overholt
Update of /cvs/pkgs/rpms/itext/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20618
Modified Files:
itext.spec
Added Files:
itext-2.1.7.pom
Log Message:
* Thu Aug 27 2009 Andrew Overholt <overholt at redhat.com> 2.1.7-3
- Add maven POM file for use by other maven packages
--- NEW FILE itext-2.1.7.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.lowagie</groupId>
<artifactId>itext</artifactId>
<packaging>jar</packaging>
<name>iText, a Free Java-PDF library</name>
<version>2.1.7</version>
<description>iText, a free Java-PDF library</description>
<url>http://www.lowagie.com/iText/</url>
<mailingLists>
<mailingList>
<name>iText Questions</name>
<subscribe>
http://lists.sourceforge.net/lists/listinfo/itext-questions
</subscribe>
<post>itext-questions at lists.sourceforge.net</post>
<archive>
http://news.gmane.org/gmane.comp.java.lib.itext.general
</archive>
<otherArchives>
<otherArchive>http://www.nabble.com/iText---General-f2701.html</otherArchive>
<otherArchive>http://www.junlu.com/2.html</otherArchive>
<otherArchive>http://sourceforge.net/mailarchive/forum.php?forum_id=3273</otherArchive>
<otherArchive>http://www.mail-archive.com/itext-questions%40lists.sourceforge.net/</otherArchive>
</otherArchives>
</mailingList>
</mailingLists>
<developers>
<developer>
<id>blowagie</id>
<name>Bruno Lowagie</name>
<email>bruno at lowagie.com</email>
<url>http://www.lowagie.com</url>
</developer>
<developer>
<id>psoares33</id>
<name>Paulo Soares</name>
<email>psoares33 at users.sourceforge.net</email>
</developer>
<developer>
<id>hallm</id>
<name>Mark Hall</name>
<email>hallm at users.sourceforge.net</email>
</developer>
<developer>
<id>xlv</id>
<name>Xavier Le Vourch</name>
<email>xlv at users.sourceforge.net</email>
</developer>
</developers>
<licenses>
<license>
<name>Mozilla Public License</name>
<url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
<comments>
iText was originally published under the LGPLicense.
LGPL can be used as an alternative license for the MPL.
</comments>
</license>
</licenses>
<scm>
<connection>scm:svn:http://itext.svn.sourceforge.net/svnroot/itext</connection>
<url>http://itext.svn.sourceforge.net/viewvc/itext</url>
</scm>
<dependencies>
<dependency>
<groupId>bouncycastle</groupId>
<artifactId>bcmail-jdk14</artifactId>
<version>138</version>
</dependency>
<dependency>
<groupId>bouncycastle</groupId>
<artifactId>bcprov-jdk14</artifactId>
<version>138</version>
</dependency>
<dependency>
<groupId>bouncycastle</groupId>
<artifactId>bctsp-jdk14</artifactId>
<version>138</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>
com.lowagie.tools.ToolboxAvailable
</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>
Index: itext.spec
===================================================================
RCS file: /cvs/pkgs/rpms/itext/devel/itext.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -p -r1.21 -r1.22
--- itext.spec 25 Jul 2009 03:41:30 -0000 1.21
+++ itext.spec 27 Aug 2009 15:46:26 -0000 1.22
@@ -1,36 +1,39 @@
%global with_gcj %{!?_without_gcj:1}%{?_without_gcj:0}
%global alternate_name iText
-Summary: A Free Java-PDF library
-Name: itext
-Version: 2.1.7
-Release: 2%{?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
-Patch1: itext-2.1.5-pdftk.patch
-BuildRequires: ant
-BuildRequires: bouncycastle-tsp
-BuildRequires: dom4j
-BuildRequires: pdf-renderer
-BuildRequires: java-devel >= 1.5
-BuildRequires: jpackage-utils
+Summary: A Free Java-PDF library
+Name: itext
+Version: 2.1.7
+Release: 3%{?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
+Source2: http://repo2.maven.org/maven2/com/lowagie/itext/%{version}/itext-%{version}.pom
+Patch1: itext-2.1.5-pdftk.patch
+BuildRequires: ant
+BuildRequires: bouncycastle-tsp
+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
+BuildArch: noarch
%endif
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: bouncycastle-tsp
-Requires: dom4j
-Requires: java >= 1.5
-Requires: jpackage-utils >= 1.5
-Requires: pdf-renderer
-Provides: %{alternate_name} == %{version}-%{release}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: bouncycastle-tsp
+Requires: dom4j
+Requires: java >= 1.5
+Requires: jpackage-utils >= 1.5
+Requires(post): jpackage-utils >= 1.7
+Requires(postun): jpackage-utils >= 1.7
+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
@@ -102,10 +105,17 @@ cp -p lib/iText.jar \
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
cp -pr build/docs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+# Install the pom
+install -dm 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
+cp -pr %{SOURCE2} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-itext.pom
+%add_to_maven_depmap itext itext %{version} JPP itext
+%add_to_maven_depmap com.lowagie itext %{version} JPP itext
+
%clean
rm -rf $RPM_BUILD_ROOT
%post
+%update_maven_depmap
%if %{with_gcj}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
@@ -114,6 +124,7 @@ if [ -x %{_bindir}/rebuild-gcj-db ]
%endif
%postun
+%update_maven_depmap
%if %{with_gcj}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
@@ -127,6 +138,8 @@ if [ -x %{_bindir}/rebuild-gcj-db ]
%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}/*
+%{_mavenpomdir}/JPP-itext.pom
+%{_mavendepmapfragdir}/%{name}
%if %{with_gcj}
%{_libdir}/gcj/%{name}
%endif
@@ -138,6 +151,9 @@ if [ -x %{_bindir}/rebuild-gcj-db ]
# -----------------------------------------------------------------------------
%changelog
+* Thu Aug 27 2009 Andrew Overholt <overholt at redhat.com> 2.1.7-3
+- Add maven POM file for use by other maven packages
+
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the fedora-extras-commits
mailing list