diff --git a/.gitignore b/.gitignore index e69de29..3f63495 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,2 @@ +/effective_tld_names.dat +/index.txt diff --git a/publicsuffix-list.spec b/publicsuffix-list.spec new file mode 100644 index 0000000..2c902e5 --- /dev/null +++ b/publicsuffix-list.spec @@ -0,0 +1,48 @@ +%global revdate 20141230 + +Name: publicsuffix-list +Version: %{revdate} +Release: 1%{?dist} +Summary: Cross-vendor public domain suffix database + +License: MPLv2.0 +URL: https://publicsuffix.org/ +Source0: https://publicsuffix.org/list/effective_tld_names.dat +Source1: https://www.mozilla.org/MPL/2.0/index.txt + +BuildArch: noarch + + +%description +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, +to whom we are very grateful. +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. + + +%prep +%setup -c -T +cp -av %{SOURCE1} COPYING + + +%build + + +%install +install -m 644 -p -D %{SOURCE0} $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/effective_tld_names.dat + + +%files +%license COPYING +%{_datadir}/publicsuffix + + +%changelog +* Tue Dec 30 2014 Yanko Kaneti - 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 diff --git a/sources b/sources index e69de29..6247a15 100644 --- a/sources +++ b/sources @@ -0,0 +1,2 @@ +bcd261f923113157fa42db633aa4bc16 effective_tld_names.dat +815ca599c9df247a0c7f619bab123dad index.txt