Initial commit

This commit is contained in:
Michal Srb 2013-01-11 16:24:14 +01:00
parent 145c06bc9b
commit 9086d584b2
3 changed files with 108 additions and 0 deletions

2
.gitignore vendored
View File

@ -0,0 +1,2 @@
/exec-maven-plugin-1.2.1-source-release.zip
/LICENSE-2.0.txt

104
exec-maven-plugin.spec Normal file
View File

@ -0,0 +1,104 @@
Name: exec-maven-plugin
Version: 1.2.1
Release: 7%{?dist}
Summary: Exec Maven Plugin
Group: Development/Libraries
# Most of the files are under ASL 2.0 license, but there are some files
# with no license specified. The project contains MIT license text,
# but there is no file which uses such a license.
License: ASL 2.0 and MIT
URL: http://mojo.codehaus.org/exec-maven-plugin
Source0: http://repo1.maven.org/maven2/org/codehaus/mojo/exec-maven-plugin/1.2.1/exec-maven-plugin-1.2.1-source-release.zip
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildArch: noarch
BuildRequires: xmvn
BuildRequires: plexus-utils
BuildRequires: maven-shared-plugin-testing-harness
BuildRequires: maven-remote-resources-plugin
BuildRequires: maven-plugin-plugin
BuildRequires: maven-resources-plugin
BuildRequires: maven-compiler-plugin
BuildRequires: maven-install-plugin
BuildRequires: maven-jar-plugin
BuildRequires: maven-javadoc-plugin
BuildRequires: maven-enforcer-plugin
BuildRequires: maven-surefire-plugin
BuildRequires: maven-doxia-sitetools
BuildRequires: maven-plugin-cobertura
BuildRequires: mojo-signatures
BuildRequires: maven-invoker-plugin
BuildRequires: apache-commons-exec
BuildRequires: plexus-containers-container-default
Obsoletes: maven-plugin-exec < %{version}-%{release}
Provides: maven-plugin-exec = %{version}-%{release}
%description
A plugin to allow execution of system and Java programs
%package javadoc
Group: Documentation
Summary: Javadoc for %{name}
%description javadoc
API documentation for %{name}.
%prep
%setup -q -n exec-maven-plugin-%{version}
sed -i 's/\r$//' LICENSE.txt
find . -name *.jar -delete
cp -p %{SOURCE1} .
%pom_add_dep org.apache.maven:maven-compat pom.xml
%build
# There are missing dependencies for tests
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%doc LICENSE.txt LICENSE-2.0.txt
%dir %{_javadir}/%{name}
%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt LICENSE-2.0.txt
%changelog
* Fri Jan 11 2013 Michal Srb <msrb@redhat.com> - 1.2.1-7
- Fixed rpmlint warnings
- Remove bundled JAR files before building the package
* Wed Jan 09 2013 Michal Srb <msrb@redhat.com> - 1.2.1-6
- maven-plugin-exec renamed (Resolves: #893451)
- Migrated to xmvn
* Wed Nov 28 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.1-5
- Fix license tag
- Install license files
- Resolves: rhbz#880290
* Wed Nov 28 2012 Tomas Radej <tradej@redhat.com> - 1.2.1-4
- Removed (B)R on plexus-container-default
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Dec 6 2011 Alexander Kurtakov <akurtako@redhat.com> 1.2.1-1
- Update to latest upstream.
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Sep 11 2009 Alexander Kurtakov <akurtako@gmail.com> 1.1-1
- Initial package.

View File

@ -0,0 +1,2 @@
e1cf1ddd8fbc456840269434b69f0bf1 exec-maven-plugin-1.2.1-source-release.zip
3b83ef96387f14655fc854ddc3c6bd57 LICENSE-2.0.txt