SPECS: gnutls.spec - updated to 1.6.0, package C++ interface library
qboosh
qboosh at pld-linux.org
Mon Nov 20 19:35:52 CET 2006
Author: qboosh Date: Mon Nov 20 18:35:52 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 1.6.0, package C++ interface library
---- Files affected:
SPECS:
gnutls.spec (1.69 -> 1.70)
---- Diffs:
================================================================
Index: SPECS/gnutls.spec
diff -u SPECS/gnutls.spec:1.69 SPECS/gnutls.spec:1.70
--- SPECS/gnutls.spec:1.69 Mon Nov 13 19:30:38 2006
+++ SPECS/gnutls.spec Mon Nov 20 19:35:47 2006
@@ -2,12 +2,12 @@
Summary: The GNU Transport Layer Security Library
Summary(pl): Biblioteka GNU TLS (Transport Layer Security)
Name: gnutls
-Version: 1.4.5
+Version: 1.6.0
Release: 1
License: LGPL
Group: Libraries
Source0: ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.bz2
-# Source0-md5: 30b8449e079c50a952926fd288dc6773
+# Source0-md5: 6d703515a70fae06400fc368a35010fb
Patch0: %{name}-info.patch
URL: http://www.gnu.org/software/gnutls/
BuildRequires: autoconf >= 2.60
@@ -15,6 +15,7 @@
BuildRequires: gettext-devel >= 0.14.5
BuildRequires: libcfg+-devel
BuildRequires: libgcrypt-devel >= 1.2.2
+BuildRequires: libstdc++-devel
BuildRequires: libtasn1-devel >= 0.3.4
BuildRequires: libtool >= 2:1.5
BuildRequires: lzo-devel
@@ -68,6 +69,44 @@
%description static -l pl
Biblioteka statyczna gnutls.
+%package c++
+Summary: libgnutlsxx - C++ interface to gnutls library
+Summary(pl): libgnutlsxx - interfejs C++ do biblioteki gnutls
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description c++
+libgnutlsxx - C++ interface to gnutls library.
+
+%description c++ -l pl
+libgnutlsxx - interfejs C++ do biblioteki gnutls.
+
+%package c++-devel
+Summary: Header files for libgnutlsxx, a C++ interface to gnutls library
+Summary(pl): Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls
+Group: Development/Libraries
+Requires: %{name}-c++ = %{version}-%{release}
+Requires: %{name}-devel = %{version}-%{release}
+Requires: libstdc++-devel
+
+%description c++-devel
+Header files for libgnutlsxx, a C++ interface to gnutls library.
+
+%description c++-devel -l pl
+Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls.
+
+%package c++-static
+Summary: Static version of libgnutlsxx, a C++ interface to gnutls library
+Summary(pl): Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls
+Group: Development/Libraries
+Requires: %{name}-c++-devel = %{version}-%{release}
+
+%description c++-static
+Static version of libgnutlsxx, a C++ interface to gnutls library.
+
+%description c++-static -l pl
+Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls.
+
%prep
%setup -q
%patch0 -p1
@@ -75,7 +114,7 @@
%build
%{__gettextize}
%{__libtoolize}
-%{__aclocal} -I m4 -I gl/m4
+%{__aclocal} -I m4 -I gl/m4 -I lgl/m4
%{__autoconf}
%{__autoheader}
%{__automake}
@@ -104,33 +143,62 @@
/sbin/ldconfig
[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post c++ -p /sbin/ldconfig
+%postun c++ -p /sbin/ldconfig
+
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README THANKS
%attr(755,root,root) %{_bindir}/certtool
-%attr(755,root,root) %{_bindir}/gnutls*
+%attr(755,root,root) %{_bindir}/gnutls-*
%attr(755,root,root) %{_bindir}/psktool
%attr(755,root,root) %{_bindir}/srptool
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %{_libdir}/libgnutls.so.*.*.*
+%attr(755,root,root) %{_libdir}/libgnutls-extra.so.*.*.*
+%attr(755,root,root) %{_libdir}/libgnutls-openssl.so.*.*.*
%{_mandir}/man1/certtool.1*
-%{_mandir}/man1/gnutls-*
+%{_mandir}/man1/gnutls-*.1*
%{_mandir}/man1/psktool.1*
%{_mandir}/man1/srptool.1*
-%{_infodir}/*.info*
+%{_infodir}/gnutls.info*
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/libgnutls*-config
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_bindir}/libgnutls-config
+%attr(755,root,root) %{_bindir}/libgnutls-extra-config
+%attr(755,root,root) %{_libdir}/libgnutls.so
+%attr(755,root,root) %{_libdir}/libgnutls-extra.so
+%attr(755,root,root) %{_libdir}/libgnutls-openssl.so
+%{_libdir}/libgnutls.la
+%{_libdir}/libgnutls-extra.la
+%{_libdir}/libgnutls-openssl.la
%{_includedir}/gnutls
-%{_aclocaldir}/*.m4
-%{_pkgconfigdir}/*.pc
+%exclude %{_includedir}/gnutls/gnutlsxx.h
+%{_aclocaldir}/libgnutls.m4
+%{_aclocaldir}/libgnutls-extra.m4
+%{_pkgconfigdir}/gnutls.pc
+%{_pkgconfigdir}/gnutls-extra.pc
%{_mandir}/man3/*gnutls*.3*
%files static
%defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libgnutls.a
+%{_libdir}/libgnutls-extra.a
+%{_libdir}/libgnutls-openssl.a
+
+%files c++
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgnutlsxx.so.*.*.*
+
+%files c++-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgnutlsxx.so
+%{_libdir}/libgnutlsxx.la
+%{_includedir}/gnutls/gnutlsxx.h
+
+%files c++-static
+%defattr(644,root,root,755)
+%{_libdir}/libgnutlsxx.a
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -138,6 +206,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.70 2006/11/20 18:35:47 qboosh
+- updated to 1.6.0, package C++ interface library
+
Revision 1.69 2006/11/13 18:30:38 qboosh
- updated to 1.4.5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gnutls.spec?r1=1.69&r2=1.70&f=u
More information about the pld-cvs-commit
mailing list