Cleanup spec file
This commit is contained in:
parent
e258662a30
commit
a1cc01a073
@ -1,59 +1,56 @@
|
||||
Name: maven-source-plugin
|
||||
Version: 2.4
|
||||
Release: 1%{?dist}
|
||||
Summary: Plugin creating source jar
|
||||
|
||||
Group: Development/Libraries
|
||||
Release: 2%{?dist}
|
||||
Summary: Plugin creating source JAR
|
||||
License: ASL 2.0
|
||||
URL: http://maven.apache.org/plugins/maven-source-plugin/
|
||||
BuildArch: noarch
|
||||
|
||||
Source0: http://repo1.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: java-devel >= 1:1.6.0
|
||||
BuildRequires: plexus-utils
|
||||
BuildRequires: ant
|
||||
BuildRequires: maven-compiler-plugin
|
||||
BuildRequires: maven-plugin-plugin
|
||||
BuildRequires: maven-resources-plugin
|
||||
BuildRequires: maven-surefire-plugin
|
||||
BuildRequires: maven-surefire-provider-junit
|
||||
BuildRequires: maven-jar-plugin
|
||||
BuildRequires: maven-javadoc-plugin
|
||||
BuildRequires: mvn(org.apache.maven.surefire:surefire-junit4)
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.maven:maven-archiver)
|
||||
BuildRequires: mvn(org.apache.maven:maven-artifact)
|
||||
BuildRequires: mvn(org.apache.maven:maven-model)
|
||||
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
||||
BuildRequires: mvn(org.apache.maven:maven-project)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:)
|
||||
BuildRequires: mvn(org.apache.maven.plugin-testing:maven-plugin-testing-harness)
|
||||
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-archiver)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
|
||||
%description
|
||||
The Maven 2 Source Plugin creates a JAR archive of the
|
||||
The Maven Source Plugin creates a JAR archive of the
|
||||
source files of the current project.
|
||||
|
||||
%package javadoc
|
||||
Group: Documentation
|
||||
Summary: Javadoc for %{name}
|
||||
|
||||
%description javadoc
|
||||
API documentation for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i -e "s|plexus-container-default|plexus-container|g" pom.xml
|
||||
|
||||
%build
|
||||
%mvn_file : %{name}
|
||||
%mvn_file : %{name}
|
||||
%mvn_build -f
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
|
||||
%files -f .mfiles
|
||||
%doc LICENSE NOTICE
|
||||
%license LICENSE NOTICE
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%doc LICENSE NOTICE
|
||||
%license LICENSE NOTICE
|
||||
|
||||
%changelog
|
||||
* Tue Apr 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4-2
|
||||
- Cleanup spec file
|
||||
|
||||
* Mon Jan 19 2015 Michael Simacek <msimacek@redhat.com> - 2.4-1
|
||||
- Update to upstream version 2.4
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user