publicsuffix-list/publicsuffix-list.spec

162 lines
5.1 KiB
RPMSpec
Raw Normal View History

%bcond_without dafsa
2017-04-27 17:33:37 +00:00
%global revdate 20170424
2015-01-20 13:50:12 +00:00
Name: publicsuffix-list
Version: %{revdate}
2017-02-22 07:32:21 +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/
Source0: https://publicsuffix.org/list/public_suffix_list.dat
Source1: https://www.mozilla.org/media/MPL/2.0/index.txt
Source2: https://github.com/publicsuffix/list/raw/master/tests/test_psl.txt
2015-01-20 13:50:12 +00:00
BuildArch: noarch
%if %{with dafsa}
BuildRequires: psl-make-dafsa
%endif
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.
%if %{with dafsa}
%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.
%endif
2015-01-20 13:50:12 +00:00
%prep
%setup -c -T
cp -av %{SOURCE0} .
2015-01-20 13:50:12 +00:00
cp -av %{SOURCE1} COPYING
%build
%if %{with dafsa}
LC_CTYPE=C.UTF-8 \
psl-make-dafsa --output-format=binary \
public_suffix_list.dat public_suffix_list.dafsa
%endif
2015-01-20 13:50:12 +00:00
%install
%if %{with dafsa}
install -m 644 -p -D public_suffix_list.dafsa $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/public_suffix_list.dafsa
%endif
install -m 644 -p -D %{SOURCE0} $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/public_suffix_list.dat
install -m 644 -p -D %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/test_psl.txt
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
%dir %{_datadir}/publicsuffix
%{_datadir}/publicsuffix/effective_tld_names.dat
%{_datadir}/publicsuffix/public_suffix_list.dat
%{_datadir}/publicsuffix/test_psl.txt
%if %{with dafsa}
%files dafsa
%license COPYING
%dir %{_datadir}/publicsuffix
%{_datadir}/publicsuffix/public_suffix_list.dafsa
%endif
2015-01-20 13:50:12 +00:00
%changelog
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
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170116-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Jan 17 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20170116-1
- Recent revision - 20170116
- Use system psl-make-dafsa
* 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
* 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
* Tue Sep 1 2015 Yanko Kaneti <yaneti@declera.com> - 20150831-1
- The latest revision - 20150831
- Add test data - bug 1251921
* 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
* 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