Add ASL 2.0 text and install NOTICE file

This commit is contained in:
Stanislav Ochotnicky 2012-11-26 16:31:29 +01:00
parent 937e9e48a3
commit 13c68518f8

View File

@ -1,6 +1,6 @@
Name: plexus-cipher
Version: 1.5
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Plexus Cipher: encryption/decryption Component
Group: Development/Libraries
@ -9,6 +9,7 @@ URL: http://spice.sonatype.org
#svn export http://svn.sonatype.org/spice/tags/plexus-cipher-1.5
#tar zcf plexus-cipher-1.5.tar.gz plexus-cipher-1.5
Source0: %{name}-%{version}.tar.gz
Source1: http://apache.org/licenses/LICENSE-2.0.txt
Patch0: %{name}-migration-to-component-metadata.patch
@ -55,6 +56,8 @@ API documentation for %{name}.
%patch0 -p1
cp %{SOURCE1} .
%build
mvn-rpmbuild -Dmaven.test.failure.ignore=true \
install javadoc:aggregate
@ -73,15 +76,20 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/plexus/%{name}/
%add_maven_depmap JPP.plexus-%{name}.pom plexus/%{name}.jar
%files
%doc LICENSE-2.0.txt NOTICE.txt
%{_javadir}/plexus/*
%{_mavenpomdir}/*
%{_mavendepmapfragdir}/*
%doc NOTICE.txt
%files javadoc
%doc LICENSE-2.0.txt NOTICE.txt
%{_javadocdir}/plexus/%{name}
%changelog
* Mon Nov 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.5-9
- Add ASL 2.0 text and install NOTICE file
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild