diff --git a/portals-pom-1.3-src-svn.tar.gz b/portals-pom-1.3-src-svn.tar.gz new file mode 100644 index 0000000..eda62e4 Binary files /dev/null and b/portals-pom-1.3-src-svn.tar.gz differ diff --git a/portals-pom.spec b/portals-pom.spec new file mode 100644 index 0000000..1d1f99f --- /dev/null +++ b/portals-pom.spec @@ -0,0 +1,40 @@ +Name: portals-pom +Version: 1.3 +Release: 1 +Summary: Apache Portals parent pom +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: %{name}-%{version}-src-svn.tar.gz +BuildRequires: maven-local maven-install-plugin maven-plugins-pom +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 +%pom_remove_plugin :ianal-maven-plugin +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_build + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE NOTICE + +%changelog +* Tue Jul 28 2020 wangyue - 1.3-1 +- package init diff --git a/portals-pom.yaml b/portals-pom.yaml new file mode 100644 index 0000000..d1d7af3 --- /dev/null +++ b/portals-pom.yaml @@ -0,0 +1,4 @@ +version_control: svn +src_repo: http://svn.apache.org/repos/asf/portals/portals-pom/ +tag_prefix: "^portals-pom-" +seperator: "."