79603b
Name:           plexus-cipher
79603b
Version:        1.7
79603b
Release:        14%{?dist}
79603b
Summary:        Plexus Cipher: encryption/decryption Component
79603b
License:        ASL 2.0
79603b
# project moved to GitHub and it looks like there is no official website anymore
79603b
URL:            https://github.com/codehaus-plexus/plexus-cipher
79603b
BuildArch:      noarch
79603b
79603b
# git clone https://github.com/sonatype/plexus-cipher.git
79603b
# cd plexus-cipher/
79603b
# note this is version 1.7 + our patches which were incorporated by upstream maintainer
79603b
# git archive --format tar --prefix=plexus-cipher-1.7/ 0cff29e6b2e | gzip -9 > plexus-cipher-1.7.tar.gz
79603b
Source0:        %{name}-%{version}.tar.gz
79603b
79603b
BuildRequires:  maven-local
79603b
BuildRequires:  mvn(javax.enterprise:cdi-api)
79603b
BuildRequires:  mvn(javax.inject:javax.inject)
79603b
BuildRequires:  mvn(junit:junit)
79603b
BuildRequires:  mvn(org.sonatype.plugins:sisu-maven-plugin)
79603b
BuildRequires:  mvn(org.sonatype.spice:spice-parent:pom:)
79603b
79603b
%description
79603b
Plexus Cipher: encryption/decryption Component
79603b
79603b
%package javadoc
79603b
Summary:        Javadoc for %{name}
79603b
79603b
%description javadoc
79603b
API documentation for %{name}.
79603b
79603b
%prep
79603b
%setup -q
79603b
79603b
# replace %{version}-SNAPSHOT with %{version}
79603b
%pom_xpath_replace pom:project/pom:version "<version>%{version}</version>"
79603b
79603b
# fedora moved from sonatype sisu to eclipse sisu. sisu-inject-bean artifact
79603b
# doesn't exist in eclipse sisu. this artifact contains nothing but
79603b
# bundled classes from atinject, cdi-api, aopalliance and maybe others.
79603b
%pom_remove_dep org.sonatype.sisu:sisu-inject-bean
79603b
%pom_add_dep javax.inject:javax.inject:1:provided
79603b
%pom_add_dep javax.enterprise:cdi-api:1.0:provided
79603b
79603b
%mvn_file : plexus/%{name}
79603b
79603b
%build
79603b
%mvn_build -f
79603b
79603b
%install
79603b
%mvn_install
79603b
79603b
%files -f .mfiles
79603b
%doc LICENSE.txt NOTICE.txt
79603b
79603b
%files javadoc -f .mfiles-javadoc
79603b
%doc LICENSE.txt NOTICE.txt
79603b
79603b
%changelog
79603b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-14
79603b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
79603b
79603b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-13
79603b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
79603b
79603b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-12
79603b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
79603b
79603b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-11
79603b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
79603b
79603b
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-10
79603b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
79603b
79603b
* Tue Apr 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-9
79603b
- Cleanup package
79603b
79603b
* Wed Apr  1 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-8
79603b
- Update upstream URL
79603b
79603b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-7
79603b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
79603b
79603b
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.7-6
79603b
- Use Requires: java-headless rebuild (#1067528)
79603b
79603b
* Thu Nov 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-5
79603b
- Migrate from sisu-maven-plugin to sisu-mojos
79603b
79603b
* Mon Aug 05 2013 Michal Srb <msrb@redhat.com> - 1.7-4
79603b
- Fix FTBFS (Resolves: #992802)
79603b
- Adapt to current guidelines
79603b
79603b
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-3
79603b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
79603b
79603b
* Wed Mar 13 2013 Michal Srb <msrb@redhat.com> - 1.7-1
79603b
- Update to upstream version 1.7
79603b
79603b
* Thu Feb 21 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-15
79603b
- Reemove BR: plexus-container-default
79603b
79603b
* Fri Feb 08 2013 Michal Srb <msrb@redhat.com> - 1.5-14
79603b
- Remove unnecessary dependency on plexus-containers (#908586)
79603b
79603b
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.5-13
79603b
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
79603b
- Replace maven BuildRequires with maven-local
79603b
79603b
* Wed Jan 02 2013 Michal Srb <msrb@redhat.com> - 1.5-12
79603b
- Fixed URL (Resolves: #880322)
79603b
79603b
* Tue Nov 27 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-11
79603b
- Improve randomness of PBECipher
79603b
- Resolves: rhbz#880279
79603b
79603b
* Mon Nov 26 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-10
79603b
- Remove duplicated NOTICE file
79603b
79603b
* Mon Nov 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.5-9
79603b
- Add ASL 2.0 text and install NOTICE file
79603b
79603b
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-8
79603b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
79603b
79603b
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-7
79603b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
79603b
79603b
* Tue Jul 26 2011 Jaromir Capik <jcapik@redhat.com> - 1.5-6
79603b
- Migration from plexus-maven-plugin to plexus-containers-component-metadata
79603b
- Minor spec file changes according to the latest guidelines
79603b
79603b
* Fri Jun 3 2011 Alexander Kurtakov <akurtako@redhat.com> 1.5-5
79603b
- Do not require maven2.
79603b
- Build with maven (v. 3) by default.
79603b
- drop obsoleted parts of the spec.
79603b
79603b
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
79603b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
79603b
79603b
* Tue Jun 01 2010 Hui Wang <huwang@redhat.com> - 1.5-3
79603b
- Add NOTICE.text
79603b
- Fix URL
79603b
- Fix direction of install pom
79603b
79603b
* Sun May 23 2010 Hui Wang <huwang@redhat.com> - 1.5-2
79603b
- Correct URL
79603b
79603b
* Tue May 18 2010 Hui Wang <huwang@redhat.com> - 1.5-1
79603b
- Initial version of the package