Package portals-pom: Specfile
BuildRequires: /proc BuildRequires: jpackage-compat Name: portals-pom Version: 1.3 Release: alt1_3jpp7 Summary: Apache Portals parent pom Group: Development/Java 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: jpackage-utils BuildRequires: maven BuildRequires: maven-install-plugin Requires: jpackage-utils BuildArch: noarch Source44: import.info %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 * Sun Sep 09 2012 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_3jpp7 - new version |