2017-02-23 15:30:15 +00:00
|
|
|
%bcond_without dafsa
|
|
|
|
|
2017-11-14 02:43:25 +00:00
|
|
|
%global revdate 20171028
|
2015-01-20 13:50:12 +00:00
|
|
|
|
|
|
|
Name: publicsuffix-list
|
|
|
|
Version: %{revdate}
|
2017-08-11 05:44:45 +00:00
|
|
|
Release: 1%{?dist}
|
2015-01-20 13:50:12 +00:00
|
|
|
Summary: Cross-vendor public domain suffix database
|
|
|
|
|
|
|
|
License: MPLv2.0
|
|
|
|
URL: https://publicsuffix.org/
|
2015-08-03 10:31:26 +00:00
|
|
|
Source0: https://publicsuffix.org/list/public_suffix_list.dat
|
2017-01-05 06:02:58 +00:00
|
|
|
Source1: https://www.mozilla.org/media/MPL/2.0/index.txt
|
2015-09-01 07:39:10 +00:00
|
|
|
Source2: https://github.com/publicsuffix/list/raw/master/tests/test_psl.txt
|
2015-01-20 13:50:12 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2017-02-23 15:30:15 +00:00
|
|
|
%if %{with dafsa}
|
2017-01-17 06:52:26 +00:00
|
|
|
BuildRequires: psl-make-dafsa
|
2017-02-23 15:30:15 +00:00
|
|
|
%endif
|
2017-01-05 06:02:58 +00:00
|
|
|
|
2015-01-20 13:50:12 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Public Suffix List is a cross-vendor initiative to provide
|
|
|
|
an accurate list of domain name suffixes, maintained by the hard work
|
2015-02-05 07:33:04 +00:00
|
|
|
of Mozilla volunteers and by submissions from registries.
|
2015-01-20 13:50:12 +00:00
|
|
|
Software using the Public Suffix List will be able to determine where
|
|
|
|
cookies may and may not be set, protecting the user from being
|
|
|
|
tracked across sites.
|
|
|
|
|
2017-02-23 15:30:15 +00:00
|
|
|
%if %{with dafsa}
|
2017-01-05 06:02:58 +00:00
|
|
|
%package dafsa
|
|
|
|
Summary: Cross-vendor public domain suffix database in DAFSA form
|
|
|
|
|
|
|
|
%description dafsa
|
|
|
|
The Public Suffix List is a cross-vendor initiative to provide
|
|
|
|
an accurate list of domain name suffixes, maintained by the hard work
|
|
|
|
of Mozilla volunteers and by submissions from registries.
|
|
|
|
Software using the Public Suffix List will be able to determine where
|
|
|
|
cookies may and may not be set, protecting the user from being
|
|
|
|
tracked across sites.
|
|
|
|
|
|
|
|
This package includes a DAFSA representation of the Public Suffix List
|
|
|
|
for runtime loading.
|
2017-02-23 15:30:15 +00:00
|
|
|
%endif
|
2017-01-05 06:02:58 +00:00
|
|
|
|
2015-01-20 13:50:12 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -c -T
|
2017-01-17 06:52:26 +00:00
|
|
|
cp -av %{SOURCE0} .
|
2015-01-20 13:50:12 +00:00
|
|
|
cp -av %{SOURCE1} COPYING
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2017-02-23 15:30:15 +00:00
|
|
|
%if %{with dafsa}
|
2017-01-05 06:02:58 +00:00
|
|
|
LC_CTYPE=C.UTF-8 \
|
2017-01-17 06:52:26 +00:00
|
|
|
psl-make-dafsa --output-format=binary \
|
2017-01-05 06:02:58 +00:00
|
|
|
public_suffix_list.dat public_suffix_list.dafsa
|
2017-02-23 15:30:15 +00:00
|
|
|
%endif
|
2015-01-20 13:50:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2017-02-23 15:30:15 +00:00
|
|
|
%if %{with dafsa}
|
2017-01-05 06:02:58 +00:00
|
|
|
install -m 644 -p -D public_suffix_list.dafsa $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/public_suffix_list.dafsa
|
2017-02-23 15:30:15 +00:00
|
|
|
%endif
|
2015-08-03 10:31:26 +00:00
|
|
|
install -m 644 -p -D %{SOURCE0} $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/public_suffix_list.dat
|
2015-09-01 07:39:10 +00:00
|
|
|
install -m 644 -p -D %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/test_psl.txt
|
2015-08-03 10:31:26 +00:00
|
|
|
ln -s public_suffix_list.dat $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/effective_tld_names.dat
|
2015-01-20 13:50:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
2017-01-05 06:02:58 +00:00
|
|
|
%dir %{_datadir}/publicsuffix
|
|
|
|
%{_datadir}/publicsuffix/effective_tld_names.dat
|
|
|
|
%{_datadir}/publicsuffix/public_suffix_list.dat
|
|
|
|
%{_datadir}/publicsuffix/test_psl.txt
|
|
|
|
|
2017-02-23 15:30:15 +00:00
|
|
|
%if %{with dafsa}
|
2017-01-05 06:02:58 +00:00
|
|
|
%files dafsa
|
|
|
|
%license COPYING
|
|
|
|
%dir %{_datadir}/publicsuffix
|
|
|
|
%{_datadir}/publicsuffix/public_suffix_list.dafsa
|
2017-02-23 15:30:15 +00:00
|
|
|
%endif
|
2015-01-20 13:50:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2017-11-14 02:43:25 +00:00
|
|
|
* Tue Nov 14 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20171028-1
|
|
|
|
- Recent revision - 20171028
|
|
|
|
|
2017-09-04 02:51:26 +00:00
|
|
|
* Mon Sep 4 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20170828-1
|
|
|
|
- Recent revision - 20170828
|
|
|
|
|
2017-08-11 05:44:45 +00:00
|
|
|
* Fri Aug 11 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20170809-1
|
|
|
|
- Recent revision - 20170809
|
|
|
|
|
2017-07-27 09:09:07 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170424-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-04-27 17:33:37 +00:00
|
|
|
* Thu Apr 27 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20170424-1
|
|
|
|
- Recent revision - 20170424
|
|
|
|
|
2017-02-22 07:32:21 +00:00
|
|
|
* Wed Feb 22 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20170206-1
|
|
|
|
- Recent revision - 20170206
|
|
|
|
|
2017-02-11 07:56:44 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170116-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-17 06:52:26 +00:00
|
|
|
* Tue Jan 17 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20170116-1
|
|
|
|
- Recent revision - 20170116
|
|
|
|
- Use system psl-make-dafsa
|
|
|
|
|
2017-01-05 06:02:58 +00:00
|
|
|
* Thu Jan 5 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20161230-1
|
|
|
|
- Recent revision - 20161230
|
|
|
|
- Added dafsa package for runtime use by libpsl
|
|
|
|
|
2016-11-04 05:48:18 +00:00
|
|
|
* Fri Nov 4 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 20161028-1
|
|
|
|
- Recent revision - 20161028
|
|
|
|
|
2016-08-15 23:40:11 +00:00
|
|
|
* Mon Aug 15 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 20160805-1
|
|
|
|
- Recent revision - 20160805
|
|
|
|
|
2016-07-15 10:46:45 +00:00
|
|
|
* Fri Jul 15 2016 Yanko Kaneti <yaneti@declera.com> - 20160713-1
|
|
|
|
- Recent revision - 20160713
|
|
|
|
|
2016-03-25 15:32:51 +00:00
|
|
|
* Fri Mar 25 2016 Yanko Kaneti <yaneti@declera.com> - 20160323-1
|
2016-03-25 15:31:14 +00:00
|
|
|
- Recent revision - 20160323
|
|
|
|
|
2016-02-08 12:06:14 +00:00
|
|
|
* Mon Feb 8 2016 Yanko Kaneti <yaneti@declera.com> - 20160206-1
|
|
|
|
- Recent revision - 20160206
|
|
|
|
|
2016-02-04 18:34:35 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20151208-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-12-08 11:48:14 +00:00
|
|
|
* Tue Dec 8 2015 Yanko Kaneti <yaneti@declera.com> - 20151208-1
|
|
|
|
- Recent revision - 20151208
|
|
|
|
|
2015-09-01 07:39:10 +00:00
|
|
|
* Tue Sep 1 2015 Yanko Kaneti <yaneti@declera.com> - 20150831-1
|
|
|
|
- The latest revision - 20150831
|
|
|
|
- Add test data - bug 1251921
|
|
|
|
|
2015-08-03 10:31:26 +00:00
|
|
|
* Mon Aug 3 2015 Yanko Kaneti <yaneti@declera.com> - 20150731-1
|
|
|
|
- The latest revision - 20150731
|
|
|
|
- Move to the new upstream filename. Install a compat symlink for now
|
|
|
|
|
2015-06-18 17:58:02 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20150506-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-07 07:09:54 +00:00
|
|
|
* Thu May 7 2015 Yanko Kaneti <yaneti@declera.com> - 20150506-1
|
|
|
|
- The latest revision - 20150506
|
|
|
|
|
2015-04-30 06:43:00 +00:00
|
|
|
* Thu Apr 30 2015 Yanko Kaneti <yaneti@declera.com> - 20150430-1
|
|
|
|
- The latest revision - 20150430
|
|
|
|
|
2015-04-07 20:49:39 +00:00
|
|
|
* Tue Apr 7 2015 Yanko Kaneti <yaneti@declera.com> - 20150407-1
|
|
|
|
- The latest revision - 20150407
|
|
|
|
|
2015-04-04 18:18:08 +00:00
|
|
|
* Sat Apr 4 2015 Yanko Kaneti <yaneti@declera.com> - 20150404-1
|
|
|
|
- The latest revision - 20150404
|
|
|
|
|
2015-02-26 08:19:34 +00:00
|
|
|
* Thu Feb 26 2015 Yanko Kaneti <yaneti@declera.com> - 20150226-1
|
|
|
|
- The latest revision - 20150226
|
|
|
|
|
2015-02-18 10:03:36 +00:00
|
|
|
* Wed Feb 18 2015 Yanko Kaneti <yaneti@declera.com> - 20150217-1
|
|
|
|
- The latest revision - 20150217
|
|
|
|
|
2015-02-05 07:33:04 +00:00
|
|
|
* Thu Feb 5 2015 Yanko Kaneti <yaneti@declera.com> - 20150204-1
|
|
|
|
- The latest revision - 20150204
|
|
|
|
|
2015-01-20 13:50:12 +00:00
|
|
|
* Tue Dec 30 2014 Yanko Kaneti <yaneti@declera.com> - 20141230-1
|
|
|
|
- Initial version for review - 20141124-1
|
|
|
|
- Today's revision. Add license file - 20141218-1
|
|
|
|
- Today's revision - 20141223-1
|
|
|
|
- Today's revision - 20141230-1
|