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