File publicsuffix.spec of Package publicsuffix

#
# spec file for package publicsuffix
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 yaneti@declera.com
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           publicsuffix
Version:        20160731
Release:        0
Summary:        Cross-vendor public domain suffix database
License:        MPL-2.0
Group:          Productivity/Networking/Other
Url:            https://publicsuffix.org/
Source0:        https://raw.githubusercontent.com/publicsuffix/list/f5dc88f0ad8a07c33028bae2f5379dd6e55d3b1a/public_suffix_list.dat
Source1:        https://raw.githubusercontent.com/publicsuffix/list/master/LICENSE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
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.
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 -q -c -T
cp -av %{SOURCE1} .

%build

%install
install -m 644 -p -D %{SOURCE0} %{buildroot}/%{_datadir}/%{name}/public_suffix_list.dat

%files
%defattr(-,root,root)
%doc LICENSE
%{_datadir}/%{name}

%changelog
openSUSE Build Service is sponsored by