new version (#1403620)
This commit is contained in:
parent
d5af6092e9
commit
0059cfe58e
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@
|
|||||||
/libpsl-0.13.0.tar.gz
|
/libpsl-0.13.0.tar.gz
|
||||||
/libpsl-0.14.0.tar.gz
|
/libpsl-0.14.0.tar.gz
|
||||||
/libpsl-0.15.0.tar.gz
|
/libpsl-0.15.0.tar.gz
|
||||||
|
/libpsl-0.16.1.tar.gz
|
||||||
|
29
libpsl.spec
29
libpsl.spec
@ -1,5 +1,5 @@
|
|||||||
Name: libpsl
|
Name: libpsl
|
||||||
Version: 0.15.0
|
Version: 0.16.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: C library for the Publix Suffix List
|
Summary: C library for the Publix Suffix List
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -13,6 +13,7 @@ BuildRequires: libidn2-devel
|
|||||||
BuildRequires: libunistring-devel
|
BuildRequires: libunistring-devel
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: publicsuffix-list
|
BuildRequires: publicsuffix-list
|
||||||
|
Requires: publicsuffix-list-dafsa
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libpsl is a C library to handle the Public Suffix List. A "public suffix" is a
|
libpsl is a C library to handle the Public Suffix List. A "public suffix" is a
|
||||||
@ -54,6 +55,15 @@ This package contains a commandline utility to explore the Public Suffix List,
|
|||||||
for example it checks if domains are public suffixes, checks if cookie-domain
|
for example it checks if domains are public suffixes, checks if cookie-domain
|
||||||
is acceptable for domains and so on.
|
is acceptable for domains and so on.
|
||||||
|
|
||||||
|
%package -n psl-make-dafsa
|
||||||
|
Summary: Compiles the Public Suffix List into DAFSA form
|
||||||
|
|
||||||
|
%description -n psl-make-dafsa
|
||||||
|
This script produces C/C++ code or an architecture-independent binary object
|
||||||
|
which represents a Deterministic Acyclic Finite State Automaton (DAFSA)
|
||||||
|
from a plain text Public Suffix List.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
rm -frv list
|
rm -frv list
|
||||||
@ -67,7 +77,7 @@ rm -frv list
|
|||||||
|
|
||||||
# libicu does allow support for a newer IDN specification (IDN 2008) than
|
# libicu does allow support for a newer IDN specification (IDN 2008) than
|
||||||
# libidn 1.x (IDN 2003). However, libpsl mostly relies on an internally
|
# libidn 1.x (IDN 2003). However, libpsl mostly relies on an internally
|
||||||
# compiled list, which is generated at buildtime and the support thereof
|
# compiled list, which is generated at buildtime and the testsuite thereof
|
||||||
# requires either libidn or libicu only at buildtime; the runtime
|
# requires either libidn or libicu only at buildtime; the runtime
|
||||||
# requirement is only for loading external lists, which IIUC neither curl
|
# requirement is only for loading external lists, which IIUC neither curl
|
||||||
# nor wget support. libidn2 supports IDN 2008 as well, and is *much* smaller
|
# nor wget support. libidn2 supports IDN 2008 as well, and is *much* smaller
|
||||||
@ -82,7 +92,8 @@ rm -frv list
|
|||||||
--enable-gtk-doc \
|
--enable-gtk-doc \
|
||||||
--enable-builtin=libicu \
|
--enable-builtin=libicu \
|
||||||
--enable-runtime=libidn2 \
|
--enable-runtime=libidn2 \
|
||||||
--with-psl-file=%{_datadir}/publicsuffix/effective_tld_names.dat \
|
--with-psl-distfile=%{_datadir}/publicsuffix/public_suffix_list.dafsa \
|
||||||
|
--with-psl-file=%{_datadir}/publicsuffix/effective_tld_names.dat \
|
||||||
--with-psl-testfile=%{_datadir}/publicsuffix/test_psl.txt
|
--with-psl-testfile=%{_datadir}/publicsuffix/test_psl.txt
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
@ -90,8 +101,8 @@ rm -frv list
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
# the corresponding script is noinst
|
# the script is noinst but the manpage is installed
|
||||||
rm %{buildroot}%{_mandir}/man1/psl-make-dafsa.1*
|
install -m0755 src/psl-make-dafsa %{buildroot}%{_bindir}/
|
||||||
|
|
||||||
find %{buildroot} -name '*.la' -delete -print
|
find %{buildroot} -name '*.la' -delete -print
|
||||||
|
|
||||||
@ -121,7 +132,15 @@ make check || cat tests/test-suite.log
|
|||||||
%{_bindir}/psl
|
%{_bindir}/psl
|
||||||
%{_mandir}/man1/psl.1*
|
%{_mandir}/man1/psl.1*
|
||||||
|
|
||||||
|
%files -n psl-make-dafsa
|
||||||
|
%license COPYING
|
||||||
|
%{_bindir}/psl-make-dafsa
|
||||||
|
%{_mandir}/man1/psl-make-dafsa.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 5 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 0.16.1-1
|
||||||
|
- new version (#1403620)
|
||||||
|
|
||||||
* Tue Nov 15 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 0.15.0-1
|
* Tue Nov 15 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 0.15.0-1
|
||||||
- new version (#1394761)
|
- new version (#1394761)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user