Install with XMvn
This commit is contained in:
parent
3f630ab736
commit
f9b054d772
@ -1,6 +1,6 @@
|
|||||||
Name: xmlgraphics-commons
|
Name: xmlgraphics-commons
|
||||||
Version: 2.0.1
|
Version: 2.0.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: XML Graphics Commons
|
Summary: XML Graphics Commons
|
||||||
|
|
||||||
@ -16,9 +16,7 @@ BuildRequires: ant-junit >= 0:1.6
|
|||||||
BuildRequires: junit
|
BuildRequires: junit
|
||||||
BuildRequires: apache-commons-io >= 1.3.1
|
BuildRequires: apache-commons-io >= 1.3.1
|
||||||
BuildRequires: apache-commons-logging >= 1.0.4
|
BuildRequires: apache-commons-logging >= 1.0.4
|
||||||
Requires: java
|
BuildRequires: apache-parent
|
||||||
Requires: apache-commons-io >= 1.3.1
|
|
||||||
Requires: apache-commons-logging >= 1.0.4
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Apache XML Graphics Commons is a library that consists of
|
Apache XML Graphics Commons is a library that consists of
|
||||||
@ -54,23 +52,23 @@ popd
|
|||||||
ant package javadocs
|
ant package javadocs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
%mvn_file : %{name}
|
||||||
install -Dpm 0644 build/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
%mvn_artifact %{name}.pom build/%{name}-%{version}.jar
|
||||||
install -pm 644 %{name}.pom $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{name}.pom
|
|
||||||
%add_maven_depmap
|
|
||||||
|
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
%mvn_install -J build/javadocs
|
||||||
cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%doc LICENSE NOTICE README
|
%license LICENSE NOTICE
|
||||||
|
%doc README
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc -f .mfiles-javadoc
|
||||||
%doc LICENSE NOTICE
|
%license LICENSE NOTICE
|
||||||
%doc %{_javadocdir}/%{name}
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 16 2018 Michael Simacek <msimacek@redhat.com> - 0:2.0.1-5
|
||||||
|
- Install with XMvn
|
||||||
|
|
||||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.0.1-4
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.0.1-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user