portals-pom/portals-pom.spec
2020-08-21 10:43:30 +08:00

41 lines
1.3 KiB
RPMSpec

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 <wangyue92@huawei.com> - 1.3-1
- package init