2013-04-30 08:42:16 +00:00
|
|
|
#
|
|
|
|
# spec file for package libgt
|
|
|
|
#
|
2017-12-28 13:26:00 +00:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-04-30 08:42:16 +00: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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libgt
|
|
|
|
Version: 0.3.11
|
|
|
|
Release: 0
|
|
|
|
Summary: C library for GuardTime Keyless Signature Service
|
2013-04-30 11:26:50 +00:00
|
|
|
License: Apache-2.0
|
2013-04-30 08:42:16 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Url: http://www.guardtime.com/
|
2017-12-28 13:26:00 +00:00
|
|
|
Source0: %{name}-%{version}-src.tgz
|
|
|
|
Patch1: libgt-%{version}.diff
|
|
|
|
BuildRequires: automake
|
2013-04-30 08:42:16 +00:00
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2013-04-30 09:32:54 +00:00
|
|
|
BuildRequires: libtool
|
2013-04-30 08:42:16 +00:00
|
|
|
BuildRequires: pkgconfig
|
2017-12-28 13:26:00 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-04-30 08:42:16 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides the GuardTime Keyless Signature Service
|
|
|
|
Client SDK libraries and header files.
|
|
|
|
|
2013-04-30 09:41:03 +00:00
|
|
|
The digital timestamping component of the service is officially
|
|
|
|
certified and Guardtime is accredited as a timestamp authority
|
|
|
|
by the European Union.
|
|
|
|
|
2013-04-30 08:42:16 +00:00
|
|
|
%package -n libgtbase0
|
|
|
|
Summary: Base library for GuardTime Keyless Signature Service
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description -n libgtbase0
|
|
|
|
This package provides the GuardTime Keyless Signature Service
|
|
|
|
Client base runtime library.
|
|
|
|
|
2013-04-30 09:41:03 +00:00
|
|
|
The digital timestamping component of the service is officially
|
|
|
|
certified and Guardtime is accredited as a timestamp authority
|
|
|
|
by the European Union.
|
|
|
|
|
2013-04-30 08:42:16 +00:00
|
|
|
%package -n libgthttp0
|
|
|
|
Summary: HTTP library for GuardTime Keyless Signature Service
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description -n libgthttp0
|
|
|
|
This package provides the GuardTime Keyless Signature Service
|
|
|
|
Client http runtime library.
|
|
|
|
|
2013-04-30 09:41:03 +00:00
|
|
|
The digital timestamping component of the service is officially
|
|
|
|
certified and Guardtime is accredited as a timestamp authority
|
|
|
|
by the European Union.
|
|
|
|
|
2013-04-30 08:42:16 +00:00
|
|
|
%package -n libgtpng0
|
|
|
|
Summary: PNG library for GuardTime Keyless Signature Service
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description -n libgtpng0
|
|
|
|
This package provides the GuardTime Keyless Signature Service
|
|
|
|
Client png runtime library.
|
|
|
|
|
2013-04-30 09:41:03 +00:00
|
|
|
The digital timestamping component of the service is officially
|
|
|
|
certified and Guardtime is accredited as a timestamp authority
|
|
|
|
by the European Union.
|
|
|
|
|
2013-04-30 08:42:16 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Client C SDK for GuardTime Keyless Signature Service
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libgtbase0 = %{version}
|
|
|
|
Requires: libgthttp0 = %{version}
|
|
|
|
Requires: libgtpng0 = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides the GuardTime Keyless Signature Service
|
|
|
|
Client SDK libraries and header files.
|
|
|
|
|
2013-04-30 09:41:03 +00:00
|
|
|
The digital timestamping component of the service is officially
|
|
|
|
certified and Guardtime is accredited as a timestamp authority
|
|
|
|
by the European Union.
|
|
|
|
|
2013-04-30 08:42:16 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2017-12-28 13:26:00 +00:00
|
|
|
%patch1
|
2013-04-30 08:42:16 +00:00
|
|
|
|
|
|
|
%build
|
2013-04-30 09:32:54 +00:00
|
|
|
autoreconf -fi
|
2013-04-30 08:42:16 +00:00
|
|
|
%configure \
|
|
|
|
--disable-static
|
2017-12-28 13:26:00 +00:00
|
|
|
make %{?_smp_mflags}
|
2013-04-30 08:42:16 +00:00
|
|
|
|
|
|
|
%check
|
2017-12-28 13:26:00 +00:00
|
|
|
make %{?_smp_mflags} check
|
2013-04-30 08:42:16 +00:00
|
|
|
|
|
|
|
%install
|
2017-12-28 13:26:00 +00:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
rm -rf "%{buildroot}/%{_datadir}/doc/%{name}"
|
2013-04-30 08:42:16 +00:00
|
|
|
|
|
|
|
%post -n libgtbase0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libgthttp0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libgtpng0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgtbase0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgthttp0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgtpng0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libgtbase0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libgtbase.so.0*
|
|
|
|
|
|
|
|
%files -n libgthttp0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libgthttp.so.0*
|
|
|
|
|
|
|
|
%files -n libgtpng0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libgtpng.so.0*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2013-04-30 09:32:54 +00:00
|
|
|
%{_libdir}/pkgconfig/libgt.pc
|
2013-04-30 08:42:16 +00:00
|
|
|
%{_libdir}/libgtbase.so
|
|
|
|
%{_libdir}/libgthttp.so
|
|
|
|
%{_libdir}/libgtpng.so
|
2017-12-28 13:26:00 +00:00
|
|
|
%{_includedir}/gt_base.h
|
|
|
|
%{_includedir}/gt_http.h
|
|
|
|
%{_includedir}/gt_png.h
|
2013-04-30 08:42:16 +00:00
|
|
|
%doc changelog
|
|
|
|
%doc doc/*.pdf
|
|
|
|
%doc src/license*.txt
|
|
|
|
|
|
|
|
%changelog
|