[portals-pom] Initial import (#824536).
gil
gil at fedoraproject.org
Thu May 31 13:36:55 UTC 2012
commit 257ddefc2e2c280049ec45e6e591382b65e8ddf6
Author: gil <puntogil at libero.it>
Date: Thu May 31 13:39:05 2012 +0200
Initial import (#824536).
.gitignore | 1 +
portals-pom-1.3-pom.patch | 41 +++++++++++++++++++++++++++++
portals-pom.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 106 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..df2a7bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/portals-pom-1.3-src-svn.tar.gz
diff --git a/portals-pom-1.3-pom.patch b/portals-pom-1.3-pom.patch
new file mode 100644
index 0000000..fd029e5
--- /dev/null
+++ b/portals-pom-1.3-pom.patch
@@ -0,0 +1,41 @@
+--- pom.xml 2010-04-01 22:31:11.000000000 +0200
++++ pom.xml-gil 2011-09-11 16:53:05.242176071 +0200
+@@ -54,11 +54,11 @@
+ <build>
+ <pluginManagement>
+ <plugins>
+- <plugin>
++ <!--plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>ianal-maven-plugin</artifactId>
+ <version>1.0-alpha-1</version>
+- </plugin>
++ </plugin-->
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+@@ -81,7 +81,7 @@
+ </plugin>
+ </plugins>
+ </pluginManagement>
+- <plugins>
++ <!--plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>ianal-maven-plugin</artifactId>
+@@ -91,13 +91,13 @@
+ <goal>verify-legal-files</goal>
+ </goals>
+ <configuration>
+- <!-- Fail the build if any artifacts are missing legal files -->
++ Fail the build if any artifacts are missing legal files
+ <strict>true</strict>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+- </plugins>
++ </plugins-->
+ </build>
+
+ <profiles>
diff --git a/portals-pom.spec b/portals-pom.spec
new file mode 100644
index 0000000..6326aa9
--- /dev/null
+++ b/portals-pom.spec
@@ -0,0 +1,63 @@
+
+Name: portals-pom
+Version: 1.3
+Release: 2%{?dist}
+Summary: Apache Portals parent pom
+Group: Development/Libraries
+License: ASL 2.0
+Url: http://portals.apache.org/
+# svn export http://svn.apache.org/repos/asf/portals/portals-pom/tags/portals-pom-1.3
+# tar czf portals-pom-1.3-src-svn.tar.gz portals-pom-1.3
+Source0: portals-pom-1.3-src-svn.tar.gz
+# remove org.codehaus.mojo ianal-maven-plugin
+Patch0: portals-pom-1.3-pom.patch
+BuildRequires: java-devel
+BuildRequires: jpackage-utils
+
+BuildRequires: maven
+BuildRequires: maven-install-plugin
+
+Requires: java
+Requires: jpackage-utils
+BuildArch: noarch
+
+%description
+Apache Portals is a collaborative software development project
+dedicated to providing robust, full-featured, commercial-quality,
+and freely available Portal related software on a wide variety of
+platforms and programming languages. This project is managed in
+cooperation with various individuals worldwide (both independent and
+company-affiliated experts), who use the Internet to communicate, plan,
+and develop Portal software and related documentation.
+
+%prep
+%setup -q -n portals-pom-%{version}
+%patch0 -p0
+
+for d in LICENSE NOTICE ; do
+ iconv -f iso8859-1 -t utf-8 $d > $d.conv && mv -f $d.conv $d
+ sed -i 's/\r//' $d
+done
+
+%build
+
+mvn-rpmbuild install
+
+%install
+
+mkdir -p %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap JPP-%{name}.pom
+
+%files
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+%doc LICENSE NOTICE
+
+%changelog
+* Thu May 31 2012 gil cattaneo <puntogil at libero.it> 1.3-2
+- Remove empty javadoc package
+
+* Sat May 19 2012 gil cattaneo <puntogil at libero.it> 1.3-1
+- initial rpm
+
diff --git a/sources b/sources
index e69de29..d3a7b7f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2613aa11813c04f145e74fbe8b76991a portals-pom-1.3-src-svn.tar.gz
More information about the scm-commits
mailing list