package created using the webbuild interface [release 0.21.0-1mamba;Sat Sep 07 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 05:27:30 +01:00
parent f07a188bd2
commit c0ce40f61f
2 changed files with 83 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libpsl
C library for the Public Suffix List.

81
libpsl.spec Normal file
View File

@ -0,0 +1,81 @@
Name: libpsl
Version: 0.21.0
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
## GITSOURCE https://github.com/rockdaboot/libpsl.git libpsl-0.21.0
Source: https://github.com/rockdaboot/libpsl.git/libpsl-%{version}/libpsl-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libicu-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.la
%{_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
* Sat Sep 07 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21.0-1mamba
- package created using the webbuild interface