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