libpsl/psl-make-dafsa.spec
Andreas Stieger 9e9ebc2f74 Accepting request 451434 from home:SShyukriev:branches:network:utilities
- libpls 0.17.0:
  * Use TR46 non-transitional for IDNA (libicu, libidn2 >= 0.14)
  * Fix coverage upload from TravisCI to Coveralls
  * New tests to cover psl_latest() and psl_dist_filename() 

- update to 0.17.0:
 * no changes for psl-make-dafsa

OBS-URL: https://build.opensuse.org/request/show/451434
OBS-URL: https://build.opensuse.org/package/show/network:utilities/libpsl?expand=0&rev=24
2017-01-19 15:59:26 +00:00

58 lines
1.9 KiB
RPMSpec

#
# spec file for package psl-make-dafsa
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 rpm@cicku.me
#
# 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: psl-make-dafsa
Version: 0.17.0
Release: 0
Summary: Create a binary DAFSA from a Public Suffix List
License: BSD-3-Clause
Group: Development/Libraries/C and C++
Url: https://rockdaboot.github.io/libpsl
Source: https://github.com/rockdaboot/libpsl/releases/download/libpsl-%{version}/libpsl-%{version}.tar.gz
Requires: python-base
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
psl-make-dafsa converts ASCII string into C source or a binary format,
The format used is DAFSA, deterministic acyclic finate state automaton.
libpsl is capable of using this compact binary form of the Public Suffix List (PSL).
This package is a build dependency for the publicsuffix package.
%prep
%setup -q -n libpsl-%{version}
%build
%install
mkdir -p %{buildroot}%{_bindir}
install src/psl-make-dafsa %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1
install -m 644 src/psl-make-dafsa.1 %{buildroot}%{_mandir}/man1
%files
%defattr(-,root,root)
%doc AUTHORS NEWS src/LICENSE.chromium
%{_bindir}/psl-make-dafsa
%{_mandir}/man1/psl-make-dafsa.1%{ext_man}
%changelog