Install xz.jar symlink

This commit is contained in:
Mikolaj Izdebski 2012-06-21 19:14:36 +02:00
parent 8d768cc792
commit dde3cafbae

View File

@ -1,6 +1,6 @@
Name: xz-java
Version: 1.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Java implementation of XZ data compression
Group: Development/Libraries
BuildArch: noarch
@ -45,6 +45,7 @@ ant maven
# jar
install -dm 755 %{buildroot}%{_javadir}
install -m 644 build/jar/xz.jar %{buildroot}%{_javadir}/%{name}.jar
ln -sf %{name}.jar %{buildroot}%{_javadir}/xz.jar
# javadoc
install -dm 755 %{buildroot}%{_javadocdir}
cp -R build/doc %{buildroot}%{_javadocdir}/%{name}
@ -56,6 +57,7 @@ install -pm 644 build/maven/xz-%{version}.pom %{buildroot}/%{_mavenpomdir}/JPP-%
%files
%doc COPYING README THANKS
%{_javadir}/%{name}.jar
%{_javadir}/xz.jar
%{_mavendepmapfragdir}/%{name}
%{_mavenpomdir}/JPP-%{name}.pom
@ -64,6 +66,9 @@ install -pm 644 build/maven/xz-%{version}.pom %{buildroot}/%{_mavenpomdir}/JPP-%
%{_javadocdir}/%{name}
%changelog
* Thu Jun 21 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-3
- Install xz.jar symlink
* Thu Apr 5 2012 Mikolaj Izdebski <mizdebsk@redhat.com> 1.0-2
- Fix issues found during package review
- Include missing COPYING files.