- Build AVX2 enabled hwcaps library for x86_64-v3 OBS-URL: https://build.opensuse.org/package/show/Archiving/fastlzlib?expand=0&rev=7
83 lines
2.2 KiB
RPMSpec
83 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package fastlzlib
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
%define sover 1
|
|
%define libname libfastlz%{sover}
|
|
Name: fastlzlib
|
|
Version: 0.0+git.20150524
|
|
Release: 0
|
|
Summary: Zlib-like encapsulation interface to LZ4/FastLZ
|
|
License: BSD-2-Clause
|
|
URL: https://github.com/bareos/fastlzlib
|
|
Source: %{name}-%{version}.tar.xz
|
|
Source1: baselibs.conf
|
|
BuildRequires: zlib-devel
|
|
%{?suse_build_hwcaps_libs}
|
|
|
|
%description
|
|
A library that bundles and wraps LZ4 and FastLZ in a zlib-like interface.
|
|
|
|
%package -n %{libname}
|
|
Summary: Zlib-like encapsulation interface to LZ4/FastLZ
|
|
Group: Development/Libraries/C and C++
|
|
|
|
%description -n %{libname}
|
|
A library that bundles and wraps LZ4 and FastLZ in a zlib-like interface.
|
|
|
|
%package devel
|
|
Summary: Development files for the "fastlzlib" compression library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{libname} = %{version}
|
|
Conflicts: liblz4-devel
|
|
|
|
%description devel
|
|
Header files for the fastlzlib library, a library that bundles and
|
|
wraps LZ4 and FastLZ in a zlib-like interface.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
%configure \
|
|
--disable-static
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
rm -rf %{buildroot}%{_datadir}/doc/libfastlz
|
|
|
|
%ldconfig_scriptlets -n %{libname}
|
|
|
|
%files
|
|
%{_bindir}/fastlzcat
|
|
|
|
%files -n %{libname}
|
|
%license COPYING
|
|
%doc README
|
|
%{_libdir}/libfastlz.so.%{sover}*
|
|
|
|
%files devel
|
|
%license COPYING
|
|
%{_includedir}/*
|
|
%{_libdir}/libfastlz.so
|
|
|
|
%changelog
|