1 Summary: LZFSE - Lempel-Ziv style data compression using Finite State Entropy coding
2 Summary(pl.UTF-8): LZFSE - kompresja danych z stylu Lempel-Ziv przy użyciu kodowania entropijnego
8 #Source0Download: https://github.com/lzfse/lzfse/releases
9 Source0: https://github.com/lzfse/lzfse/archive/%{name}-%{version}.tar.gz
10 # Source0-md5: 53e89f88d9cb0f4cb9c3f366dfb239a9
11 URL: https://github.com/lzfse/lzfse
12 BuildRequires: cmake >= 2.8.6
13 BuildRequires: gcc >= 5:3.2
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 This is a reference C implementation of the LZFSE compressor
18 introduced in the Apple Compression library with OS X 10.11 and iOS 9.
20 %description -l pl.UTF-8
21 Ten pakiet zawiera wzorcową implementację w C kompresora LZFSE,
22 wprowadzonego w bibliotece Compression Apple'a wraz z OS X 10.11 oraz
26 Summary: Header files for LZFSE library
27 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki LZFSE
28 Group: Development/Libraries
29 Requires: %{name} = %{version}-%{release}
32 Header files for LZFSE library.
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki LZFSE.
38 %setup -q -n %{name}-%{name}-%{version}
48 rm -rf $RPM_BUILD_ROOT
50 %{__make} -C build install \
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
56 %post -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
60 %defattr(644,root,root,755)
61 %doc LICENSE README.md
62 %attr(755,root,root) %{_bindir}/lzfse
63 %attr(755,root,root) %{_libdir}/liblzfse.so
66 %defattr(644,root,root,755)
67 %{_includedir}/lzfse.h