Accepting request 103259 from devel:libraries:c_c++

spec cleanup

OBS-URL: https://build.opensuse.org/request/show/103259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=8
This commit is contained in:
Stephan Kulow 2012-02-10 16:16:59 +00:00 committed by Git OBS Bridge
parent 1abde36d26
commit a0c0548da9
2 changed files with 14 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 31 12:24:52 UTC 2012 - jengelh@medozas.de
- Remove redundant tags/sections per specfile guideline suggestions
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 24 15:58:07 UTC 2011 - crrodriguez@opensuse.org Sat Sep 24 15:58:07 UTC 2011 - crrodriguez@opensuse.org

View File

@ -1,7 +1,8 @@
# vim: set sw=3 ts=3 noet:
# #
# spec file for package libnettle # spec file for package libnettle
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,14 +17,13 @@
# #
Name: libnettle Name: libnettle
Version: 2.4 Version: 2.4
Release: 3 Release: 0
License: LGPL-2.1+ and GPL-2.0+
%define soname 4 %define soname 4
%define hogweed_soname 2 %define hogweed_soname 2
Summary: Cryptographic Library Summary: Cryptographic Library
License: LGPL-2.1+ and GPL-2.0+
Group: System/Libraries Group: System/Libraries
Source0: ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-%{version}.tar.gz Source0: ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-%{version}.tar.gz
Source1: baselibs.conf Source1: baselibs.conf
@ -39,8 +39,8 @@ Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
%package -n libnettle%{soname} %package -n libnettle%{soname}
License: LGPL-2.1+
Summary: Cryptographic Library Summary: Cryptographic Library
License: LGPL-2.1+
Group: System/Libraries Group: System/Libraries
%description -n libnettle%{soname} %description -n libnettle%{soname}
@ -50,8 +50,8 @@ Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
%package -n libhogweed%{hogweed_soname} %package -n libhogweed%{hogweed_soname}
License: LGPL-2.1+
Summary: Cryptographic Library for Public Key Algorithms Summary: Cryptographic Library for Public Key Algorithms
License: LGPL-2.1+
Group: System/Libraries Group: System/Libraries
%description -n libhogweed%{hogweed_soname} %description -n libhogweed%{hogweed_soname}
@ -59,11 +59,11 @@ Nettle is a cryptographic library that is designed to fit easily in more or
less any context: In crypto toolkits for object-oriented languages (C++, less any context: In crypto toolkits for object-oriented languages (C++,
Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
The libhogweed library contains public key algorithms to use with libnettie. The libhogweed library contains public key algorithms to use with libnettle.
%package -n libnettle-devel %package -n libnettle-devel
License: LGPL-2.1+
Summary: Cryptographic Library Summary: Cryptographic Library
License: LGPL-2.1+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: glibc-devel Requires: glibc-devel
Requires: gmp-devel Requires: gmp-devel
@ -78,6 +78,7 @@ Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
%package -n nettle %package -n nettle
Summary: Cryptographic Tools Summary: Cryptographic Tools
License: LGPL-2.1+ and GPL-2.0+
Group: Productivity/Security Group: Productivity/Security
%description -n nettle %description -n nettle
@ -115,9 +116,6 @@ rm -f %{buildroot}%{_libdir}/*.a
%postun -n libnettle-devel %postun -n libnettle-devel
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}"/nettle.info%{ext_info} %install_info_delete --info-dir="%{_infodir}" "%{_infodir}"/nettle.info%{ext_info}
%clean
rm -rf %{buildroot}
%check %check
make check make check
@ -149,7 +147,6 @@ make check
%{_bindir}/sexp-conv %{_bindir}/sexp-conv
%{_bindir}/nettle-hash %{_bindir}/nettle-hash
# vim: set sw=3 ts=3 noet:
# Local Variables: # Local Variables:
# mode: rpm-spec # mode: rpm-spec
# tab-width: 3 # tab-width: 3