2016-11-24 11:11:20 +00:00
|
|
|
#
|
|
|
|
# spec file for package psl-make-dafsa
|
|
|
|
#
|
2024-03-13 08:38:39 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2024-03-18 07:37:08 +00:00
|
|
|
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
2016-11-24 11:11:20 +00:00
|
|
|
# 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.
|
|
|
|
|
2019-05-22 08:47:13 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-11-24 11:11:20 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: psl-make-dafsa
|
2024-03-18 07:37:08 +00:00
|
|
|
Version: 0.21.5
|
2016-11-24 11:11:20 +00:00
|
|
|
Release: 0
|
2019-06-03 07:05:57 +00:00
|
|
|
Summary: Tool to create a binary DAFSA from a Public Suffix List
|
2016-12-15 13:39:44 +00:00
|
|
|
License: BSD-3-Clause
|
2016-11-24 11:11:20 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2022-12-28 08:16:20 +00:00
|
|
|
URL: https://rockdaboot.github.io/libpsl
|
2020-07-20 07:42:43 +00:00
|
|
|
Source: https://github.com/rockdaboot/libpsl/releases/download/%{version}/libpsl-%{version}.tar.gz
|
2024-03-18 07:37:08 +00:00
|
|
|
Source2: https://github.com/rockdaboot/libpsl/releases/download/%{version}/libpsl-%{version}.tar.gz.sig
|
|
|
|
# https://savannah.nongnu.org/users/rockdaboot
|
|
|
|
# https://savannah.nongnu.org/people/viewgpg.php?user_id=87218
|
|
|
|
Source3: libpsl.keyring
|
2024-03-13 08:38:39 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2018-01-03 21:45:43 +00:00
|
|
|
Requires: python3-base
|
2016-11-24 11:11:20 +00:00
|
|
|
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
|
2024-03-18 07:37:08 +00:00
|
|
|
%autosetup -p1 -n libpsl-%{version}
|
2016-11-24 11:11:20 +00:00
|
|
|
|
|
|
|
%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
|
2024-03-18 07:37:08 +00:00
|
|
|
%{python3_fix_shebang}
|
2016-11-24 11:11:20 +00:00
|
|
|
|
|
|
|
%files
|
2018-02-26 09:37:20 +00:00
|
|
|
%license src/LICENSE.chromium
|
|
|
|
%doc AUTHORS NEWS
|
2016-11-24 11:11:20 +00:00
|
|
|
%{_bindir}/psl-make-dafsa
|
2018-04-28 13:03:48 +00:00
|
|
|
%{_mandir}/man1/psl-make-dafsa.1%{?ext_man}
|
2016-11-24 11:11:20 +00:00
|
|
|
|
|
|
|
%changelog
|