Search
SailfishOS Open Build Service
>
Projects
>
home:aard
:
merde
>
gnutls-gpl3
> gnutls-gpl3.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File gnutls-gpl3.spec of Package gnutls-gpl3
%define _name gnutls Summary: A TLS protocol implementation Name: gnutls-gpl3 Version: 2.10.4 Release: 1 # The libgnutls core library is LGPLv2+, MeeGo doesn't ship other # utilities or remaining libraries # This package includes excluded parts License: GPLv3 Group: System/Libraries BuildRequires: libgcrypt-devel >= 1.2.2, gettext BuildRequires: zlib-devel, readline-devel, libtasn1-devel BuildRequires: lzo-devel, libtool, automake, autoconf URL: http://www.gnutls.org/ #Source0: ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.gz #Source1: ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.gz.sig # XXX patent tainted SRP code removed. Source0: %{_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: libgcrypt >= 1.2.2 %package devel Summary: Development files for the %{name} package Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libgcrypt-devel Requires: pkgconfig Requires(post): /sbin/install-info Requires(preun): /sbin/install-info Requires: %{_name} = %{version} %description 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 the proposed standards by the IETF's TLS working group. %description devel 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 the proposed standards by the IETF's TLS working group. This package contains files needed for developing applications with the GnuTLS library. %prep %setup -q -n %{_name}-%{version} %build %configure --with-libtasn1-prefix=%{_prefix} \ --disable-srp-authentication make %install rm -fr $RPM_BUILD_ROOT make install DESTDIR=${RPM_BUILD_ROOT} rm -f $RPM_BUILD_ROOT%{_libdir}/libgnutls.* rm -f $RPM_BUILD_ROOT%{_libdir}/libgnutlsxx.* rm -f $RPM_BUILD_ROOT%{_libdir}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gnutls.pc rm -Rf $RPM_BUILD_ROOT%{_datadir}/locale rm -f $RPM_BUILD_ROOT%{_infodir}/dir cd $RPM_BUILD_ROOT%{_includedir}/gnutls \ && rm compat.h crypto.h gnutls.h gnutlsxx.h openpgp.h pkcs12.h x509.h %clean rm -fr $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel if [ -f %{_infodir}/gnutls.info.gz ]; then /sbin/install-info %{_infodir}/gnutls.info.gz %{_infodir}/dir || : fi %preun devel if [ $1 = 0 -a -f %{_infodir}/gnutls.info.gz ]; then /sbin/install-info --delete %{_infodir}/gnutls.info.gz %{_infodir}/dir || : fi %files %defattr(-,root,root,-) %{_bindir}/* %{_libdir}/libgnutls-*.so.* #%doc lib/COPYING.LIB README AUTHORS %doc %{_mandir}/man1/* %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/libgnutls-*.so %{_libdir}/pkgconfig/*.pc %doc %{_mandir}/man3/* %{_infodir}/gnutls*