Build with xmvn
This commit is contained in:
parent
37b111b141
commit
61da59ef4c
@ -1,6 +1,6 @@
|
|||||||
Name: plexus-interpolation
|
Name: plexus-interpolation
|
||||||
Version: 1.15
|
Version: 1.15
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Plexus Interpolation API
|
Summary: Plexus Interpolation API
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -12,7 +12,7 @@ BuildArch: noarch
|
|||||||
|
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
BuildRequires: junit
|
BuildRequires: junit
|
||||||
BuildRequires: maven
|
BuildRequires: xmvn
|
||||||
BuildRequires: maven-resources-plugin
|
BuildRequires: maven-resources-plugin
|
||||||
BuildRequires: maven-compiler-plugin
|
BuildRequires: maven-compiler-plugin
|
||||||
BuildRequires: maven-jar-plugin
|
BuildRequires: maven-jar-plugin
|
||||||
@ -32,7 +32,6 @@ related projects.
|
|||||||
%package javadoc
|
%package javadoc
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
Summary: Javadoc for %{name}
|
Summary: Javadoc for %{name}
|
||||||
Requires: jpackage-utils
|
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
API documentation for %{name}.
|
API documentation for %{name}.
|
||||||
@ -41,34 +40,20 @@ API documentation for %{name}.
|
|||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mvn-rpmbuild install javadoc:javadoc
|
%mvn_file : plexus/interpolation
|
||||||
|
%mvn_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# jars
|
%mvn_install
|
||||||
install -d -m 0755 %{buildroot}%{_javadir}/plexus
|
|
||||||
install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/interpolation.jar
|
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
|
||||||
# poms
|
%files javadoc -f .mfiles-javadoc
|
||||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|
||||||
install -pm 644 pom.xml \
|
|
||||||
%{buildroot}%{_mavenpomdir}/JPP.%{name}.pom
|
|
||||||
|
|
||||||
%add_maven_depmap JPP.%{name}.pom plexus/interpolation.jar
|
|
||||||
|
|
||||||
# javadoc
|
|
||||||
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
|
||||||
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
|
|
||||||
|
|
||||||
%files
|
|
||||||
%{_javadir}/plexus/interpolation.jar
|
|
||||||
%{_mavenpomdir}/JPP.%{name}.pom
|
|
||||||
%{_mavendepmapfragdir}/%{name}
|
|
||||||
|
|
||||||
%files javadoc
|
|
||||||
%{_javadocdir}/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 17 2013 Michal Srb <msrb@redhat.com> - 1.15-4
|
||||||
|
- Build with xmvn
|
||||||
|
|
||||||
* Mon Nov 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.15-3
|
* Mon Nov 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.15-3
|
||||||
- Fix source URL to be stable
|
- Fix source URL to be stable
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user