Update to 0.7.0
This commit is contained in:
parent
c5fac12b44
commit
e6360310e6
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
/libpsl-0.5.0.tar.gz
|
/libpsl-0.5.0.tar.gz
|
||||||
/libpsl-0.5.1.tar.gz
|
/libpsl-0.5.1.tar.gz
|
||||||
/libpsl-0.6.2.tar.gz
|
/libpsl-0.6.2.tar.gz
|
||||||
|
/libpsl-0.7.0.tar.gz
|
||||||
|
32
libpsl.spec
32
libpsl.spec
@ -1,6 +1,6 @@
|
|||||||
Name: libpsl
|
Name: libpsl
|
||||||
Version: 0.6.2
|
Version: 0.7.0
|
||||||
Release: 2%{?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
|
||||||
@ -13,6 +13,8 @@ BuildRequires: gtk-doc
|
|||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
|
BuildRequires: publicsuffix-list
|
||||||
|
Requires: publicsuffix-list
|
||||||
|
|
||||||
%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
|
||||||
@ -55,20 +57,30 @@ is acceptable for domains and so on.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
rm -frv data/effective_tld_names.dat
|
||||||
|
sed -i 's|effective_tld_names.dat|$(PSL_FILE)|g' data/Makefile.am
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
# Tarballs from github have 2 versions, one is raw files from repo, and
|
||||||
|
# the other one from CDN contains pre-generated autotools files.
|
||||||
|
#[ -f configure ] || autoreconf -fiv
|
||||||
|
# But makefile hack is not upstreamed yet so we continue reconfiguring these.
|
||||||
|
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
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%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
|
make check
|
||||||
@ -78,11 +90,11 @@ make check
|
|||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING
|
%license COPYING
|
||||||
%{_libdir}/libpsl.so.*
|
%{_libdir}/libpsl.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc AUTHORS NEWS README.md
|
%doc AUTHORS NEWS
|
||||||
%{_datadir}/gtk-doc/html/libpsl/
|
%{_datadir}/gtk-doc/html/libpsl/
|
||||||
%{_datadir}/libpsl/
|
%{_datadir}/libpsl/
|
||||||
%exclude %{_datadir}/libpsl/test_psl.txt
|
%exclude %{_datadir}/libpsl/test_psl.txt
|
||||||
@ -92,10 +104,14 @@ make check
|
|||||||
%{_mandir}/man3/libpsl.3*
|
%{_mandir}/man3/libpsl.3*
|
||||||
|
|
||||||
%files -n psl
|
%files -n psl
|
||||||
%doc AUTHORS COPYING NEWS README.md
|
%doc AUTHORS NEWS
|
||||||
|
%license COPYING
|
||||||
%{_bindir}/psl
|
%{_bindir}/psl
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 02 2015 Christopher Meng <rpm@cicku.me> - 0.7.0-1
|
||||||
|
- Update to 0.7.0
|
||||||
|
|
||||||
* Mon Jan 26 2015 David Tardon <dtardon@redhat.com> - 0.6.2-2
|
* Mon Jan 26 2015 David Tardon <dtardon@redhat.com> - 0.6.2-2
|
||||||
- rebuild for ICU 54.1
|
- rebuild for ICU 54.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user