make guile bindings optional
- breaks i686 build and there is no dependent package
This commit is contained in:
parent
b0e98f8708
commit
36b677b3b4
16
gnutls.spec
16
gnutls.spec
@ -1,3 +1,4 @@
|
|||||||
|
%bcond_with guile
|
||||||
Summary: A TLS protocol implementation
|
Summary: A TLS protocol implementation
|
||||||
Name: gnutls
|
Name: gnutls
|
||||||
Version: 2.12.22
|
Version: 2.12.22
|
||||||
@ -8,7 +9,9 @@ Group: System Environment/Libraries
|
|||||||
BuildRequires: libgcrypt-devel >= 1.2.2, p11-kit-devel >= 0.11, gettext
|
BuildRequires: libgcrypt-devel >= 1.2.2, p11-kit-devel >= 0.11, gettext
|
||||||
BuildRequires: zlib-devel, readline-devel, libtasn1-devel >= 2.14
|
BuildRequires: zlib-devel, readline-devel, libtasn1-devel >= 2.14
|
||||||
BuildRequires: lzo-devel, libtool, automake, autoconf
|
BuildRequires: lzo-devel, libtool, automake, autoconf
|
||||||
|
%if %{with guile}
|
||||||
BuildRequires: guile-devel
|
BuildRequires: guile-devel
|
||||||
|
%endif
|
||||||
URL: http://www.gnutls.org/
|
URL: http://www.gnutls.org/
|
||||||
#Source0: ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.gz
|
#Source0: ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.gz
|
||||||
#Source1: ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.gz.sig
|
#Source1: ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.gz.sig
|
||||||
@ -51,11 +54,13 @@ Summary: Command line tools for TLS protocol
|
|||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%if %{with guile}
|
||||||
%package guile
|
%package guile
|
||||||
Summary: Guile bindings for the GNUTLS library
|
Summary: Guile bindings for the GNUTLS library
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: guile
|
Requires: guile
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GnuTLS is a project that aims to develop a library which provides a secure
|
GnuTLS is a project that aims to develop a library which provides a secure
|
||||||
@ -82,11 +87,13 @@ the proposed standards by the IETF's TLS working group.
|
|||||||
This package contains command line TLS client and server and certificate
|
This package contains command line TLS client and server and certificate
|
||||||
manipulation tools.
|
manipulation tools.
|
||||||
|
|
||||||
|
%if %{with guile}
|
||||||
%description guile
|
%description guile
|
||||||
GnuTLS is a project that aims to develop a library which provides a secure
|
GnuTLS is a project that aims to develop a library which provides a secure
|
||||||
layer, over a reliable transport layer. Currently the GnuTLS library implements
|
layer, over a reliable transport layer. Currently the GnuTLS library implements
|
||||||
the proposed standards by the IETF's TLS working group.
|
the proposed standards by the IETF's TLS working group.
|
||||||
This package contains Guile bindings for the library.
|
This package contains Guile bindings for the library.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -112,6 +119,11 @@ export LDFLAGS="-Wl,--no-add-needed"
|
|||||||
--disable-openssl-compatibility \
|
--disable-openssl-compatibility \
|
||||||
--disable-srp-authentication \
|
--disable-srp-authentication \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
|
%if %{with guile}
|
||||||
|
--enable-guile \
|
||||||
|
%else
|
||||||
|
--disable-guile \
|
||||||
|
%endif
|
||||||
%ifarch %{arm}
|
%ifarch %{arm}
|
||||||
--disable-largefile \
|
--disable-largefile \
|
||||||
%endif
|
%endif
|
||||||
@ -191,15 +203,19 @@ fi
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%doc doc/certtool.cfg
|
%doc doc/certtool.cfg
|
||||||
|
|
||||||
|
%if %{with guile}
|
||||||
%files guile
|
%files guile
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libguile*.so*
|
%{_libdir}/libguile*.so*
|
||||||
%{_datadir}/guile/site/gnutls
|
%{_datadir}/guile/site/gnutls
|
||||||
%{_datadir}/guile/site/gnutls.scm
|
%{_datadir}/guile/site/gnutls.scm
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Feb 5 2013 Tomas Mraz <tmraz@redhat.com> 2.12.22-2
|
* Tue Feb 5 2013 Tomas Mraz <tmraz@redhat.com> 2.12.22-2
|
||||||
- rebuilt with new libtasn1
|
- rebuilt with new libtasn1
|
||||||
|
- make guile bindings optional - breaks i686 build and there is
|
||||||
|
no dependent package
|
||||||
|
|
||||||
* Tue Jan 8 2013 Tomas Mraz <tmraz@redhat.com> 2.12.22-1
|
* Tue Jan 8 2013 Tomas Mraz <tmraz@redhat.com> 2.12.22-1
|
||||||
- new upstream version
|
- new upstream version
|
||||||
|
Loading…
Reference in New Issue
Block a user