90 lines
2.2 KiB
RPMSpec
90 lines
2.2 KiB
RPMSpec
Name: libpsl
|
|
Version: 0.21.2
|
|
Release: 1mamba
|
|
Summary: C library for the Public Suffix List
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://rockdaboot.github.io/libpsl/
|
|
Source: https://github.com/rockdaboot/libpsl.git/%{version}/libpsl-%{version}.tar.bz2
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libidn2-devel
|
|
BuildRequires: libunistring-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libicu-devel >= 69.1
|
|
|
|
%description
|
|
C library for the Public Suffix List.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%package tools
|
|
Group: Applications/Networking
|
|
Summary: Utility applications for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description tools
|
|
This package contains utility applications for %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
./autogen.sh
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libpsl.so.*
|
|
%doc AUTHORS COPYING LICENSE
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/libpsl.h
|
|
%{_libdir}/libpsl.a
|
|
%{_libdir}/libpsl.so
|
|
%{_libdir}/pkgconfig/libpsl.pc
|
|
%doc NEWS README.md
|
|
|
|
%files tools
|
|
%defattr(-,root,root)
|
|
%{_bindir}/psl
|
|
%{_mandir}/man1/psl-make-dafsa.1*
|
|
%{_mandir}/man1/psl.1*
|
|
|
|
%changelog
|
|
* Tue Dec 27 2022 Automatic Build System <autodist@mambasoft.it> 0.21.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat May 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21.1-2mamba
|
|
- rebuilt with libicu 69.1
|
|
|
|
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21.1-1mamba
|
|
- update to 0.21.1
|
|
|
|
* Sat Sep 07 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21.0-1mamba
|
|
- package created using the webbuild interface
|