Blame SPECS/plexus-cipher.spec

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