2015-01-12 11:48:06 +01:00
|
|
|
|
#
|
|
|
|
|
# spec file for package libisds
|
|
|
|
|
#
|
2019-11-29 11:16:36 +01:00
|
|
|
|
# Copyright (c) 2019 SUSE LLC
|
2015-01-12 11:48:06 +01:00
|
|
|
|
#
|
|
|
|
|
# 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-21 10:16:29 +02:00
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-01-12 11:48:06 +01:00
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define libname %{name}5
|
|
|
|
|
Name: libisds
|
2019-11-29 10:48:29 +01:00
|
|
|
|
Version: 0.11
|
2015-01-12 11:48:06 +01:00
|
|
|
|
Release: 0
|
|
|
|
|
Summary: Library for accessing the Czech Data Boxes
|
2018-08-13 09:11:39 +02:00
|
|
|
|
License: LGPL-3.0-or-later
|
2019-06-03 10:00:06 +02:00
|
|
|
|
Group: Development/Libraries/C and C++
|
2018-08-13 09:11:39 +02:00
|
|
|
|
URL: http://xpisar.wz.cz/libisds/
|
2015-01-12 11:48:06 +01:00
|
|
|
|
Source0: http://xpisar.wz.cz/%{name}/dist/%{name}-%{version}.tar.xz
|
2016-04-11 20:51:29 +02:00
|
|
|
|
Source1: http://xpisar.wz.cz/%{name}/dist/%{name}-%{version}.tar.xz.asc
|
|
|
|
|
Source2: %{name}.keyring
|
2019-11-29 10:48:29 +01:00
|
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
2015-01-12 11:48:06 +01:00
|
|
|
|
BuildRequires: gpg2
|
|
|
|
|
BuildRequires: libgcrypt-devel
|
2016-04-11 20:51:29 +02:00
|
|
|
|
BuildRequires: libgpgme-devel
|
2018-08-13 09:11:39 +02:00
|
|
|
|
BuildRequires: pkgconfig
|
2019-11-29 10:48:29 +01:00
|
|
|
|
BuildRequires: xsltproc
|
2015-01-12 11:48:06 +01:00
|
|
|
|
BuildRequires: pkgconfig(expat) >= 2.0.0
|
|
|
|
|
BuildRequires: pkgconfig(gnutls) >= 2.12.0
|
2015-09-07 10:20:04 +02:00
|
|
|
|
BuildRequires: pkgconfig(libcrypto)
|
2015-01-12 11:48:06 +01:00
|
|
|
|
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}
|
2016-04-11 20:51:29 +02:00
|
|
|
|
Group: Development/Languages/C and C++
|
2015-01-12 11:48:06 +01:00
|
|
|
|
Requires: %{libname} = %{version}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
2019-11-29 10:48:29 +01:00
|
|
|
|
%autosetup -p1
|
2015-01-12 11:48:06 +01:00
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure \
|
2017-06-04 08:25:10 +02:00
|
|
|
|
--disable-fatalwarnings \
|
2016-04-11 20:51:29 +02:00
|
|
|
|
--disable-static \
|
|
|
|
|
--enable-test \
|
2019-11-29 10:48:29 +01:00
|
|
|
|
--with-docbook-xsl-stylesheets=/usr/share/xml/docbook/stylesheet/nwalsh/current/ \
|
2016-04-11 20:51:29 +02:00
|
|
|
|
--with-libcurl \
|
2019-05-23 11:25:08 +02:00
|
|
|
|
--disable-openssl-backend
|
2015-01-12 11:48:06 +01:00
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
2018-08-13 09:11:39 +02:00
|
|
|
|
%make_install
|
2015-01-12 11:48:06 +01:00
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
mv doc specification
|
|
|
|
|
rm -rf client/.deps
|
2019-11-29 10:48:29 +01:00
|
|
|
|
rm -f specification/Makefile*
|
|
|
|
|
rm -f specification/*.3
|
2015-01-12 11:48:06 +01:00
|
|
|
|
|
|
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files -n %{libname} -f %{name}.lang
|
2018-08-13 09:11:39 +02:00
|
|
|
|
%license COPYING
|
|
|
|
|
%doc README AUTHORS NEWS TODO
|
2015-01-12 11:48:06 +01:00
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/isds.h
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2019-11-29 10:48:29 +01:00
|
|
|
|
%{_mandir}/man3/*.3.gz
|
2015-01-12 11:48:06 +01:00
|
|
|
|
%doc client specification
|
|
|
|
|
|
|
|
|
|
%changelog
|