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