Use .mfiles generated during build
This commit is contained in:
parent
69b2eb9a33
commit
d45169fd45
20
xz-java.spec
20
xz-java.spec
@ -1,17 +1,17 @@
|
|||||||
Name: xz-java
|
Name: xz-java
|
||||||
Version: 1.5
|
Version: 1.5
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Java implementation of XZ data compression
|
Summary: Java implementation of XZ data compression
|
||||||
Group: Development/Libraries
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
URL: http://tukaani.org/xz/java.html
|
URL: http://tukaani.org/xz/java.html
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
Source0: http://tukaani.org/xz/xz-java-%{version}.zip
|
Source0: http://tukaani.org/xz/xz-java-%{version}.zip
|
||||||
|
|
||||||
BuildRequires: jpackage-utils
|
BuildRequires: jpackage-utils
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
|
|
||||||
Requires: jpackage-utils
|
Requires: jpackage-utils
|
||||||
Requires: java-headless
|
Requires: java-headless
|
||||||
|
|
||||||
@ -25,8 +25,6 @@ for advanced users, including LZMA2 with preset dictionary.
|
|||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: Javadocs for %{name}
|
Summary: Javadocs for %{name}
|
||||||
Group: Documentation
|
|
||||||
Requires: jpackage-utils
|
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
This package contains the API documentation for %{name}.
|
This package contains the API documentation for %{name}.
|
||||||
@ -52,20 +50,20 @@ cp -R build/doc %{buildroot}%{_javadocdir}/%{name}
|
|||||||
# pom
|
# pom
|
||||||
install -dm 755 %{buildroot}%{_mavenpomdir}
|
install -dm 755 %{buildroot}%{_mavenpomdir}
|
||||||
install -pm 644 build/maven/xz-%{version}.pom %{buildroot}/%{_mavenpomdir}/JPP-%{name}.pom
|
install -pm 644 build/maven/xz-%{version}.pom %{buildroot}/%{_mavenpomdir}/JPP-%{name}.pom
|
||||||
%add_maven_depmap JPP-%{name}.pom %{name}.jar
|
%add_maven_depmap
|
||||||
|
|
||||||
%files
|
%files -f .mfiles
|
||||||
%doc COPYING README THANKS
|
%doc COPYING README THANKS
|
||||||
%{_javadir}/%{name}.jar
|
|
||||||
%{_javadir}/xz.jar
|
%{_javadir}/xz.jar
|
||||||
%{_mavendepmapfragdir}/%{name}
|
|
||||||
%{_mavenpomdir}/JPP-%{name}.pom
|
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_javadocdir}/%{name}
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-2
|
||||||
|
- Use .mfiles generated during build
|
||||||
|
|
||||||
* Mon Mar 10 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-1
|
* Mon Mar 10 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-1
|
||||||
- Update to upstream version 1.5
|
- Update to upstream version 1.5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user