2012-04-06 12:37:09 +00:00
|
|
|
Name: xz-java
|
2016-11-28 07:42:25 +00:00
|
|
|
Version: 1.6
|
2017-02-11 18:13:07 +00:00
|
|
|
Release: 2%{?dist}
|
2012-04-06 12:37:09 +00:00
|
|
|
Summary: Java implementation of XZ data compression
|
|
|
|
License: Public Domain
|
|
|
|
URL: http://tukaani.org/xz/java.html
|
2014-05-21 16:39:46 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2012-04-06 12:37:09 +00:00
|
|
|
Source0: http://tukaani.org/xz/xz-java-%{version}.zip
|
|
|
|
|
|
|
|
BuildRequires: jpackage-utils
|
|
|
|
BuildRequires: java-devel
|
|
|
|
BuildRequires: ant
|
2014-05-21 16:39:46 +00:00
|
|
|
|
2012-04-06 12:37:09 +00:00
|
|
|
Requires: jpackage-utils
|
2014-03-04 08:05:00 +00:00
|
|
|
Requires: java-headless
|
2012-04-06 12:37:09 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A complete implementation of XZ data compression in Java.
|
|
|
|
|
|
|
|
It features full support for the .xz file format specification version 1.0.4,
|
|
|
|
single-threaded streamed compression and decompression, single-threaded
|
|
|
|
decompression with limited random access support, raw streams (no .xz headers)
|
|
|
|
for advanced users, including LZMA2 with preset dictionary.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadocs for %{name}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
This package contains the API documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
# During documentation generation the upstream build.xml tries to download
|
|
|
|
# package-list from oracle.com. Create a dummy package-list to prevent that.
|
|
|
|
mkdir -p extdoc && touch extdoc/package-list
|
|
|
|
|
|
|
|
ant maven
|
|
|
|
|
|
|
|
%install
|
|
|
|
# jar
|
|
|
|
install -dm 755 %{buildroot}%{_javadir}
|
|
|
|
install -m 644 build/jar/xz.jar %{buildroot}%{_javadir}/%{name}.jar
|
2012-06-21 17:14:36 +00:00
|
|
|
ln -sf %{name}.jar %{buildroot}%{_javadir}/xz.jar
|
2012-04-06 12:37:09 +00:00
|
|
|
# javadoc
|
|
|
|
install -dm 755 %{buildroot}%{_javadocdir}
|
|
|
|
cp -R build/doc %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
# pom
|
|
|
|
install -dm 755 %{buildroot}%{_mavenpomdir}
|
|
|
|
install -pm 644 build/maven/xz-%{version}.pom %{buildroot}/%{_mavenpomdir}/JPP-%{name}.pom
|
2014-05-21 16:39:46 +00:00
|
|
|
%add_maven_depmap
|
2012-04-06 12:37:09 +00:00
|
|
|
|
2014-05-21 16:39:46 +00:00
|
|
|
%files -f .mfiles
|
2012-04-06 12:37:09 +00:00
|
|
|
%doc COPYING README THANKS
|
2012-06-21 17:14:36 +00:00
|
|
|
%{_javadir}/xz.jar
|
2012-04-06 12:37:09 +00:00
|
|
|
|
|
|
|
%files javadoc
|
|
|
|
%doc COPYING
|
|
|
|
%{_javadocdir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|
2017-02-11 18:13:07 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-11-28 07:42:25 +00:00
|
|
|
* Mon Nov 28 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6-1
|
|
|
|
- Update to upstream version 1.6
|
|
|
|
|
2016-02-05 03:54:28 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-19 04:32:39 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-06-08 07:02:45 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-21 16:39:46 +00:00
|
|
|
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-2
|
|
|
|
- Use .mfiles generated during build
|
|
|
|
|
2014-03-10 07:01:51 +00:00
|
|
|
* Mon Mar 10 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-1
|
|
|
|
- Update to upstream version 1.5
|
|
|
|
|
2014-03-04 08:05:00 +00:00
|
|
|
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-2
|
|
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
|
2013-09-23 09:48:27 +00:00
|
|
|
* Mon Sep 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-1
|
|
|
|
- Update to upstream version 1.4
|
|
|
|
|
2013-08-04 09:25:01 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-05-14 10:50:53 +00:00
|
|
|
* Tue May 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-1
|
|
|
|
- Update to upstream version 1.3
|
|
|
|
|
2013-01-29 16:10:51 +00:00
|
|
|
* Tue Jan 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-1
|
|
|
|
- Update to upstream version 1.2
|
|
|
|
|
2013-01-03 13:32:00 +00:00
|
|
|
* Thu Jan 3 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.1-2
|
|
|
|
- Add patch for OSGi Manifest.
|
|
|
|
|
2012-08-17 11:40:20 +00:00
|
|
|
* Fri Aug 17 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-1
|
|
|
|
- Update to upstream version 1.1
|
|
|
|
|
2012-07-22 07:29:27 +00:00
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-21 17:14:36 +00:00
|
|
|
* Thu Jun 21 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-3
|
|
|
|
- Install xz.jar symlink
|
|
|
|
|
2012-04-06 12:37:09 +00:00
|
|
|
* Thu Apr 5 2012 Mikolaj Izdebski <mizdebsk@redhat.com> 1.0-2
|
|
|
|
- Fix issues found during package review
|
|
|
|
- Include missing COPYING files.
|
|
|
|
- Add missing RPM group.
|
|
|
|
- Comment on touching package-list.
|
|
|
|
|
|
|
|
* Wed Apr 4 2012 Mikolaj Izdebski <mizdebsk@redhat.com> 1.0-1
|
|
|
|
- Initial packaging.
|