--- /dev/null
+Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm
+Name: xz
+Version: 5.2.5
+Release: 0
+License: GPLv2 AND GPLv3 AND LGPLv2.1 AND Public Domain
+URL: https://tukaani.org/xz/
+Source0: https://tukaani.org/xz/%{name}-%{version}.tar.gz
+Source1: https://tukaani.org/xz/%{name}-%{version}.tar.gz.sig
+# from http://tukaani.org/misc/lasse_collin_pubkey.txt
+Source2: xz.keyring
+%description
+XZ Utils is free general-purpose data compression software with a high
+compression ratio. XZ Utils were written for POSIX-like systems, but also work
+on some not-so-POSIX systems. XZ Utils are the successor to LZMA Utils.
+The primary compression algorithm is currently LZMA2, which is used inside the
+.xz container format. With typical files, XZ Utils create 30 % smaller output
+than gzip and 15 % smaller output than bzip2.
+
+%lang_package
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --with-pic \
+ --docdir=%{_docdir}/%{name}
+make %{?_smp_mflags}
+
+%check
+make %{?_smp_mflags} check
+
+%install
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
+%find_lang %{name}
+rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2}
+
+
+%files
+
+
+%changelog