05b61d
Name:           plexus-cipher
05b61d
Version:        1.7
06f30b
Release:        5%{?dist}
05b61d
Summary:        Plexus Cipher: encryption/decryption Component
05b61d
05b61d
License:        ASL 2.0
05b61d
# project moved to GitHub and it looks like there is no official website anymore
05b61d
URL:            https://github.com/sonatype/plexus-cipher
05b61d
# git clone https://github.com/sonatype/plexus-cipher.git
05b61d
# cd plexus-cipher/
05b61d
# note this is version 1.7 + our patches which were incorporated by upstream maintainer
05b61d
# git archive --format tar --prefix=plexus-cipher-1.7/ 0cff29e6b2e | gzip -9 > plexus-cipher-1.7.tar.gz
05b61d
Source0:        %{name}-%{version}.tar.gz
05b61d
05b61d
BuildArch: noarch
05b61d
05b61d
BuildRequires: java-devel >= 1:1.6.0
05b61d
BuildRequires: maven-local
05b61d
BuildRequires: maven-plugin-plugin
05b61d
BuildRequires: maven-resources-plugin
05b61d
BuildRequires: maven-doxia-sitetools
05b61d
BuildRequires: forge-parent
05b61d
BuildRequires: spice-parent
05b61d
BuildRequires: plexus-containers-component-metadata
05b61d
BuildRequires: junit
05b61d
BuildRequires: maven-shared-reporting-impl
05b61d
BuildRequires: plexus-digest
05b61d
BuildRequires: sisu-maven-plugin
05b61d
BuildRequires: sisu-inject-bean
05b61d
05b61d
Requires: jpackage-utils
05b61d
Requires: java
05b61d
05b61d
05b61d
%description
05b61d
Plexus Cipher: encryption/decryption Component
05b61d
05b61d
%package javadoc
05b61d
Summary:        Javadoc for %{name}
05b61d
05b61d
%description javadoc
05b61d
API documentation for %{name}.
05b61d
05b61d
05b61d
%prep
05b61d
%setup -q
05b61d
05b61d
# replace %{version}-SNAPSHOT with %{version}
05b61d
%pom_xpath_replace pom:project/pom:version "<version>%{version}</version>"
05b61d
05b61d
%mvn_file : plexus/%{name}
05b61d
05b61d
%build
05b61d
%mvn_build -f
05b61d
05b61d
%install
05b61d
%mvn_install
05b61d
05b61d
%files -f .mfiles
05b61d
%doc LICENSE.txt NOTICE.txt
05b61d
05b61d
%files javadoc -f .mfiles-javadoc
05b61d
%doc LICENSE.txt NOTICE.txt
05b61d
05b61d
%changelog
06f30b
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.7-5
06f30b
- Mass rebuild 2013-12-27
06f30b
05b61d
* Mon Aug 19 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.7-4
05b61d
- Migrate away from mvn-rpmbuild (#997451)
05b61d
05b61d
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-3
05b61d
- Rebuild to regenerate API documentation
05b61d
- Resolves: CVE-2013-1571
05b61d
05b61d
* Wed Mar 13 2013 Michal Srb <msrb@redhat.com> - 1.7-1
05b61d
- Update to upstream version 1.7
05b61d
05b61d
* Thu Feb 21 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-15
05b61d
- Reemove BR: plexus-container-default
05b61d
05b61d
* Fri Feb 08 2013 Michal Srb <msrb@redhat.com> - 1.5-14
05b61d
- Remove unnecessary dependency on plexus-containers (#908586)
05b61d
05b61d
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.5-13
05b61d
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
05b61d
- Replace maven BuildRequires with maven-local
05b61d
05b61d
* Wed Jan 02 2013 Michal Srb <msrb@redhat.com> - 1.5-12
05b61d
- Fixed URL (Resolves: #880322)
05b61d
05b61d
* Tue Nov 27 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-11
05b61d
- Improve randomness of PBECipher
05b61d
- Resolves: rhbz#880279
05b61d
05b61d
* Mon Nov 26 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-10
05b61d
- Remove duplicated NOTICE file
05b61d
05b61d
* Mon Nov 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.5-9
05b61d
- Add ASL 2.0 text and install NOTICE file
05b61d
05b61d
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-8
05b61d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
05b61d
05b61d
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-7
05b61d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
05b61d
05b61d
* Tue Jul 26 2011 Jaromir Capik <jcapik@redhat.com> - 1.5-6
05b61d
- Migration from plexus-maven-plugin to plexus-containers-component-metadata
05b61d
- Minor spec file changes according to the latest guidelines
05b61d
05b61d
* Fri Jun 3 2011 Alexander Kurtakov <akurtako@redhat.com> 1.5-5
05b61d
- Do not require maven2.
05b61d
- Build with maven (v. 3) by default.
05b61d
- drop obsoleted parts of the spec.
05b61d
05b61d
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
05b61d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
05b61d
05b61d
* Tue Jun 01 2010 Hui Wang <huwang@redhat.com> - 1.5-3
05b61d
- Add NOTICE.text
05b61d
- Fix URL
05b61d
- Fix direction of install pom
05b61d
05b61d
* Sun May 23 2010 Hui Wang <huwang@redhat.com> - 1.5-2
05b61d
- Correct URL
05b61d
05b61d
* Tue May 18 2010 Hui Wang <huwang@redhat.com> - 1.5-1
05b61d
- Initial version of the package