Accepting request 233729 from devel:libraries:c_c++
- Cleanup with spec-cleaner - Paralelize test run OBS-URL: https://build.opensuse.org/request/show/233729 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=16
This commit is contained in:
parent
13f8a319a2
commit
edf9fa1d9e
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 13 13:35:51 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Cleanup with spec-cleaner
|
||||||
|
- Paralelize test run
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 19 12:58:12 UTC 2013 - meissner@suse.com
|
Thu Dec 19 12:58:12 UTC 2013 - meissner@suse.com
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
# vim: set sw=3 ts=3 noet:
|
|
||||||
#
|
#
|
||||||
# spec file for package libnettle
|
# spec file for package libnettle
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 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
|
||||||
@ -17,22 +16,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define soname 4
|
||||||
|
%define hogweed_soname 2
|
||||||
Name: libnettle
|
Name: libnettle
|
||||||
Version: 2.7.1
|
Version: 2.7.1
|
||||||
Release: 0
|
Release: 0
|
||||||
%define soname 4
|
|
||||||
%define hogweed_soname 2
|
|
||||||
Summary: Cryptographic Library
|
Summary: Cryptographic Library
|
||||||
License: LGPL-2.1+ and GPL-2.0+
|
License: LGPL-2.1+ and GPL-2.0+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Source0: http://www.lysator.liu.se/~nisse/archive/nettle-%{version}.tar.gz
|
Source0: http://www.lysator.liu.se/~nisse/archive/nettle-%{version}.tar.gz
|
||||||
Source1: http://www.lysator.liu.se/~nisse/archive/nettle-%{version}.tar.gz.sig
|
Source1: http://www.lysator.liu.se/~nisse/archive/nettle-%{version}.tar.gz.sig
|
||||||
Source2: %name.keyring
|
Source2: %{name}.keyring
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
BuildRequires: makeinfo
|
BuildRequires: makeinfo
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
PreReq: %install_info_prereq
|
Requires(post): %{install_info_prereq}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -41,7 +40,6 @@ 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.
|
||||||
|
|
||||||
%package -n libnettle%{soname}
|
%package -n libnettle%{soname}
|
||||||
|
|
||||||
Summary: Cryptographic Library
|
Summary: Cryptographic Library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -52,7 +50,6 @@ 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.
|
||||||
|
|
||||||
%package -n libhogweed%{hogweed_soname}
|
%package -n libhogweed%{hogweed_soname}
|
||||||
|
|
||||||
Summary: Cryptographic Library for Public Key Algorithms
|
Summary: Cryptographic Library for Public Key Algorithms
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -79,7 +76,6 @@ 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.
|
||||||
|
|
||||||
%package -n nettle
|
%package -n nettle
|
||||||
|
|
||||||
Summary: Cryptographic Tools
|
Summary: Cryptographic Tools
|
||||||
License: LGPL-2.1+ and GPL-2.0+
|
License: LGPL-2.1+ and GPL-2.0+
|
||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
@ -93,23 +89,21 @@ This package contains a few command-line tools to perform cryptographic
|
|||||||
operations using the nettle library.
|
operations using the nettle library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "nettle-%{version}"
|
%setup -q -n nettle-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
|
# Not during configure as tests use it
|
||||||
rm -f %{buildroot}%{_libdir}/*.a
|
rm -f %{buildroot}%{_libdir}/*.a
|
||||||
|
|
||||||
%post -n libnettle%{soname} -p /sbin/ldconfig
|
%post -n libnettle%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libnettle%{soname} -p /sbin/ldconfig
|
%postun -n libnettle%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libhogweed%{hogweed_soname} -p /sbin/ldconfig
|
%post -n libhogweed%{hogweed_soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libhogweed%{hogweed_soname} -p /sbin/ldconfig
|
%postun -n libhogweed%{hogweed_soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libnettle-devel
|
%post -n libnettle-devel
|
||||||
@ -119,7 +113,7 @@ rm -f %{buildroot}%{_libdir}/*.a
|
|||||||
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}"/nettle.info%{ext_info}
|
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}"/nettle.info%{ext_info}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check %{?_smp_mflags}
|
||||||
|
|
||||||
%files -n libnettle%{soname}
|
%files -n libnettle%{soname}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -149,9 +143,4 @@ make check
|
|||||||
%{_bindir}/sexp-conv
|
%{_bindir}/sexp-conv
|
||||||
%{_bindir}/nettle-hash
|
%{_bindir}/nettle-hash
|
||||||
|
|
||||||
# Local Variables:
|
|
||||||
# mode: rpm-spec
|
|
||||||
# tab-width: 3
|
|
||||||
# End:
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user