diff options
author | Seonah Moon <seonah1.moon@samsung.com> | 2020-02-27 16:41:08 +0900 |
---|---|---|
committer | Seonah Moon <seonah1.moon@samsung.com> | 2020-02-27 16:42:56 +0900 |
commit | f43461189fe83ff41e0e0631db303898b9acd4f6 (patch) | |
tree | 31e35c44cb57c2b49502b46e398f348af3620bcc | |
parent | 0054dbbb5b311ef9f829892e1930270f1ae9c650 (diff) | |
download | libpsl-f43461189fe83ff41e0e0631db303898b9acd4f6.tar.gz libpsl-f43461189fe83ff41e0e0631db303898b9acd4f6.tar.bz2 libpsl-f43461189fe83ff41e0e0631db303898b9acd4f6.zip |
Add spec filetizen_6.0.m2_releasesubmit/tizen_6.0_hotfix/20201103.115102submit/tizen_6.0_hotfix/20201102.192902submit/tizen_6.0/20201029.205502submit/tizen/20200302.114521accepted/tizen/unified/20200304.010442accepted/tizen/6.0/unified/hotfix/20201103.045715accepted/tizen/6.0/unified/hotfix/20201102.234835accepted/tizen/6.0/unified/20201030.105535tizen_6.0_hotfixtizen_6.0accepted/tizen_unifiedaccepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unified
Change-Id: Ie51460031c21c57d4110c7c391f2c379e56bb7a2
-rw-r--r-- | packaging/libpsl.spec | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/packaging/libpsl.spec b/packaging/libpsl.spec new file mode 100644 index 0000000..6f73112 --- /dev/null +++ b/packaging/libpsl.spec @@ -0,0 +1,60 @@ +Name: libpsl +Version: 0.21.0 +Release: 1 +Summary: C library for the Publix Suffix List +License: MIT +URL: https://rockdaboot.github.io/libpsl +Source0: %{name}-%{version}.tar.gz +BuildRequires: libicu-devel +BuildRequires: python + +%description +libpsl is a C library to handle the Public Suffix List. +A Public Suffix List is a collection of Top Level Domains (TLDs) suffixes. + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains libraries and header files for +developing applications that use %{name}. + +%package -n psl +Summary: Commandline tool + +%description -n psl +This package contains a commandline tool 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. + +%prep +%setup -q + +%build +%configure --disable-silent-rules \ + --disable-static \ + --enable-builtin=libicu +make %{?_smp_mflags} + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%license COPYING +%{_libdir}/libpsl.so.* + +%files devel +%doc AUTHORS NEWS +%{_includedir}/libpsl.h +%{_libdir}/libpsl.so +%{_libdir}/pkgconfig/libpsl.pc +%{_datadir}/man/* + +%files -n psl +%license COPYING +%{_bindir}/psl |