Skip to content

Commit

Permalink
Update libpsl to 0.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Oct 14, 2023
1 parent 5c15bad commit 4def768
Showing 1 changed file with 27 additions and 50 deletions.
77 changes: 27 additions & 50 deletions specs/libpsl.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,56 +4,28 @@

################################################################################

%define _posixroot /
%define _root /root
%define _bin /bin
%define _sbin /sbin
%define _srv /srv
%define _lib32 %{_posixroot}lib
%define _lib64 %{_posixroot}lib64
%define _libdir32 %{_prefix}%{_lib32}
%define _libdir64 %{_prefix}%{_lib64}
%define _logdir %{_localstatedir}/log
%define _rundir %{_localstatedir}/run
%define _lockdir %{_localstatedir}/lock
%define _cachedir %{_localstatedir}/cache
%define _loc_prefix %{_prefix}/local
%define _loc_exec_prefix %{_loc_prefix}
%define _loc_bindir %{_loc_exec_prefix}/bin
%define _loc_libdir %{_loc_exec_prefix}/%{_lib}
%define _loc_libdir32 %{_loc_exec_prefix}/%{_lib32}
%define _loc_libdir64 %{_loc_exec_prefix}/%{_lib64}
%define _loc_libexecdir %{_loc_exec_prefix}/libexec
%define _loc_sbindir %{_loc_exec_prefix}/sbin
%define _loc_bindir %{_loc_exec_prefix}/bin
%define _loc_datarootdir %{_loc_prefix}/share
%define _loc_includedir %{_loc_prefix}/include
%define _rpmstatedir %{_sharedstatedir}/rpm-state

################################################################################

%{!?_without_check: %define _with_check 1}

################################################################################

Summary: C library for the Publix Suffix List
Name: libpsl
Version: 0.21.1
Release: 0%{?dist}
License: MIT
Group: Development/Tools
URL: https://rockdaboot.github.io/libpsl
Summary: C library for the Publix Suffix List
Name: libpsl
Version: 0.21.2
Release: 0%{?dist}
License: MIT
Group: Development/Tools
URL: https://rockdaboot.github.io/libpsl

Source0: https://github.com/rockdaboot/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
Source0: https://github.com/rockdaboot/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz

Source100: checksum.sha512
Source100: checksum.sha512

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: make autoconf automake gettext-devel glib2-devel
BuildRequires: libicu-devel libtool libxslt chrpath python3
BuildRequires: make autoconf automake gettext-devel glib2-devel
BuildRequires: libicu-devel libtool libxslt chrpath python3

Provides: %{name} = %{version}-%{release}
Provides: %{name} = %{version}-%{release}

################################################################################

Expand Down Expand Up @@ -83,9 +55,10 @@ Libpsl...
################################################################################

%package devel
Summary: Development files for %{name}
Group: Development/Tools
Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: Development files for %{name}
Group: Development/Tools

Requires: %{name} = %{version}-%{release}

%description devel
This package contains libraries and header files for
Expand All @@ -94,8 +67,8 @@ developing applications that use %{name}.
################################################################################

%package -n psl
Summary: Commandline utility to explore the Public Suffix List
Group: Development/Tools
Summary: Commandline utility to explore the Public Suffix List
Group: Development/Tools

%description -n psl
This package contains a commandline utility to explore the Public Suffix List,
Expand All @@ -110,7 +83,8 @@ is acceptable for domains and so on.
%setup -qn %{name}-%{version}

%build
[ -f configure ] || autoreconf -fiv
[[ -f configure ]] || autoreconf -fiv

%configure --disable-silent-rules \
--disable-static \
--enable-man
Expand Down Expand Up @@ -143,27 +117,30 @@ rm -rf %{buildroot}
################################################################################

%files
%defattr(-, root, root, -)
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/libpsl.so.*

%files devel
%defattr(-, root, root, -)
%defattr(-,root,root,-)
%doc AUTHORS NEWS
%{_datadir}/gtk-doc/html/libpsl/
%{_includedir}/libpsl.h
%{_libdir}/libpsl.so
%{_libdir}/pkgconfig/libpsl.pc

%files -n psl
%defattr(-, root, root, -)
%defattr(-,root,root,-)
%doc AUTHORS NEWS COPYING
%{_bindir}/psl
%{_mandir}/man1/psl*

################################################################################

%changelog
* Sat Oct 14 2023 Anton Novojilov <[email protected]> - 0.21.2-0
- https://github.com/rockdaboot/libpsl/releases/tag/0.21.2

* Fri Dec 09 2022 Anton Novojilov <[email protected]> - 0.21.1-0
- https://github.com/rockdaboot/libpsl/releases/tag/0.21.1

Expand Down

0 comments on commit 4def768

Please sign in to comment.