Accepting request 79152 from devel:libraries:c_c++
Fixed licenses OBS-URL: https://build.opensuse.org/request/show/79152 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=1
This commit is contained in:
commit
9fefcb815f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
20
libnettle.changes
Normal file
20
libnettle.changes
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 17 17:52:58 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Fix licenses [bnc#712616]
|
||||||
|
- run make check
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 16 01:31:39 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.2, bump sonames accordingly
|
||||||
|
- Fix build in factory
|
||||||
|
- Fix -devel package dependencies
|
||||||
|
- Tune up spec file in order to submit package to factory
|
||||||
|
as is needed for gnutls version 3.x
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 5 22:31:53 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- initial package (2.0)
|
||||||
|
|
139
libnettle.spec
Normal file
139
libnettle.spec
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: libnettle
|
||||||
|
Version: 2.2
|
||||||
|
%define soname 4
|
||||||
|
%define hogweed_soname 2
|
||||||
|
Release: 0
|
||||||
|
Summary: Cryptographic Library
|
||||||
|
Url: ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-%{version}.tar.gz
|
||||||
|
Source: nettle-%{version}.tar.bz2
|
||||||
|
Group: System/Libraries
|
||||||
|
License: LGPL-2.1+ and GPL-2.0+
|
||||||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
|
BuildRequires: gmp-devel
|
||||||
|
PreReq: %install_info_prereq
|
||||||
|
%if 0%{?suse_version} >= 1030 && 0%{?suse_version} < 1210
|
||||||
|
BuildRequires: licenses
|
||||||
|
Requires: licenses
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
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++,
|
||||||
|
Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
|
||||||
|
|
||||||
|
%package -n libnettle%{soname}
|
||||||
|
Summary: Cryptographic Library
|
||||||
|
Group: System/Libraries
|
||||||
|
License: LGPL-2.1+
|
||||||
|
|
||||||
|
%description -n libnettle%{soname}
|
||||||
|
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++,
|
||||||
|
Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
|
||||||
|
|
||||||
|
%package -n libhogweed%{hogweed_soname}
|
||||||
|
Summary: Cryptographic Library for Public Key Algorithms
|
||||||
|
Group: System/Libraries
|
||||||
|
License: LGPL-2.1+
|
||||||
|
|
||||||
|
%description -n libhogweed%{hogweed_soname}
|
||||||
|
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++,
|
||||||
|
Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
|
||||||
|
|
||||||
|
The libhogweed library contains public key algorithms to use with libnettie.
|
||||||
|
|
||||||
|
%package -n libnettle-devel
|
||||||
|
Summary: Cryptographic Library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libnettle%{soname} = %{version}
|
||||||
|
Requires: libhogweed%{hogweed_soname} = %{version}
|
||||||
|
Requires: gmp-devel glibc-devel
|
||||||
|
License: LGPL-2.1+
|
||||||
|
|
||||||
|
%description -n libnettle-devel
|
||||||
|
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++,
|
||||||
|
Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
|
||||||
|
|
||||||
|
%package -n nettle
|
||||||
|
Summary: Cryptographic Tools
|
||||||
|
Group: Productivity/Security
|
||||||
|
|
||||||
|
%description -n nettle
|
||||||
|
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++,
|
||||||
|
Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
|
||||||
|
|
||||||
|
This package contains a few command-line tools to perform cryptographic
|
||||||
|
operations using the nettle library.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n "nettle-%{version}"
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
--enable-shared
|
||||||
|
|
||||||
|
%__make %{?jobs:-j%{jobs}}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%makeinstall
|
||||||
|
%if 0%{?suse_version} >= 1030 && 0%{?suse_version} < 1210
|
||||||
|
for f in COPYING*; do
|
||||||
|
h=/usr/share/doc/licenses/md5/$(md5sum "$f"|cut -f1 -d" ")
|
||||||
|
test -e "$h" && %__ln_s -f "$h" .
|
||||||
|
done
|
||||||
|
%endif
|
||||||
|
rm -f %{buildroot}%{_libdir}/*.a
|
||||||
|
|
||||||
|
%post -n libnettle%{soname} -p /sbin/ldconfig
|
||||||
|
%postun -n libnettle%{soname} -p /sbin/ldconfig
|
||||||
|
%post -n libhogweed%{hogweed_soname} -p /sbin/ldconfig
|
||||||
|
%postun -n libhogweed%{hogweed_soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libnettle-devel
|
||||||
|
%install_info --info-dir="%{_infodir}" "%{_infodir}"/nettle.info%{ext_info}
|
||||||
|
|
||||||
|
%postun -n libnettle-devel
|
||||||
|
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}"/nettle.info%{ext_info}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%__rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
|
%files -n libnettle%{soname}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS ChangeLog COPYING* NEWS README TODO
|
||||||
|
%{_libdir}/libnettle.so.%{soname}
|
||||||
|
%{_libdir}/libnettle.so.%{soname}.*
|
||||||
|
|
||||||
|
%files -n libhogweed%{hogweed_soname}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libhogweed.so.%{hogweed_soname}
|
||||||
|
%{_libdir}/libhogweed.so.%{hogweed_soname}.*
|
||||||
|
|
||||||
|
%files -n libnettle-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/nettle
|
||||||
|
%{_libdir}/libnettle.so
|
||||||
|
%{_libdir}/libhogweed.so
|
||||||
|
%{_infodir}/nettle.info%{ext_info}
|
||||||
|
|
||||||
|
%files -n nettle
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS ChangeLog COPYING* NEWS README TODO
|
||||||
|
%{_bindir}/nettle-lfib-stream
|
||||||
|
%{_bindir}/pkcs1-conv
|
||||||
|
%{_bindir}/sexp-conv
|
||||||
|
%{_bindir}/nettle-hash
|
||||||
|
%changelog
|
||||||
|
# vim: set sw=3 ts=3 noet:
|
||||||
|
# Local Variables:
|
||||||
|
# mode: rpm-spec
|
||||||
|
# tab-width: 3
|
||||||
|
# End:
|
3
nettle-2.2.tar.bz2
Normal file
3
nettle-2.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:47f8f4f0b3d3b20ef131034fd1e9b09dcb1c02c02bf329820efca4cd0af57ed8
|
||||||
|
size 954765
|
Loading…
Reference in New Issue
Block a user