2010-06-08 07:58:04 +00:00
|
|
|
Name: plexus-sec-dispatcher
|
|
|
|
Version: 1.4
|
2013-04-10 11:23:03 +00:00
|
|
|
Release: 10%{?dist}
|
2010-06-08 07:58:04 +00:00
|
|
|
Summary: Plexus Security Dispatcher Component
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
2011-06-23 09:45:13 +00:00
|
|
|
License: ASL 2.0
|
2010-06-08 07:58:04 +00:00
|
|
|
URL: http://spice.sonatype.org
|
|
|
|
#svn export http://svn.sonatype.org/spice/tags/plexus-sec-dispatcher-1.4/
|
|
|
|
#tar jcf plexus-sec-dispatcher-1.4.tar.bz2 plexus-sec-dispatcher-1.4/
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
#Removed maven-compiler-plugin configuration version in the pom as annotations isn't available in version 1.4.
|
|
|
|
Patch0: %{name}-pom.patch
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: java-devel >= 1:1.6.0
|
2013-02-06 19:38:44 +00:00
|
|
|
BuildRequires: maven-local
|
2010-06-08 07:58:04 +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
|
|
|
|
BuildRequires: maven-surefire-maven-plugin
|
|
|
|
BuildRequires: plexus-utils
|
|
|
|
BuildRequires: plexus-cipher
|
2012-05-22 08:28:07 +00:00
|
|
|
BuildRequires: plexus-containers-component-metadata
|
2010-06-08 07:58:04 +00:00
|
|
|
BuildRequires: junit
|
|
|
|
BuildRequires: forge-parent
|
|
|
|
BuildRequires: spice-parent
|
|
|
|
BuildRequires: maven-surefire-provider-junit
|
|
|
|
|
|
|
|
Requires: jpackage-utils
|
|
|
|
Requires: java
|
|
|
|
|
|
|
|
%description
|
|
|
|
Plexus Security Dispatcher Component
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Group: Documentation
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
Requires: jpackage-utils
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
API documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2011-06-23 09:45:13 +00:00
|
|
|
%setup -q
|
2012-05-22 08:28:07 +00:00
|
|
|
%patch0 -p1
|
2010-06-08 07:58:04 +00:00
|
|
|
|
|
|
|
%build
|
2011-06-23 09:45:13 +00:00
|
|
|
mvn-rpmbuild install javadoc:javadoc
|
2010-06-08 07:58:04 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
# jars
|
2011-06-23 09:45:13 +00:00
|
|
|
install -Dpm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/%{name}.jar
|
2010-06-08 07:58:04 +00:00
|
|
|
|
|
|
|
# poms
|
|
|
|
install -Dpm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.plexus-%{name}.pom
|
|
|
|
|
2011-06-23 09:45:13 +00:00
|
|
|
%add_maven_depmap JPP.plexus-%{name}.pom plexus/%{name}.jar
|
|
|
|
|
2010-06-08 07:58:04 +00:00
|
|
|
# javadoc
|
2011-06-23 09:45:13 +00:00
|
|
|
install -d -m 0755 %{buildroot}%{_javadocdir}/plexus/%{name}
|
|
|
|
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/plexus/%{name}
|
|
|
|
|
2010-06-08 07:58:04 +00:00
|
|
|
%files
|
|
|
|
%{_javadir}/plexus/*
|
2012-05-22 08:28:07 +00:00
|
|
|
%{_mavenpomdir}/JPP.plexus-%{name}.pom
|
|
|
|
%{_mavendepmapfragdir}/%{name}
|
2010-06-08 07:58:04 +00:00
|
|
|
|
|
|
|
%files javadoc
|
|
|
|
%{_javadocdir}/plexus/%{name}
|
|
|
|
|
|
|
|
%changelog
|
2013-04-10 11:23:03 +00:00
|
|
|
* Wed Apr 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-10
|
|
|
|
- Remove unneeded BR: plexus-container-default
|
|
|
|
|
2013-02-07 05:16:18 +00:00
|
|
|
* Thu Feb 7 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-9
|
|
|
|
- Remove unneeded R: spice-parent, resolves: rhbz#908584
|
|
|
|
- Remove RPM bug workaround
|
|
|
|
|
2013-02-06 19:38:44 +00:00
|
|
|
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4-8
|
|
|
|
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
|
- Replace maven BuildRequires with maven-local
|
|
|
|
|
2012-07-21 02:14:34 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-05-22 08:28:07 +00:00
|
|
|
* Tue May 22 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-6
|
|
|
|
- Replace plexus-maven-plugin with plexus-component-metadata
|
|
|
|
|
2012-01-14 01:02:49 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-23 09:45:13 +00:00
|
|
|
* Thu Jun 23 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-4
|
|
|
|
- Fixes according to new guidelines
|
|
|
|
- Add spice-parent to Requires
|
|
|
|
- Versionless jars & javadocs
|
|
|
|
- Use maven3 to build
|
|
|
|
|
2011-02-09 15:21:36 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-06-08 07:58:04 +00:00
|
|
|
* Fri Jun 04 2010 Hui Wang <huwang@redhat.com> - 1.4-2
|
|
|
|
- Fixed url
|
|
|
|
|
|
|
|
* Fri May 21 2010 Hui Wang <huwang@redhat.com> - 1.4-1
|
2011-06-23 09:45:13 +00:00
|
|
|
- Initial version of the package
|