2010-06-04 01:49:39 +00:00
|
|
|
Name: plexus-cipher
|
2013-03-20 08:44:49 +00:00
|
|
|
Version: 1.7
|
2013-08-04 04:30:48 +00:00
|
|
|
Release: 3%{?dist}
|
2010-06-04 01:49:39 +00:00
|
|
|
Summary: Plexus Cipher: encryption/decryption Component
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: ASL 2.0
|
2013-01-02 15:36:59 +00:00
|
|
|
# project moved to GitHub and it looks like there is no official website anymore
|
|
|
|
URL: https://github.com/sonatype/plexus-cipher
|
|
|
|
# git clone https://github.com/sonatype/plexus-cipher.git
|
|
|
|
# cd plexus-cipher/
|
2013-03-20 08:44:49 +00:00
|
|
|
# note this is version 1.7 + our patches which were incorporated by upstream maintainer
|
|
|
|
# git archive --format tar --prefix=plexus-cipher-1.7/ 0cff29e6b2e | gzip -9 > plexus-cipher-1.7.tar.gz
|
2010-06-04 01:49:39 +00:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2011-11-04 16:37:32 +00:00
|
|
|
|
2010-06-04 01:49:39 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: java-devel >= 1:1.6.0
|
2013-02-06 19:35:37 +00:00
|
|
|
BuildRequires: maven-local
|
2010-06-04 01:49:39 +00:00
|
|
|
BuildRequires: maven-plugin-plugin
|
|
|
|
BuildRequires: maven-compiler-plugin
|
|
|
|
BuildRequires: maven-install-plugin
|
|
|
|
BuildRequires: maven-jar-plugin
|
|
|
|
BuildRequires: maven-javadoc-plugin
|
|
|
|
BuildRequires: maven-resources-plugin
|
2011-06-03 12:57:09 +00:00
|
|
|
BuildRequires: maven-surefire-plugin
|
2010-06-04 01:49:39 +00:00
|
|
|
BuildRequires: maven-surefire-provider-junit
|
|
|
|
BuildRequires: maven-doxia-sitetools
|
|
|
|
BuildRequires: forge-parent
|
|
|
|
BuildRequires: spice-parent
|
2011-11-04 16:37:32 +00:00
|
|
|
BuildRequires: plexus-containers-component-metadata
|
2010-06-04 01:49:39 +00:00
|
|
|
BuildRequires: junit
|
|
|
|
BuildRequires: maven-shared-reporting-impl
|
|
|
|
BuildRequires: plexus-digest
|
2013-03-20 08:44:49 +00:00
|
|
|
BuildRequires: sisu-maven-plugin
|
|
|
|
BuildRequires: sisu-inject-bean
|
2010-06-04 01:49:39 +00:00
|
|
|
|
2011-06-03 12:57:09 +00:00
|
|
|
Requires: jpackage-utils
|
|
|
|
Requires: java
|
2010-06-04 01:49:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
Plexus Cipher: encryption/decryption Component
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Group: Documentation
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
Requires: jpackage-utils
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
API documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2011-11-04 16:37:32 +00:00
|
|
|
%setup -q
|
|
|
|
|
2013-03-20 08:44:49 +00:00
|
|
|
# replace %{version}-SNAPSHOT with %{version}
|
|
|
|
%pom_xpath_replace pom:project/pom:version "<version>%{version}</version>"
|
2012-11-26 15:31:29 +00:00
|
|
|
|
2010-06-04 01:49:39 +00:00
|
|
|
%build
|
2011-11-04 16:37:32 +00:00
|
|
|
mvn-rpmbuild -Dmaven.test.failure.ignore=true \
|
|
|
|
install javadoc:aggregate
|
2010-06-04 01:49:39 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
# jars
|
2011-11-04 16:37:32 +00:00
|
|
|
install -Dm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/%{name}.jar
|
2010-06-04 01:49:39 +00:00
|
|
|
|
|
|
|
# poms
|
2011-11-04 16:37:32 +00:00
|
|
|
install -Dpm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.plexus-%{name}.pom
|
2010-06-04 01:49:39 +00:00
|
|
|
|
|
|
|
# javadoc
|
2011-06-03 12:57:09 +00:00
|
|
|
install -d -m 0755 %{buildroot}%{_javadocdir}/plexus/%{name}
|
|
|
|
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/plexus/%{name}/
|
2010-06-04 01:49:39 +00:00
|
|
|
|
2011-11-04 16:37:32 +00:00
|
|
|
%add_maven_depmap JPP.plexus-%{name}.pom plexus/%{name}.jar
|
2010-06-04 01:49:39 +00:00
|
|
|
|
|
|
|
%files
|
2013-03-20 08:44:49 +00:00
|
|
|
%doc LICENSE.txt NOTICE.txt
|
2010-06-04 01:49:39 +00:00
|
|
|
%{_javadir}/plexus/*
|
|
|
|
%{_mavenpomdir}/*
|
|
|
|
%{_mavendepmapfragdir}/*
|
|
|
|
|
|
|
|
%files javadoc
|
2013-03-20 08:44:49 +00:00
|
|
|
%doc LICENSE.txt NOTICE.txt
|
2010-06-04 01:49:39 +00:00
|
|
|
%{_javadocdir}/plexus/%{name}
|
|
|
|
|
|
|
|
%changelog
|
2013-08-04 04:30:48 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-03-20 08:44:49 +00:00
|
|
|
* Wed Mar 13 2013 Michal Srb <msrb@redhat.com> - 1.7-1
|
|
|
|
- Update to upstream version 1.7
|
|
|
|
|
2013-02-21 11:15:18 +00:00
|
|
|
* Thu Feb 21 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-15
|
|
|
|
- Reemove BR: plexus-container-default
|
|
|
|
|
2013-02-08 07:48:42 +00:00
|
|
|
* Fri Feb 08 2013 Michal Srb <msrb@redhat.com> - 1.5-14
|
|
|
|
- Remove unnecessary dependency on plexus-containers (#908586)
|
|
|
|
|
2013-02-06 19:35:37 +00:00
|
|
|
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.5-13
|
|
|
|
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
|
- Replace maven BuildRequires with maven-local
|
|
|
|
|
2013-01-02 15:36:59 +00:00
|
|
|
* Wed Jan 02 2013 Michal Srb <msrb@redhat.com> - 1.5-12
|
|
|
|
- Fixed URL (Resolves: #880322)
|
|
|
|
|
2012-11-27 15:07:12 +00:00
|
|
|
* Tue Nov 27 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-11
|
|
|
|
- Improve randomness of PBECipher
|
|
|
|
- Resolves: rhbz#880279
|
|
|
|
|
2012-11-26 16:01:31 +00:00
|
|
|
* Mon Nov 26 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-10
|
|
|
|
- Remove duplicated NOTICE file
|
|
|
|
|
2012-11-26 15:31:29 +00:00
|
|
|
* Mon Nov 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.5-9
|
|
|
|
- Add ASL 2.0 text and install NOTICE file
|
|
|
|
|
2012-07-21 02:08:04 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-14 01:01:06 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-04 16:37:32 +00:00
|
|
|
* Tue Jul 26 2011 Jaromir Capik <jcapik@redhat.com> - 1.5-6
|
|
|
|
- Migration from plexus-maven-plugin to plexus-containers-component-metadata
|
|
|
|
- Minor spec file changes according to the latest guidelines
|
|
|
|
|
2011-06-03 12:57:09 +00:00
|
|
|
* Fri Jun 3 2011 Alexander Kurtakov <akurtako@redhat.com> 1.5-5
|
|
|
|
- Do not require maven2.
|
|
|
|
- Build with maven (v. 3) by default.
|
|
|
|
- drop obsoleted parts of the spec.
|
|
|
|
|
2011-02-09 15:12:26 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-06-04 01:49:39 +00:00
|
|
|
* Tue Jun 01 2010 Hui Wang <huwang@redhat.com> - 1.5-3
|
|
|
|
- Add NOTICE.text
|
|
|
|
- Fix URL
|
|
|
|
- Fix direction of install pom
|
|
|
|
|
|
|
|
* Sun May 23 2010 Hui Wang <huwang@redhat.com> - 1.5-2
|
|
|
|
- Correct URL
|
|
|
|
|
|
|
|
* Tue May 18 2010 Hui Wang <huwang@redhat.com> - 1.5-1
|
2011-06-03 12:57:09 +00:00
|
|
|
- Initial version of the package
|