Update to 0.12.0
This commit is contained in:
parent
3db9e02aaf
commit
7450ba4768
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
/libpsl-0.6.2.tar.gz
|
/libpsl-0.6.2.tar.gz
|
||||||
/libpsl-0.7.0.tar.gz
|
/libpsl-0.7.0.tar.gz
|
||||||
/libpsl-0.7.1.tar.gz
|
/libpsl-0.7.1.tar.gz
|
||||||
|
/libpsl-0.12.0.tar.gz
|
||||||
|
26
libpsl.spec
26
libpsl.spec
@ -1,17 +1,14 @@
|
|||||||
Name: libpsl
|
Name: libpsl
|
||||||
Version: 0.7.0
|
Version: 0.12.0
|
||||||
Release: 7%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: C library for the Publix Suffix List
|
Summary: C library for the Publix Suffix List
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://rockdaboot.github.io/libpsl
|
URL: https://rockdaboot.github.io/libpsl
|
||||||
Source0: https://github.com/rockdaboot/libpsl/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/rockdaboot/libpsl/releases/download/libpsl-%{version}/libpsl-%{version}.tar.gz
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: automake
|
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: publicsuffix-list
|
BuildRequires: publicsuffix-list
|
||||||
|
|
||||||
@ -57,20 +54,20 @@ is acceptable for domains and so on.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
rm -frv data/effective_tld_names.dat
|
rm -frv list
|
||||||
sed -i 's|effective_tld_names.dat|$(PSL_FILE)|g' data/Makefile.am
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Tarballs from github have 2 versions, one is raw files from repo, and
|
# Tarballs from github have 2 versions, one is raw files from repo, and
|
||||||
# the other one from CDN contains pre-generated autotools files.
|
# the other one from CDN contains pre-generated autotools files.
|
||||||
# But makefile hack is not upstreamed yet so we continue reconfiguring these.
|
# But makefile hack is not upstreamed yet so we continue reconfiguring these.
|
||||||
# [ -f configure ] || autoreconf -fiv
|
# [ -f configure ] || autoreconf -fiv
|
||||||
autoreconf -fiv
|
# autoreconf -fiv
|
||||||
%configure --disable-silent-rules \
|
%configure --disable-silent-rules \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-man \
|
--enable-man \
|
||||||
--enable-gtk-doc \
|
--enable-gtk-doc \
|
||||||
--with-psl-file=%{_datadir}/publicsuffix/effective_tld_names.dat
|
--with-psl-file=%{_datadir}/publicsuffix/effective_tld_names.dat \
|
||||||
|
--with-psl-testfile=%{_datadir}/publicsuffix/test_psl.txt
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
@ -78,10 +75,6 @@ autoreconf -fiv
|
|||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
find %{buildroot} -name '*.la' -delete -print
|
find %{buildroot} -name '*.la' -delete -print
|
||||||
# We need to unbundle the list completely, since the list is not small
|
|
||||||
# in contrast with normal text files. Thus a symlink is the best choice.
|
|
||||||
rm -fv %{buildroot}%{_datadir}/libpsl/effective_tld_names.dat
|
|
||||||
ln -s %{_datadir}/publicsuffix/effective_tld_names.dat %{buildroot}%{_datadir}/libpsl/effective_tld_names.dat
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check || cat tests/test-suite.log
|
make check || cat tests/test-suite.log
|
||||||
@ -97,8 +90,6 @@ make check || cat tests/test-suite.log
|
|||||||
%files devel
|
%files devel
|
||||||
%doc AUTHORS NEWS
|
%doc AUTHORS NEWS
|
||||||
%{_datadir}/gtk-doc/html/libpsl/
|
%{_datadir}/gtk-doc/html/libpsl/
|
||||||
%{_datadir}/libpsl/
|
|
||||||
%exclude %{_datadir}/libpsl/test_psl.txt
|
|
||||||
%{_includedir}/libpsl.h
|
%{_includedir}/libpsl.h
|
||||||
%{_libdir}/libpsl.so
|
%{_libdir}/libpsl.so
|
||||||
%{_libdir}/pkgconfig/libpsl.pc
|
%{_libdir}/pkgconfig/libpsl.pc
|
||||||
@ -110,6 +101,9 @@ make check || cat tests/test-suite.log
|
|||||||
%{_bindir}/psl
|
%{_bindir}/psl
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 22 2016 Christopher Meng <rpm@cicku.me> - 0.12.0-1
|
||||||
|
- Update to 0.12.0
|
||||||
|
|
||||||
* Wed Oct 28 2015 David Tardon <dtardon@redhat.com> - 0.7.0-7
|
* Wed Oct 28 2015 David Tardon <dtardon@redhat.com> - 0.7.0-7
|
||||||
- rebuild for ICU 56.1
|
- rebuild for ICU 56.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user