forked from pool/libisds
c9974f37e4
* Various memory leaks fixed * Recognise EV8 OBS-URL: https://build.opensuse.org/package/show/network/libisds?expand=0&rev=17
101 lines
2.9 KiB
RPMSpec
101 lines
2.9 KiB
RPMSpec
#
|
||
# spec file for package libisds
|
||
#
|
||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||
#
|
||
# 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 libname %{name}5
|
||
Name: libisds
|
||
Version: 0.10.8
|
||
Release: 0
|
||
Summary: Library for accessing the Czech Data Boxes
|
||
License: LGPL-3.0-or-later
|
||
Group: System/Libraries
|
||
URL: http://xpisar.wz.cz/libisds/
|
||
Source0: http://xpisar.wz.cz/%{name}/dist/%{name}-%{version}.tar.xz
|
||
Source1: http://xpisar.wz.cz/%{name}/dist/%{name}-%{version}.tar.xz.asc
|
||
Source2: %{name}.keyring
|
||
BuildRequires: gpg2
|
||
BuildRequires: libgcrypt-devel
|
||
BuildRequires: libgpgme-devel
|
||
BuildRequires: pkgconfig
|
||
BuildRequires: pkgconfig(expat) >= 2.0.0
|
||
BuildRequires: pkgconfig(gnutls) >= 2.12.0
|
||
BuildRequires: pkgconfig(libcrypto)
|
||
BuildRequires: pkgconfig(libcurl)
|
||
BuildRequires: pkgconfig(libxml-2.0)
|
||
Requires: gpg2
|
||
|
||
%description
|
||
This is a library for accessing ISDS (Informační systém datových schránek /
|
||
Data Box Information System) SOAP services as defined in Czech ISDS Act
|
||
(300/2008 Coll.) and implied documents.
|
||
|
||
%package -n %{libname}
|
||
Summary: Library for accessing the Czech Data Boxes
|
||
Group: System/Libraries
|
||
|
||
%description -n %{libname}
|
||
This is a library for accessing ISDS (Informační systém datových schránek /
|
||
Data Box Information System) SOAP services as defined in Czech ISDS Act
|
||
(300/2008 Coll.) and implied documents.
|
||
|
||
%package devel
|
||
Summary: Development files for %{name}
|
||
Group: Development/Languages/C and C++
|
||
Requires: %{libname} = %{version}
|
||
|
||
%description devel
|
||
The %{name}-devel package contains libraries and header files for
|
||
developing applications that use %{name}.
|
||
|
||
%prep
|
||
%setup -q
|
||
|
||
%build
|
||
%configure \
|
||
--disable-fatalwarnings \
|
||
--disable-static \
|
||
--enable-test \
|
||
--with-libcurl \
|
||
--enable-openssl-backend
|
||
make %{?_smp_mflags}
|
||
|
||
%check
|
||
make check %{?_smp_mflags}
|
||
|
||
%install
|
||
%make_install
|
||
find %{buildroot} -type f -name "*.la" -delete -print
|
||
%find_lang %{name}
|
||
mv doc specification
|
||
rm -rf client/.deps
|
||
|
||
%post -n %{libname} -p /sbin/ldconfig
|
||
%postun -n %{libname} -p /sbin/ldconfig
|
||
|
||
%files -n %{libname} -f %{name}.lang
|
||
%license COPYING
|
||
%doc README AUTHORS NEWS TODO
|
||
%{_libdir}/*.so.*
|
||
|
||
%files devel
|
||
%{_includedir}/isds.h
|
||
%{_libdir}/*.so
|
||
%{_libdir}/pkgconfig/%{name}.pc
|
||
%doc client specification
|
||
|
||
%changelog
|