[packages/lzfse] - new
qboosh
qboosh at pld-linux.org
Mon May 18 21:11:50 CEST 2020
commit e8bdd94f75fa27349e3fcf698a7f568ba6bfee84
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon May 18 21:12:16 2020 +0200
- new
lzfse.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
---
diff --git a/lzfse.spec b/lzfse.spec
new file mode 100644
index 0000000..3b9c7f8
--- /dev/null
+++ b/lzfse.spec
@@ -0,0 +1,67 @@
+Summary: LZFSE - Lempel-Ziv style data compression using Finite State Entropy coding
+Summary(pl.UTF-8): LZFSE - kompresja danych z stylu Lempel-Ziv przy użyciu kodowania entropijnego
+Name: lzfse
+Version: 1.0
+Release: 1
+License: BSD
+Group: Libraries
+#Source0Download: https://github.com/lzfse/lzfse/releases
+Source0: https://github.com/lzfse/lzfse/archive/%{name}-%{version}.tar.gz
+# Source0-md5: 53e89f88d9cb0f4cb9c3f366dfb239a9
+URL: https://github.com/lzfse/lzfse
+BuildRequires: cmake >= 2.8.6
+BuildRequires: gcc >= 5:3.2
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a reference C implementation of the LZFSE compressor
+introduced in the Apple Compression library with OS X 10.11 and iOS 9.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera wzorcową implementację w C kompresora LZFSE,
+wprowadzonego w bibliotece Compression Apple'a wraz z OS X 10.11 oraz
+iOS 9.
+
+%package devel
+Summary: Header files for LZFSE library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki LZFSE
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for LZFSE library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki LZFSE.
+
+%prep
+%setup -q -n %{name}-%{name}-%{version}
+
+%build
+install -d build
+cd build
+%cmake ..
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%attr(755,root,root) %{_bindir}/lzfse
+%attr(755,root,root) %{_libdir}/liblzfse.so
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/lzfse.h
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lzfse.git/commitdiff/e8bdd94f75fa27349e3fcf698a7f568ba6bfee84
More information about the pld-cvs-commit
mailing list