Blame SPECS/plexus-cipher.spec

194133
%global pkg_name plexus-cipher
194133
%{?scl:%scl_package %{pkg_name}}
194133
%{?maven_find_provides_and_requires}
194133
194133
Name:           %{?scl_prefix}%{pkg_name}
194133
Version:        1.7
194133
Release:        5.16%{?dist}
194133
Summary:        Plexus Cipher: encryption/decryption Component
194133
194133
License:        ASL 2.0
194133
# project moved to GitHub and it looks like there is no official website anymore
194133
URL:            https://github.com/sonatype/plexus-cipher
194133
# git clone https://github.com/sonatype/plexus-cipher.git
194133
# cd plexus-cipher/
194133
# note this is version 1.7 + our patches which were incorporated by upstream maintainer
194133
# git archive --format tar --prefix=plexus-cipher-1.7/ 0cff29e6b2e | gzip -9 > plexus-cipher-1.7.tar.gz
194133
Source0:        %{pkg_name}-%{version}.tar.gz
194133
194133
BuildArch: noarch
194133
194133
BuildRequires: %{?scl_prefix}maven-local
194133
BuildRequires: %{?scl_prefix}maven-plugin-plugin
194133
BuildRequires: %{?scl_prefix}maven-resources-plugin
194133
BuildRequires: %{?scl_prefix}maven-doxia-sitetools
194133
BuildRequires: %{?scl_prefix}forge-parent
194133
BuildRequires: %{?scl_prefix}spice-parent
194133
BuildRequires: %{?scl_prefix}plexus-containers-component-metadata
194133
BuildRequires: %{?scl_prefix_java_common}junit
194133
BuildRequires: %{?scl_prefix}maven-reporting-impl
194133
BuildRequires: %{?scl_prefix}plexus-digest
194133
BuildRequires: %{?scl_prefix}sisu-mojos
194133
BuildRequires: %{?scl_prefix}cdi-api
194133
194133
%description
194133
Plexus Cipher: encryption/decryption Component
194133
194133
%package javadoc
194133
Summary:        Javadoc for %{pkg_name}
194133
194133
%description javadoc
194133
API documentation for %{pkg_name}.
194133
194133
194133
%prep
194133
%setup -q -n %{pkg_name}-%{version}
194133
%{?scl:scl enable %{scl} - <<"EOF"}
194133
set -e -x
194133
194133
# replace %{version}-SNAPSHOT with %{version}
194133
%pom_xpath_replace pom:project/pom:version "<version>%{version}</version>"
194133
194133
# fedora moved from sonatype sisu to eclipse sisu. sisu-inject-bean artifact
194133
# doesn't exist in eclipse sisu. this artifact contains nothing but
194133
# bundled classes from atinject, cdi-api, aopalliance and maybe others.
194133
%pom_remove_dep org.sonatype.sisu:sisu-inject-bean
194133
%pom_add_dep javax.inject:javax.inject:1:provided
194133
%pom_add_dep javax.enterprise:cdi-api:1.0:provided
194133
194133
%mvn_file : plexus/%{pkg_name}
194133
%{?scl:EOF}
194133
194133
%build
194133
%{?scl:scl enable %{scl} - <<"EOF"}
194133
set -e -x
194133
%mvn_build -f
194133
%{?scl:EOF}
194133
194133
%install
194133
%{?scl:scl enable %{scl} - <<"EOF"}
194133
set -e -x
194133
%mvn_install
194133
%{?scl:EOF}
194133
194133
%files -f .mfiles
194133
%dir %{_mavenpomdir}/plexus
194133
%dir %{_javadir}/plexus
194133
%doc LICENSE.txt NOTICE.txt
194133
194133
%files javadoc -f .mfiles-javadoc
194133
%doc LICENSE.txt NOTICE.txt
194133
194133
%changelog
194133
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 1.7-5.16
194133
- Fix BR on maven-local & co.
194133
194133
* Mon Jan 18 2016 Michal Srb <msrb@redhat.com> - 1.7-5.15
194133
- Remove BR: sisu-inject-bean
194133
194133
* Thu Jan 14 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-5.14
194133
- Build against Eclipse Sisu
194133
194133
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 1.7-5.13
194133
- maven33 rebuild #2
194133
194133
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 1.7-5.12
194133
- maven33 rebuild
194133
194133
* Fri Jan 16 2015 Michal Srb <msrb@redhat.com> - 1.7-5.11
194133
- Fix directory ownership
194133
194133
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 1.7-5.10
194133
- Mass rebuild 2015-01-13
194133
194133
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 1.7-5.9
194133
- Mass rebuild 2015-01-06
194133
194133
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-5.8
194133
- Mass rebuild 2014-05-26
194133
194133
* Fri Mar 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-5.7
194133
- Add dependency on cdi-api
194133
194133
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-5.6
194133
- Mass rebuild 2014-02-19
194133
194133
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-5.5
194133
- Mass rebuild 2014-02-18
194133
194133
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-5.4
194133
- Remove requires on java
194133
194133
* Fri Feb 14 2014 Michael Simacek <msimacek@redhat.com> - 1.7-5.3
194133
- SCL-ize BR
194133
194133
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-5.2
194133
- Rebuild to regenerate auto-requires
194133
194133
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-5.1
194133
- First maven30 software collection build
194133
194133
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.7-5
194133
- Mass rebuild 2013-12-27
194133
194133
* Mon Aug 19 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.7-4
194133
- Migrate away from mvn-rpmbuild (#997451)
194133
194133
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-3
194133
- Rebuild to regenerate API documentation
194133
- Resolves: CVE-2013-1571
194133
194133
* Wed Mar 13 2013 Michal Srb <msrb@redhat.com> - 1.7-1
194133
- Update to upstream version 1.7
194133
194133
* Thu Feb 21 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-15
194133
- Reemove BR: plexus-container-default
194133
194133
* Fri Feb 08 2013 Michal Srb <msrb@redhat.com> - 1.5-14
194133
- Remove unnecessary dependency on plexus-containers (#908586)
194133
194133
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.5-13
194133
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
194133
- Replace maven BuildRequires with maven-local
194133
194133
* Wed Jan 02 2013 Michal Srb <msrb@redhat.com> - 1.5-12
194133
- Fixed URL (Resolves: #880322)
194133
194133
* Tue Nov 27 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-11
194133
- Improve randomness of PBECipher
194133
- Resolves: rhbz#880279
194133
194133
* Mon Nov 26 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-10
194133
- Remove duplicated NOTICE file
194133
194133
* Mon Nov 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.5-9
194133
- Add ASL 2.0 text and install NOTICE file
194133
194133
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-8
194133
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
194133
194133
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-7
194133
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
194133
194133
* Tue Jul 26 2011 Jaromir Capik <jcapik@redhat.com> - 1.5-6
194133
- Migration from plexus-maven-plugin to plexus-containers-component-metadata
194133
- Minor spec file changes according to the latest guidelines
194133
194133
* Fri Jun 3 2011 Alexander Kurtakov <akurtako@redhat.com> 1.5-5
194133
- Do not require maven2.
194133
- Build with maven (v. 3) by default.
194133
- drop obsoleted parts of the spec.
194133
194133
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
194133
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
194133
194133
* Tue Jun 01 2010 Hui Wang <huwang@redhat.com> - 1.5-3
194133
- Add NOTICE.text
194133
- Fix URL
194133
- Fix direction of install pom
194133
194133
* Sun May 23 2010 Hui Wang <huwang@redhat.com> - 1.5-2
194133
- Correct URL
194133
194133
* Tue May 18 2010 Hui Wang <huwang@redhat.com> - 1.5-1
194133
- Initial version of the package