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