diff --git a/gnutls.spec b/gnutls.spec index cc1f69b..f311862 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -15,12 +15,12 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define gnutls_sover 28 %define gnutlsxx_sover 28 %define gnutls_ossl_sover 27 %define gnutls_extra_sover 28 - Name: gnutls Version: 3.0.0 Release: 1 @@ -42,10 +42,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %ifarch ppc64 Obsoletes: gnutls-64bit %endif -Patch0: 0001-Included-appro-s-updates-to-AES-NI.patch -Patch1: 0002-Added-note.GNU-stack-to-prevent-marking-the-library-.patch -Patch2: 0003-Force-alignment-for-AES-NI-to-the-runtime-rather-tha.patch -Patch3: 0006-Added-AES-256-GCM.-Reported-by-Benjamin-Hof.patch +Patch0: 0001-Included-appro-s-updates-to-AES-NI.patch +Patch1: 0002-Added-note.GNU-stack-to-prevent-marking-the-library-.patch +Patch2: 0003-Force-alignment-for-AES-NI-to-the-runtime-rather-tha.patch +Patch3: 0006-Added-AES-256-GCM.-Reported-by-Benjamin-Hof.patch %description The GnuTLS project aims to develop a library that provides a secure @@ -53,6 +53,7 @@ layer over a reliable transport layer. Currently the GnuTLS library implements the proposed standards of the IETF's TLS working group. %package -n libgnutls%{gnutls_sover} + License: LGPLv2.1+ Summary: The GNU Transport Layer Security Library Group: Productivity/Networking/Security @@ -63,6 +64,7 @@ layer over a reliable transport layer. Currently the GnuTLS library implements the proposed standards of the IETF's TLS working group. %package -n libgnutlsxx%{gnutlsxx_sover} + License: LGPLv2.1+ Summary: The GNU Transport Layer Security Library Group: Productivity/Networking/Security @@ -74,6 +76,7 @@ implements the proposed standards of the IETF's TLS working group. %package -n libgnutls-extra%{gnutls_extra_sover} + License: GPLv3+ Summary: The GNU Transport Layer Security Library Group: Productivity/Networking/Security @@ -85,6 +88,7 @@ implements the proposed standards of the IETF's TLS working group. %package -n libgnutls-openssl%{gnutls_ossl_sover} + License: GPLv3+ Summary: The GNU Transport Layer Security Library Group: Productivity/Networking/Security @@ -115,7 +119,6 @@ Requires: libgnutlsxx%{gnutlsxx_sover} = %{version} Requires: libgnutls-devel = %{version} Requires: libstdc++-devel - %description -n libgnutlsxx-devel Files needed for software development using gnutls. @@ -127,7 +130,6 @@ Group: Development/Libraries/C and C++ Requires: libgnutls-openssl%{gnutls_ossl_sover} = %{version} Requires: libgnutls-devel = %{version} - %description -n libgnutls-openssl-devel Files needed for software development using gnutls. @@ -193,7 +195,6 @@ rm -rf %{buildroot} %postun -n libgnutls-extra%{gnutls_extra_sover} -p /sbin/ldconfig - %post -n libgnutlsxx%{gnutlsxx_sover} -p /sbin/ldconfig %postun -n libgnutlsxx%{gnutlsxx_sover} -p /sbin/ldconfig @@ -238,7 +239,6 @@ rm -rf %{buildroot} %defattr(-,root,root) %{_libdir}/libgnutlsxx.so.%{gnutlsxx_sover}* - %files -n libgnutls-devel %defattr(-, root, root) %dir %{_includedir}/%{name} @@ -257,21 +257,18 @@ rm -rf %{buildroot} %{_infodir}/*.* %doc doc/examples doc/gnutls.html doc/*.png doc/gnutls.pdf doc/reference/html/* - %files -n libgnutlsxx-devel %defattr(-, root, root) %{_libdir}/libgnutlsxx.so %dir %{_includedir}/%{name} %{_includedir}/%{name}/gnutlsxx.h - %files -n libgnutls-openssl-devel %defattr(-, root, root) %{_libdir}/libgnutls-openssl.so %dir %{_includedir}/%{name} %{_includedir}/%{name}/openssl.h - %files -n libgnutls-extra-devel %defattr(-, root, root) %dir %{_includedir}/%{name}