%bcond_with bootstrap
Name: plexus-cipher
Version: 1.8
Release: 3%{?dist}
Summary: Plexus Cipher: encryption/decryption Component
License: ASL 2.0
# project moved to GitHub and it looks like there is no official website anymore
URL: https://github.com/codehaus-plexus/plexus-cipher
BuildArch: noarch
Source0: %{url}/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRequires: maven-local-openjdk8
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: mvn(javax.enterprise:cdi-api)
BuildRequires: mvn(javax.inject:javax.inject)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.sonatype.plugins:sisu-maven-plugin)
%endif
%description
Plexus Cipher: encryption/decryption Component
%{?javadoc_package}
%prep
%setup -q -n %{name}-%{name}-%{version}
%pom_remove_parent .
%pom_xpath_inject 'pom:project' 'org.codehaus.plexus' .
# fedora moved from sonatype sisu to eclipse sisu. sisu-inject-bean artifact
# doesn't exist in eclipse sisu. this artifact contains nothing but
# bundled classes from atinject, cdi-api, aopalliance and maybe others.
%pom_remove_dep org.sonatype.sisu:sisu-inject-bean
%pom_add_dep javax.inject:javax.inject:1:provided
%pom_add_dep javax.enterprise:cdi-api:1.0:provided
%mvn_file : plexus/%{name}
%mvn_alias org.codehaus.plexus: org.sonatype.plexus:
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%license LICENSE.txt NOTICE.txt
%changelog
* Sat Feb 05 2022 Jiri Vanek - 1.8-3
- Rebuilt for java-17-openjdk as system jdk
* Fri Jan 21 2022 Fedora Release Engineering - 1.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Aug 25 2021 Didik Supriadi - 1.8-1
- Update to version 1.8
* Tue Jul 27 2021 Fedora Release Engineering - 1.7-24
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 17 2021 Mikolaj Izdebski - 1.7-23
- Bootstrap build
- Non-bootstrap build
* Wed Jan 27 2021 Fedora Release Engineering - 1.7-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering - 1.7-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat Jul 11 2020 Jiri Vanek - 1.7-20
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Thu Jun 25 2020 Alexander Kurtakov 1.7-19
- Fix compile with Java 11.
* Thu Jan 30 2020 Fedora Release Engineering - 1.7-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jan 25 2020 Mikolaj Izdebski - 1.7-17
- Build with OpenJDK 8
* Tue Nov 05 2019 Mikolaj Izdebski - 1.7-16
- Mass rebuild for javapackages-tools 201902
* Fri Jul 26 2019 Fedora Release Engineering - 1.7-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 24 2019 Mikolaj Izdebski - 1.7-15
- Mass rebuild for javapackages-tools 201901
* Sat Feb 02 2019 Fedora Release Engineering - 1.7-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering - 1.7-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering - 1.7-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering - 1.7-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering - 1.7-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Feb 04 2016 Fedora Release Engineering - 1.7-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering - 1.7-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Apr 14 2015 Mikolaj Izdebski - 1.7-9
- Cleanup package
* Wed Apr 1 2015 Mikolaj Izdebski - 1.7-8
- Update upstream URL
* Sat Jun 07 2014 Fedora Release Engineering - 1.7-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Tue Mar 04 2014 Stanislav Ochotnicky - 1.7-6
- Use Requires: java-headless rebuild (#1067528)
* Thu Nov 14 2013 Mikolaj Izdebski - 1.7-5
- Migrate from sisu-maven-plugin to sisu-mojos
* Mon Aug 05 2013 Michal Srb - 1.7-4
- Fix FTBFS (Resolves: #992802)
- Adapt to current guidelines
* Sun Aug 04 2013 Fedora Release Engineering - 1.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Mar 13 2013 Michal Srb - 1.7-1
- Update to upstream version 1.7
* Thu Feb 21 2013 Mikolaj Izdebski - 1.5-15
- Reemove BR: plexus-container-default
* Fri Feb 08 2013 Michal Srb - 1.5-14
- Remove unnecessary dependency on plexus-containers (#908586)
* Wed Feb 06 2013 Java SIG - 1.5-13
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
- Replace maven BuildRequires with maven-local
* Wed Jan 02 2013 Michal Srb - 1.5-12
- Fixed URL (Resolves: #880322)
* Tue Nov 27 2012 Mikolaj Izdebski - 1.5-11
- Improve randomness of PBECipher
- Resolves: rhbz#880279
* Mon Nov 26 2012 Mikolaj Izdebski - 1.5-10
- Remove duplicated NOTICE file
* Mon Nov 26 2012 Stanislav Ochotnicky - 1.5-9
- Add ASL 2.0 text and install NOTICE file
* Sat Jul 21 2012 Fedora Release Engineering - 1.5-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering - 1.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Jul 26 2011 Jaromir Capik - 1.5-6
- Migration from plexus-maven-plugin to plexus-containers-component-metadata
- Minor spec file changes according to the latest guidelines
* Fri Jun 3 2011 Alexander Kurtakov 1.5-5
- Do not require maven2.
- Build with maven (v. 3) by default.
- drop obsoleted parts of the spec.
* Wed Feb 09 2011 Fedora Release Engineering - 1.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Jun 01 2010 Hui Wang - 1.5-3
- Add NOTICE.text
- Fix URL
- Fix direction of install pom
* Sun May 23 2010 Hui Wang - 1.5-2
- Correct URL
* Tue May 18 2010 Hui Wang - 1.5-1
- Initial version of the package