forked from pool/gnutls
Accepting request 391813 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/391813 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnutls?expand=0&rev=91
This commit is contained in:
parent
f317abc1db
commit
58772c3a5d
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 23 16:58:53 UTC 2016 - sleep_walker@opensuse.org
|
||||||
|
|
||||||
|
- enabled guile support
|
||||||
|
- removed duplicates
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 11 09:18:26 UTC 2016 - meissner@suse.com
|
Mon Apr 11 09:18:26 UTC 2016 - meissner@suse.com
|
||||||
|
|
||||||
|
28
gnutls.spec
28
gnutls.spec
@ -27,6 +27,7 @@
|
|||||||
%define gnutls_dane_sover 0
|
%define gnutls_dane_sover 0
|
||||||
%endif
|
%endif
|
||||||
%bcond_with tpm
|
%bcond_with tpm
|
||||||
|
%bcond_without guile
|
||||||
|
|
||||||
Name: gnutls
|
Name: gnutls
|
||||||
Version: 3.4.11
|
Version: 3.4.11
|
||||||
@ -43,6 +44,7 @@ Source3: baselibs.conf
|
|||||||
|
|
||||||
BuildRequires: autogen
|
BuildRequires: autogen
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libidn-devel
|
BuildRequires: libidn-devel
|
||||||
BuildRequires: libnettle-devel >= 3.1
|
BuildRequires: libnettle-devel >= 3.1
|
||||||
@ -55,6 +57,9 @@ BuildRequires: trousers-devel
|
|||||||
BuildRequires: libunbound-devel
|
BuildRequires: libunbound-devel
|
||||||
Requires: libgnutls-dane%{gnutls_dane_sover} = %{version}
|
Requires: libgnutls-dane%{gnutls_dane_sover} = %{version}
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with guile}
|
||||||
|
BuildRequires: guile-devel
|
||||||
|
%endif
|
||||||
# disabled ppc - valgrind crashes on email cert tests currently. Marcus 20150413
|
# disabled ppc - valgrind crashes on email cert tests currently. Marcus 20150413
|
||||||
# disabled armv7l - valgrind appears to mishandle some insns
|
# disabled armv7l - valgrind appears to mishandle some insns
|
||||||
# disabled aarch64 - valgrind mishandles exclusive load/store causing deadlocks
|
# disabled aarch64 - valgrind mishandles exclusive load/store causing deadlocks
|
||||||
@ -170,6 +175,16 @@ Requires: libgnutls-openssl%{gnutls_ossl_sover} = %{version}
|
|||||||
%description -n libgnutls-openssl-devel
|
%description -n libgnutls-openssl-devel
|
||||||
Files needed for software development using gnutls.
|
Files needed for software development using gnutls.
|
||||||
|
|
||||||
|
%if %{with guile}
|
||||||
|
%package guile
|
||||||
|
Summary: Guile wrappers for gnutls
|
||||||
|
License: LGPL-2.1+
|
||||||
|
Group: Development/Libraries/Other
|
||||||
|
Requires: guile
|
||||||
|
|
||||||
|
%description guile
|
||||||
|
GnuTLS Wrappers for GNU Guile - dialect of scheme.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -189,6 +204,7 @@ autoreconf -if
|
|||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--with-default-trust-store-dir=/var/lib/ca-certificates/pem \
|
--with-default-trust-store-dir=/var/lib/ca-certificates/pem \
|
||||||
--with-sysroot=/%{?_sysroot} \
|
--with-sysroot=/%{?_sysroot} \
|
||||||
|
--with-guile-site-dir=no \
|
||||||
%if %{without tpm}
|
%if %{without tpm}
|
||||||
--without-tpm \
|
--without-tpm \
|
||||||
%endif
|
%endif
|
||||||
@ -217,6 +233,11 @@ rm -f %{buildroot}%{_libdir}/*.la
|
|||||||
%__mkdir -p %{buildroot}%{_docdir}/libgnutls-devel/examples
|
%__mkdir -p %{buildroot}%{_docdir}/libgnutls-devel/examples
|
||||||
%__cp doc/examples/*.{c,h} %{buildroot}%{_docdir}/libgnutls-devel/examples/
|
%__cp doc/examples/*.{c,h} %{buildroot}%{_docdir}/libgnutls-devel/examples/
|
||||||
|
|
||||||
|
# PNG files are replaced with the compressed files and that breaks
|
||||||
|
# deduplication, this is workaround
|
||||||
|
find %{buildroot}%{_datadir} -name '*.png' -exec gzip -9 {} +
|
||||||
|
%fdupes -s %{buildroot}%{_datadir}
|
||||||
|
|
||||||
%find_lang libgnutls --all-name
|
%find_lang libgnutls --all-name
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -338,4 +359,11 @@ rm -f %{buildroot}%{_libdir}/*.la
|
|||||||
%dir %{_includedir}/%{name}
|
%dir %{_includedir}/%{name}
|
||||||
%{_includedir}/%{name}/openssl.h
|
%{_includedir}/%{name}/openssl.h
|
||||||
|
|
||||||
|
%if %{with guile}
|
||||||
|
%files guile
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/guile/*
|
||||||
|
%{_datadir}/guile/site/gnutls*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user