Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Guillaume_G:WSL
mingw64-libpsl
mingw64-libpsl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-libpsl.spec of Package mingw64-libpsl
# # spec file for package mingw64-libpsl # # Copyright (c) 2018 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/ # %define somajor 5 %define _basename libpsl Name: mingw64-%{_basename} Version: 0.20.2 Release: 0 Summary: C library for the Publix Suffix List License: MIT AND MPL-2.0 AND BSD-3-Clause Group: Development/Libraries/C and C++ Url: https://rockdaboot.github.io/libpsl Source: https://github.com/rockdaboot/libpsl/releases/download/%{_basename}-%{version}/%{_basename}-%{version}.tar.gz Patch0: libpsl-0.20.2-windows.patch BuildRequires: autoconf BuildRequires: automake %if %suse_version >= 1599 BuildRequires: gtk-doc %endif BuildRequires: libtool BuildRequires: mingw64-cross-binutils BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-cross-gcc-c++ BuildRequires: mingw64-cross-pkg-config BuildRequires: mingw64-libicu-devel BuildRequires: mingw64-libintl-devel BuildRequires: mingw64-win_iconv-devel BuildRequires: python %_mingw64_package_header_debug BuildArch: noarch %description libpsl is a C library to handle the Public Suffix List. A "public suffix" is a domain name under which Internet users can directly register own names. HTTP user agents can use it to avoid privacy-leaking "supercookies" and "super domain" certificates. It is also use do highlight domain parts in a user interface and sorting domain lists by site. %package -n mingw64-%{name}%{somajor} Summary: C library for the Publix Suffix List # The libary code is MIT, with built-in data from publicsuffix License: MIT AND MPL-2.0 Group: System/Libraries %description -n mingw64-%{name}%{somajor} libpsl is a C library to handle the Public Suffix List. A "public suffix" is a domain name under which Internet users can directly register own names. HTTP user agents can use it to avoid privacy-leaking "supercookies" and "super domain" certificates. It is also use do highlight domain parts in a user interface and sorting domain lists by site. %package devel Summary: Development files for %{name} License: MIT Group: Development/Libraries/C and C++ %description devel libpsl is a C library to handle the Public Suffix List. A "public suffix" is a domain name under which Internet users can directly register own names. HTTP user agents can use it to avoid privacy-leaking "supercookies" and "super domain" certificates. It is also use do highlight domain parts in a user interface and sorting domain lists by site. This package contains libraries and header files. Developer documentation is in %{_docdir}/libpsl-devel/html . %package -n mingw64-psl Summary: Commandline utility to explore the Public Suffix List License: MIT Group: Productivity/Networking/Other %description -n mingw64-psl This package contains a commandline utility to explore the Public Suffix List, for example it checks if domains are public suffixes, checks if cookie-domain is acceptable for domains and so on. HTTP user agents can use it to avoid privacy-leaking "supercookies" and "super domain" certificates. It is also use do highlight domain parts in a user interface and sorting domain lists by site. %_mingw64_debug_package %prep %setup -q -n %{_basename}-%{version} %patch -P 0 -p1 # fix env shebang to call py3 directly sed -i -e "1s|#!.*|#!%{_bindir}/python|" src/psl-make-dafsa %build libtoolize --force --copy --install autoreconf -fi echo "lt_cv_deplibs_check_method='pass_all'" >> %{_mingw64_cache} %_mingw64_configure \ --disable-static make %{?_smp_mflags} %install %{_mingw64_make} DESTDIR=%{buildroot} install find %{buildroot} -type f -name "*.la" -delete -print %{_mingw64_make} DESTDIR=%{buildroot} install-man rm -f %{buildroot}%{_mingw64_mandir}/man1/psl-make-dafsa.1* %files -n mingw64-%{name}%{somajor} %defattr(-,root,root) %{_mingw64_bindir}/%{_basename}-%{somajor}.dll %files devel %defattr(-,root,root) %doc docs/libpsl/html %{_mingw64_includedir}/libpsl.h %{_mingw64_libdir}/%{_basename}.dll.a %{_mingw64_libdir}/pkgconfig/libpsl.pc %files -n mingw64-psl %defattr(-,root,root) %doc AUTHORS COPYING NEWS %{_mingw64_bindir}/psl.exe %{_mingw64_mandir}/man1/psl.1* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor