Blame SPECS/maven-source-plugin.spec

d1fd9d
%global pkg_name maven-source-plugin
d1fd9d
%{?scl:%scl_package %{pkg_name}}
d1fd9d
%{?maven_find_provides_and_requires}
d1fd9d
d1fd9d
Name:           %{?scl_prefix}%{pkg_name}
d1fd9d
Version:        2.2.1
d1fd9d
Release:        7.12%{?dist}
d1fd9d
Summary:        Plugin creating source jar
d1fd9d
d1fd9d
License:        ASL 2.0
d1fd9d
URL:            http://maven.apache.org/plugins/maven-source-plugin/
d1fd9d
Source0:        http://repo1.maven.org/maven2/org/apache/maven/plugins/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
d1fd9d
d1fd9d
BuildArch: noarch
d1fd9d
d1fd9d
BuildRequires: %{?scl_prefix}maven-local
d1fd9d
BuildRequires: %{?scl_prefix}plexus-utils
d1fd9d
BuildRequires: %{?scl_prefix_java_common}ant
d1fd9d
BuildRequires: %{?scl_prefix}maven-compiler-plugin
d1fd9d
BuildRequires: %{?scl_prefix}maven-plugin-plugin
d1fd9d
BuildRequires: %{?scl_prefix}maven-resources-plugin
d1fd9d
BuildRequires: %{?scl_prefix}maven-surefire-plugin
d1fd9d
BuildRequires: %{?scl_prefix}maven-surefire-provider-junit
d1fd9d
BuildRequires: %{?scl_prefix}maven-jar-plugin
d1fd9d
BuildRequires: %{?scl_prefix}maven-javadoc-plugin
d1fd9d
BuildRequires: %{?scl_prefix}mvn(org.apache.maven.surefire:surefire-junit4)
d1fd9d
d1fd9d
d1fd9d
%description
d1fd9d
The Maven 2 Source Plugin creates a JAR archive of the 
d1fd9d
source files of the current project.
d1fd9d
d1fd9d
%package javadoc
d1fd9d
Summary:        Javadoc for %{pkg_name}
d1fd9d
d1fd9d
%description javadoc
d1fd9d
API documentation for %{pkg_name}.
d1fd9d
d1fd9d
d1fd9d
%prep
d1fd9d
%setup -q -n %{pkg_name}-%{version}
d1fd9d
%{?scl:scl enable %{scl} - <<"EOF"}
d1fd9d
set -e -x
d1fd9d
sed -i -e "s|plexus-container-default|plexus-container|g" pom.xml
d1fd9d
%{?scl:EOF}
d1fd9d
d1fd9d
%build
d1fd9d
%{?scl:scl enable %{scl} - <<"EOF"}
d1fd9d
set -e -x
d1fd9d
%mvn_file  : %{pkg_name}
d1fd9d
%mvn_build -f
d1fd9d
%{?scl:EOF}
d1fd9d
d1fd9d
%install
d1fd9d
%{?scl:scl enable %{scl} - <<"EOF"}
d1fd9d
set -e -x
d1fd9d
%mvn_install
d1fd9d
%{?scl:EOF}
d1fd9d
d1fd9d
d1fd9d
%files -f .mfiles
d1fd9d
%doc LICENSE NOTICE
d1fd9d
d1fd9d
%files javadoc -f .mfiles-javadoc
d1fd9d
%doc LICENSE NOTICE
d1fd9d
d1fd9d
%changelog
d1fd9d
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 2.2.1-7.12
d1fd9d
- Fix BR on maven-local & co.
d1fd9d
d1fd9d
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 2.2.1-7.11
d1fd9d
- maven33 rebuild #2
d1fd9d
d1fd9d
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 2.2.1-7.10
d1fd9d
- maven33 rebuild
d1fd9d
d1fd9d
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 2.2.1-7.9
d1fd9d
- Mass rebuild 2015-01-13
d1fd9d
d1fd9d
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 2.2.1-7.8
d1fd9d
- Mass rebuild 2015-01-06
d1fd9d
d1fd9d
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.1-7.7
d1fd9d
- Mass rebuild 2014-05-26
d1fd9d
d1fd9d
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.1-7.6
d1fd9d
- Mass rebuild 2014-02-19
d1fd9d
d1fd9d
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.1-7.5
d1fd9d
- Mass rebuild 2014-02-18
d1fd9d
d1fd9d
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.1-7.4
d1fd9d
- Rebuild to fix incorrect auto-requires
d1fd9d
d1fd9d
* Fri Feb 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.1-7.3
d1fd9d
- SCL-ize requires and build-requires
d1fd9d
d1fd9d
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.1-7.2
d1fd9d
- Rebuild to regenerate auto-requires
d1fd9d
d1fd9d
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.1-7.1
d1fd9d
- First maven30 software collection build
d1fd9d
d1fd9d
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.2.1-7
d1fd9d
- Mass rebuild 2013-12-27
d1fd9d
d1fd9d
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.1-6
d1fd9d
- Rebuild to regenerate API documentation
d1fd9d
- Resolves: CVE-2013-1571
d1fd9d
d1fd9d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-5
d1fd9d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d1fd9d
d1fd9d
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.2.1-4
d1fd9d
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
d1fd9d
- Replace maven BuildRequires with maven-local
d1fd9d
d1fd9d
* Wed Jan 16 2013 Michal Srb <msrb@redhat.com> - 2.2.1-3
d1fd9d
- Build with xmvn
d1fd9d
d1fd9d
* Fri Nov 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.1-2
d1fd9d
- Install license files
d1fd9d
- Resolves: rhbz#876837
d1fd9d
d1fd9d
* Tue Oct 23 2012 Alexander Kurtakov <akurtako@redhat.com> 2.2.1-1
d1fd9d
- Update to latest upstream release.
d1fd9d
d1fd9d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-8
d1fd9d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d1fd9d
d1fd9d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-7
d1fd9d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d1fd9d
d1fd9d
* Wed Jun 8 2011 Alexander Kurtakov <akurtako@redhat.com> 2.1.2-6
d1fd9d
- Use upstream source.
d1fd9d
- Build with maven 3.x.
d1fd9d
- Guidelines fixes.
d1fd9d
d1fd9d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-5
d1fd9d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d1fd9d
d1fd9d
* Thu Sep 9 2010 Alexander Kurtakov <akurtako@redhat.com> 2.1.2-4
d1fd9d
- Do not exclude plexus-container-default from dependencies.
d1fd9d
d1fd9d
* Fri May 28 2010 Alexander Kurtakov <akurtako@redhat.com> 2.1.2-3
d1fd9d
- Add provides/obsoletes.
d1fd9d
d1fd9d
* Thu May 27 2010 Alexander Kurtakov <akurtako@redhat.com> 2.1.2-2
d1fd9d
- Fix Url.
d1fd9d
- More descriptive summary.
d1fd9d
- Add missing BR.
d1fd9d
d1fd9d
* Thu May 27 2010 Alexander Kurtakov <akurtako@redhat.com> 2.1.2-1
d1fd9d
- Initial package.