This commit is contained in:
commit
3ec3bd1f5b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
xz-java-1.8.zip
Normal file
3
xz-java-1.8.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:86be97adf59d19c000c5bac8c77f2fa2f84fa082d608c7ad2d07a007dce76160
|
||||||
|
size 152470
|
11
xz-java-source-version.patch
Normal file
11
xz-java-source-version.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- xz-java-1.8.orig/build.properties 2016-11-26 22:39:44.000000000 +0100
|
||||||
|
+++ xz-java-1.8/build.properties 2018-01-13 13:35:46.432055600 +0100
|
||||||
|
@@ -17,7 +17,7 @@
|
||||||
|
# The source code is Java 5 compatible but the oldest -source/-target pair
|
||||||
|
# that OpenJDK 9 supports is 1.6 (Java 6). Edit this if you are using
|
||||||
|
# OpenJDK 9 or later.
|
||||||
|
-sourcever = 1.5
|
||||||
|
+sourcever = 1.8
|
||||||
|
|
||||||
|
src_dir = src
|
||||||
|
build_dir = build
|
59
xz-java.changes
Normal file
59
xz-java.changes
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 9 08:43:32 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Modified patch:
|
||||||
|
* java-3d_source_version.patch -> xz-java-source-version.patch
|
||||||
|
+ change name to correspond to reality
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 27 19:12:19 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- renamed package to xz-java
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 23 19:26:13 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.8
|
||||||
|
- Modified patch:
|
||||||
|
* java-3d_source_version.patch
|
||||||
|
- Rediff to changed context
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 22 12:45:47 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Generate the maven pom files and install them
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 3 00:05:11 UTC 2014 - ecsos@opensuse.org
|
||||||
|
|
||||||
|
- update to 1.5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 11 15:52:00 UTC 2013 - robertherb@arcor.de.de
|
||||||
|
- Update to 1.4
|
||||||
|
- renamed package to java-xz
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 31 15:52:00 UTC 2013 - conrad@quisquis.de
|
||||||
|
- Fixed Source header
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 31 10:24:00 UTC 2013 - conrad@quisquis.de
|
||||||
|
- Upgrade to 1.3
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 5 17:15:00 UTC 2013 - conrad@quisquis.de
|
||||||
|
- Fixed fedora build deps
|
||||||
|
- Fixed license string
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 28 13:51:00 UTC 2013 - conrad@quisquis.de
|
||||||
|
- Disabled external links in javadoc
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 28 13:28:00 UTC 2013 - conrad@quisquis.de
|
||||||
|
- Disabled download_files service - upstream server hangs
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 28 13:01:00 UTC 2013 - conrad@quisquis.de
|
||||||
|
- Initial project creation
|
79
xz-java.spec
Normal file
79
xz-java.spec
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
#
|
||||||
|
# spec file for package xz-java
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
# Copyright (c) 2013 Peter Conrad
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: xz-java
|
||||||
|
Version: 1.8
|
||||||
|
Release: 0
|
||||||
|
Summary: Pure Java implementation of XZ compression
|
||||||
|
License: SUSE-Public-Domain
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
URL: http://tukaani.org/xz/java.html
|
||||||
|
Source: http://tukaani.org/xz/xz-java-%{version}.zip
|
||||||
|
Patch0: xz-java-source-version.patch
|
||||||
|
BuildRequires: ant
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: java-devel >= 1.8
|
||||||
|
BuildRequires: javapackages-local
|
||||||
|
BuildRequires: unzip
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
This aims to be a complete implementation of XZ data compression in pure Java.
|
||||||
|
Single-threaded streamed compression and decompression and random access
|
||||||
|
decompression have been fully implemented. Threading is planned but it is
|
||||||
|
unknown when it will be implemented.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: API documentation of Java XZ compression library
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
This package contains the API documentation of xz-java.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -c -n %{name}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
sed -i 's/linkoffline="[^"]*"//;/extdoc_/d' build.xml
|
||||||
|
ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 clean jar doc maven
|
||||||
|
|
||||||
|
%install
|
||||||
|
# jar
|
||||||
|
install -dm 0755 %{buildroot}%{_javadir}
|
||||||
|
install -pm 0644 build/maven/xz-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||||
|
(cd %{buildroot}%{_javadir} && ln -s %{name}.jar xz.jar)
|
||||||
|
# pom
|
||||||
|
install -dm 0755 %{buildroot}%{_mavenpomdir}
|
||||||
|
install -pm 0644 build/maven/xz-%{version}.pom %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||||
|
%add_maven_depmap %{name}.pom %{name}.jar
|
||||||
|
# javadoc
|
||||||
|
mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
cp -pr build/doc/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
%fdupes -s %{buildroot}%{_javadocdir}
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%license COPYING
|
||||||
|
%doc NEWS README THANKS
|
||||||
|
%{_javadir}/xz.jar
|
||||||
|
|
||||||
|
%files javadoc
|
||||||
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user