[packages/fastlz] Up to 0.5.0
arekm
arekm at pld-linux.org
Sat Nov 28 21:46:38 CET 2026
commit aafc3bc52cfe4bab2e25b3867acd14bba415bab2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Nov 27 17:37:02 2026 +0100
Up to 0.5.0
fastlz.spec | 27 +++++++++++----------------
1 file changed, 11 insertions(+), 16 deletions(-)
---
diff --git a/fastlz.spec b/fastlz.spec
index c0685ba..29d5f4d 100644
--- a/fastlz.spec
+++ b/fastlz.spec
@@ -2,21 +2,16 @@
# Conditional build:
%bcond_without tests # build without tests
-%define rel 3
-%define rdate 20070619
-%define svnrev 12
Summary: Portable real-time compression library
Summary(pl.UTF-8): Przenośna biblioteka kompresji w czasie rzeczywistej
Name: fastlz
-Version: 0.1.0
-Release: 0.r%{svnrev}.%{rdate}.%{rel}
+Version: 0.5.0
+Release: 1
License: MIT
Group: Libraries
-# svn export -r 12 http://fastlz.googlecode.com/svn/trunk/ fastlz-12
-# tar cjf fastlz-12.tar.bz2 fastlz-12
-Source0: http://pkgs.fedoraproject.org/repo/pkgs/fastlz/%{name}-%{svnrev}.tar.bz2/592bdf20af83c0124f19b55d0346f266/%{name}-%{svnrev}.tar.bz2
-# Source0-md5: 592bdf20af83c0124f19b55d0346f266
-URL: http://fastlz.org/
+Source0: https://github.com/ariya/FastLZ/archive/%{version}/FastLZ-%{version}.tar.gz
+# Source0-md5: 9ebb07daf4b63a68e710b47dcf49c435
+URL: https://github.com/ariya/FastLZ
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define abi 0
@@ -46,7 +41,7 @@ This package contains the header file for FastLZ library.
Ten pakiet zawiera plik nagłówkowy biblioteki FastLZ.
%prep
-%setup -q -n %{name}-%{svnrev}
+%setup -q -n FastLZ-%{version}
%build
# Build the shared library
@@ -55,8 +50,8 @@ Ten pakiet zawiera plik nagłówkowy biblioteki FastLZ.
ln -s lib%{name}.so.%{abi} lib%{name}.so
# Build the commands for test
-%{__cc} %{rpmcflags} -fPIC 6pack.c -L. -l%{name} -o 6pack
-%{__cc} %{rpmcflags} -fPIC 6unpack.c -L. -l%{name} -o 6unpack
+%{__cc} %{rpmcflags} -fPIC -I. examples/6pack.c -L. -l%{name} -o 6pack
+%{__cc} %{rpmcflags} -fPIC -I. examples/6unpack.c -L. -l%{name} -o 6unpack
%if %{with tests}
export LD_LIBRARY_PATH=$PWD
@@ -97,10 +92,10 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc LICENSE README.TXT
-%attr(755,root,root) %{_libdir}/libfastlz.so.0
+%doc LICENSE.MIT README.md ChangeLog
+%{_libdir}/libfastlz.so.0
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libfastlz.so
+%{_libdir}/libfastlz.so
%{_includedir}/fastlz.h
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fastlz.git/commitdiff/aafc3bc52cfe4bab2e25b3867acd14bba415bab2
More information about the pld-cvs-commit
mailing list