Blame SPECS/xz-java.spec

6b5e83
%{?scl:%scl_package xz-java}
6b5e83
%{!?scl:%global pkg_name %{name}}
6b5e83
6b5e83
Name:           %{?scl_prefix}xz-java
6b5e83
Version:        1.6
6b5e83
Release:        3.2%{?dist}
6b5e83
Summary:        Java implementation of XZ data compression
6b5e83
License:        Public Domain
6b5e83
URL:            http://tukaani.org/xz/java.html
6b5e83
BuildArch:      noarch
6b5e83
6b5e83
Source0:        http://tukaani.org/xz/xz-java-%{version}.zip
6b5e83
6b5e83
BuildRequires:  %{?scl_prefix}javapackages-local
6b5e83
BuildRequires:  %{?scl_prefix}ant
6b5e83
6b5e83
%description
6b5e83
A complete implementation of XZ data compression in Java.
6b5e83
6b5e83
It features full support for the .xz file format specification version 1.0.4,
6b5e83
single-threaded streamed compression and decompression, single-threaded
6b5e83
decompression with limited random access support, raw streams (no .xz headers)
6b5e83
for advanced users, including LZMA2 with preset dictionary.
6b5e83
6b5e83
%package javadoc
6b5e83
Summary:        Javadocs for %{pkg_name}
6b5e83
6b5e83
%description javadoc
6b5e83
This package contains the API documentation for %{pkg_name}.
6b5e83
6b5e83
%prep
6b5e83
%setup -n %{pkg_name}-%{version} -q -c %{pkg_name}-%{version}
6b5e83
6b5e83
%mvn_file : %{pkg_name} xz
6b5e83
6b5e83
%build
6b5e83
# During documentation generation the upstream build.xml tries to download
6b5e83
# package-list from oracle.com. Create a dummy package-list to prevent that.
6b5e83
mkdir -p extdoc && touch extdoc/package-list
6b5e83
6b5e83
ant maven
6b5e83
6b5e83
%install
6b5e83
%mvn_artifact build/maven/xz-%{version}.pom build/jar/xz.jar
6b5e83
6b5e83
%mvn_install -J build/doc
6b5e83
6b5e83
%files -f .mfiles
6b5e83
%doc COPYING README THANKS
6b5e83
6b5e83
%files javadoc -f .mfiles-javadoc
6b5e83
%doc COPYING
6b5e83
6b5e83
%changelog
6b5e83
* Thu Jun 22 2017 Michael Simacek <msimacek@redhat.com> - 1.6-3.2
6b5e83
- Mass rebuild 2017-06-22
6b5e83
6b5e83
* Wed Jun 21 2017 Java Maintainers <java-maint@redhat.com> - 1.6-3.1
6b5e83
- Automated package import and SCL-ization
6b5e83
6b5e83
* Tue Mar 21 2017 Michael Simacek <msimacek@redhat.com> - 1.6-3
6b5e83
- Install with XMvn
6b5e83
6b5e83
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
6b5e83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6b5e83
6b5e83
* Mon Nov 28 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6-1
6b5e83
- Update to upstream version 1.6
6b5e83
6b5e83
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-5
6b5e83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6b5e83
6b5e83
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
6b5e83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6b5e83
6b5e83
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-3
6b5e83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6b5e83
6b5e83
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-2
6b5e83
- Use .mfiles generated during build
6b5e83
6b5e83
* Mon Mar 10 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-1
6b5e83
- Update to upstream version 1.5
6b5e83
6b5e83
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-2
6b5e83
- Use Requires: java-headless rebuild (#1067528)
6b5e83
6b5e83
* Mon Sep 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-1
6b5e83
- Update to upstream version 1.4
6b5e83
6b5e83
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
6b5e83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6b5e83
6b5e83
* Tue May 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-1
6b5e83
- Update to upstream version 1.3
6b5e83
6b5e83
* Tue Jan 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-1
6b5e83
- Update to upstream version 1.2
6b5e83
6b5e83
* Thu Jan 3 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.1-2
6b5e83
- Add patch for OSGi Manifest.
6b5e83
6b5e83
* Fri Aug 17 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-1
6b5e83
- Update to upstream version 1.1
6b5e83
6b5e83
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
6b5e83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6b5e83
6b5e83
* Thu Jun 21 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-3
6b5e83
- Install xz.jar symlink
6b5e83
6b5e83
* Thu Apr 5 2012 Mikolaj Izdebski <mizdebsk@redhat.com> 1.0-2
6b5e83
- Fix issues found during package review
6b5e83
- Include missing COPYING files.
6b5e83
- Add missing RPM group.
6b5e83
- Comment on touching package-list.
6b5e83
6b5e83
* Wed Apr 4 2012 Mikolaj Izdebski <mizdebsk@redhat.com> 1.0-1
6b5e83
- Initial packaging.