SHA256
1
0
forked from pool/libtomcrypt

- rename to libtomcrypt.{spec,changes} and the patch,

there's not osc move|copy so I just cp'd them.
- update packaging for share-lib policy
- fix license

- Remove redundant tags/sections per specfile guideline suggestions
- Parallel building using %_smp_mflags
- Add libtool as BuildRequires for factory/12.2

- Spec file cleaned with spec-cleaner.

OBS-URL: https://build.opensuse.org/package/show/security/libtomcrypt?expand=0&rev=2
This commit is contained in:
Darin Perusich
2014-07-03 16:32:06 +00:00
committed by Git OBS Bridge
parent c026a1de9e
commit c1b87cbf61
3 changed files with 23 additions and 5 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jul 3 16:28:21 UTC 2014 - darin@darins.net
- rename to libtomcrypt.{spec,changes} and the patch,
there's not osc move|copy so I just cp'd them.
- update packaging for share-lib policy
- fix license
-------------------------------------------------------------------
Tue Jan 31 10:27:11 UTC 2012 - jengelh@medozas.de

View File

@@ -8,11 +8,12 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org
#
%define soname libtomcrypt0
Name: libtomcrypt0
Name: libtomcrypt
Version: 1.17
Release: 1
License: Public Domain
License: SUSE-Public-Domain
Summary: Cryptographic Toolkit Written in Portable C
Url: http://libtom.org
Group: System/Libraries
@@ -31,6 +32,15 @@ Author:
--------
Tom St Denis
%package -n %{soname}
Summary: Libraries for %{name}
%description -n %{soname}
LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with
a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number
generators, public key cryptography and a plethora of other routines.
%package devel
Summary: Development Files for LibTomCrypt
Group: Development/Libraries/C and C++
@@ -70,13 +80,13 @@ make %{?_smp_mflags} LIBPATH=%{_libdir} -f makefile.shared
# Remove static libraries (It's upstream bug in makefile.shared I think.)
%{__rm} %{buildroot}%{_libdir}/*.a
%post -p /sbin/ldconfig
%post -n %{soname} -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n %{soname} -p /sbin/ldconfig
%files
%files -n %{soname}
%defattr(-,root,root)
%{_libdir}/libtomcrypt.so.0
%{_libdir}/libtomcrypt.so.0.0.117