From 516c4bfbd69439fcec691d89b3e312a0696383abe1e74f05a121253dff95707a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 3 Mar 2021 07:11:55 +0000 Subject: [PATCH] Accepting request 875942 from home:jirislaby This is needed for newer datovka (instead of libisds). OBS-URL: https://build.opensuse.org/request/show/875942 OBS-URL: https://build.opensuse.org/package/show/network/libdatovka?expand=0&rev=1 --- .gitattributes | 23 +++++++++ .gitignore | 1 + libdatovka-0.1.1.tar.xz | 3 ++ libdatovka-0.1.1.tar.xz.sha256 | 1 + libdatovka.changes | 4 ++ libdatovka.spec | 88 ++++++++++++++++++++++++++++++++++ 6 files changed, 120 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libdatovka-0.1.1.tar.xz create mode 100644 libdatovka-0.1.1.tar.xz.sha256 create mode 100644 libdatovka.changes create mode 100644 libdatovka.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libdatovka-0.1.1.tar.xz b/libdatovka-0.1.1.tar.xz new file mode 100644 index 0000000..8922d0a --- /dev/null +++ b/libdatovka-0.1.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44087c07a9ba96990d6dab56913686fd95be53d851b3751a81972599f4238d46 +size 672104 diff --git a/libdatovka-0.1.1.tar.xz.sha256 b/libdatovka-0.1.1.tar.xz.sha256 new file mode 100644 index 0000000..6b8fe96 --- /dev/null +++ b/libdatovka-0.1.1.tar.xz.sha256 @@ -0,0 +1 @@ +44087c07a9ba96990d6dab56913686fd95be53d851b3751a81972599f4238d46 diff --git a/libdatovka.changes b/libdatovka.changes new file mode 100644 index 0000000..013a293 --- /dev/null +++ b/libdatovka.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Mar 1 09:43:33 UTC 2021 - Jiri Slaby + +- initial version (0.1.1) diff --git a/libdatovka.spec b/libdatovka.spec new file mode 100644 index 0000000..511067b --- /dev/null +++ b/libdatovka.spec @@ -0,0 +1,88 @@ +# +# spec file for package datovka +# +# Copyright (c) 2019 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 https://bugs.opensuse.org/ +# + +%define libname %{name}0 +Name: libdatovka +Version: 0.1.1 +Release: 0 +Summary: Library for accessing the Czech Data Boxes +License: GPL-3.0-or-later +URL: https://www.datovka.cz/cs/pages/libdatovka.html +Source0: https://secure.nic.cz/files/datove_schranky/%{name}/%{name}-%{version}.tar.xz +Source1: https://secure.nic.cz/files/datove_schranky/%{name}/%{name}-%{version}.tar.xz.sha256 +BuildRequires: docbook-xsl-stylesheets +BuildRequires: libcurl-devel +BuildRequires: libexpat-devel +BuildRequires: libgcrypt-devel +BuildRequires: libgpgme-devel +BuildRequires: libxml2-devel +BuildRequires: libxslt-tools + +%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 +%autosetup -p1 + +%build +%configure \ + --disable-static \ + --with-docbook-xsl-stylesheets=/usr/share/xml/docbook/stylesheet/nwalsh/current +make %{?_smp_mflags} + +%install +%make_install +%find_lang %{name} +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files -n %{libname} -f %{name}.lang +%license COPYING +%doc AUTHORS +%{_libdir}/*.so.* + +%files devel +%doc client +%dir %{_includedir}/%{name} +%{_includedir}/%{name}/isds.h +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}.pc +%{_mandir}/man3/*.3.gz + +%changelog