%global pkg_name plexus-sec-dispatcher %{?scl:%scl_package %{pkg_name}} %{?maven_find_provides_and_requires} Name: %{?scl_prefix}%{pkg_name} Version: 1.4 Release: 13.12%{?dist} Summary: Plexus Security Dispatcher Component License: ASL 2.0 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: %{pkg_name}-%{version}.tar.bz2 BuildArch: noarch BuildRequires: %{?scl_prefix}maven-local BuildRequires: %{?scl_prefix}maven-plugin-plugin BuildRequires: %{?scl_prefix}maven-resources-plugin BuildRequires: %{?scl_prefix}plexus-utils BuildRequires: %{?scl_prefix}plexus-cipher BuildRequires: %{?scl_prefix}plexus-containers-component-metadata BuildRequires: %{?scl_prefix_java_common}junit BuildRequires: %{?scl_prefix}forge-parent BuildRequires: %{?scl_prefix}spice-parent BuildRequires: %{?scl_prefix}maven-surefire-provider-junit %description Plexus Security Dispatcher Component %package javadoc Summary: Javadoc for %{pkg_name} %description javadoc API documentation for %{pkg_name}. %prep %setup -q -n %{pkg_name}-%{version} %{?scl:scl enable %{scl} - <<"EOF"} set -e -x # annotations are not available for Java 1.4, remove definition # pom_remove_plugin doesn't handle newline in artifactId gracefully # https://bugzilla.redhat.com/show_bug.cgi?id=998463 sed -i '/maven-compiler-plugin/ { N; # Add next line to buffer s:maven-compiler-plugin\n *:maven-compiler-plugin: }' pom.xml %pom_remove_plugin :maven-compiler-plugin # use plexus-component-metadata instead of old plugin %pom_remove_plugin :plexus-maven-plugin %pom_add_plugin org.codehaus.plexus:plexus-component-metadata pom.xml " generate-metadata " %mvn_file : plexus/%{pkg_name} %{?scl:EOF} %build %{?scl:scl enable %{scl} - <<"EOF"} set -e -x %mvn_build %{?scl:EOF} %install %{?scl:scl enable %{scl} - <<"EOF"} set -e -x %mvn_install %{?scl:EOF} %files -f .mfiles %dir %{_mavenpomdir}/plexus %dir %{_javadir}/plexus %files javadoc -f .mfiles-javadoc %changelog * Mon Feb 08 2016 Michal Srb - 1.4-13.12 - Fix BR on maven-local & co. * Mon Jan 11 2016 Michal Srb - 1.4-13.11 - maven33 rebuild #2 * Sat Jan 09 2016 Michal Srb - 1.4-13.10 - maven33 rebuild * Fri Jan 16 2015 Michal Srb - 1.4-13.9 - Fix directory ownership * Tue Jan 13 2015 Michael Simacek - 1.4-13.8 - Mass rebuild 2015-01-13 * Tue Jan 06 2015 Michael Simacek - 1.4-13.7 - Mass rebuild 2015-01-06 * Mon May 26 2014 Mikolaj Izdebski - 1.4-13.6 - Mass rebuild 2014-05-26 * Wed Feb 19 2014 Mikolaj Izdebski - 1.4-13.5 - Mass rebuild 2014-02-19 * Tue Feb 18 2014 Mikolaj Izdebski - 1.4-13.4 - Mass rebuild 2014-02-18 * Fri Feb 14 2014 Mikolaj Izdebski - 1.4-13.3 - SCL-ize build-requires * Thu Feb 13 2014 Mikolaj Izdebski - 1.4-13.2 - Rebuild to regenerate auto-requires * Tue Feb 11 2014 Mikolaj Izdebski - 1.4-13.1 - First maven30 software collection build * Fri Dec 27 2013 Daniel Mach - 1.4-13 - Mass rebuild 2013-12-27 * Mon Aug 19 2013 Stanislav Ochotnicky - 1.4-12 - Migrate away from mvn-rpmbuild (#997450) * Fri Jun 28 2013 Mikolaj Izdebski - 1.4-11 - Rebuild to regenerate API documentation - Resolves: CVE-2013-1571 * Wed Apr 10 2013 Mikolaj Izdebski - 1.4-10 - Remove unneeded BR: plexus-container-default * Thu Feb 7 2013 Mikolaj Izdebski - 1.4-9 - Remove unneeded R: spice-parent, resolves: rhbz#908584 - Remove RPM bug workaround * Wed Feb 06 2013 Java SIG - 1.4-8 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Sat Jul 21 2012 Fedora Release Engineering - 1.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue May 22 2012 Stanislav Ochotnicky - 1.4-6 - Replace plexus-maven-plugin with plexus-component-metadata * Sat Jan 14 2012 Fedora Release Engineering - 1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Jun 23 2011 Stanislav Ochotnicky - 1.4-4 - Fixes according to new guidelines - Add spice-parent to Requires - Versionless jars & javadocs - Use maven3 to build * Wed Feb 09 2011 Fedora Release Engineering - 1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jun 04 2010 Hui Wang - 1.4-2 - Fixed url * Fri May 21 2010 Hui Wang - 1.4-1 - Initial version of the package