SHA256
1
0
forked from pool/Botan

Accepting request 350661 from home:pluskalm:branches:devel:libraries:c_c++

- Add gpg signature
- Cleanup spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/350661
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Botan?expand=0&rev=54
This commit is contained in:
Ismail Dönmez 2015-12-24 13:34:07 +00:00 committed by Git OBS Bridge
parent 45099f3156
commit 47190eff56
4 changed files with 73 additions and 22 deletions

11
Botan-1.10.10.tgz.asc Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAABCgAGBQJVvvClAAoJEGIR6/Hvut+8DnIH/j5EW84EEcBKETvBQJqoPJt7
Gsq4GKHDo75gBnWn2a2WGbbFIRuwjW4rpbUxxn6Nxazr87Hvg/RpRmd03/VYNvDO
jai2oetGAbaV4e9kzSMI96jN6k3vpjtUqeY851PXnZxaILrx1iBqwppjVOZfIbNF
hxzNgDgd1lA/dgfsh/BGr3MWDihNOxpICAbxmnXJU8bjiNT3RqebyOmins/Q6eVr
Tl6D2CxeYV1QlxOOnd93PJW6RAJtgzw4kjUWIHB74DxhjtB06XV8jHQxlTRCEC/Q
QDy2WlymjDQapyW6OzB0nRYCKtJQyQiZVCk4cIBq/8X3M4vjk7jErwqKvNPGcCU=
=s4gl
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 24 10:48:11 UTC 2015 - mpluskal@suse.com
- Add gpg signature
- Cleanup spec file with spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 14 08:54:09 UTC 2015 - mvyskocil@opensuse.org Fri Aug 14 08:54:09 UTC 2015 - mvyskocil@opensuse.org

31
Botan.keyring Normal file
View File

@ -0,0 +1,31 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQELBEGD1j0BCADHxPJkPcjJE+4Dlisx2hVc0Dj6JI1MSLrkM8R+2bOhVUSferxP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vR07NS8GvM8wccgcGAWF/tJq
A5A0oRIbl8ephDl6xr0GpybiL6aCMBh/uthOuTGyRpcFqcPzALZtoxYQSIRldG6i
QhafcyIHTYH7JAWj69KIpW7iUGaj9CKnv+ggreF5EudclmasYywBaRKbw3nODxsN
8IrSn/5KBqJ/V/AtN+fpxIywa1stfEPdb8NlEsiyPppvXYjAEvKWNoKJn8QTtlcG
Bya8mcpIwmEJHHEQNbR7XkY+IKkzm6NAJOO8uTJ6ZU1sIuNKD+ytnH4QkQZjIqMZ
mBEuMbBxLqX0QaN8a9SavatLevPFk09TVxzzD6LnhfZimQn9qWvWh7KgZlk5t7Am
jUChrmwgwRFJiVMp3ZkmrScmDOzVWKFKehH6jAAhbkzXQbIyjIe2llYpEKWyQ3wN
QSFN5WXqoI4K4IVQFpBDgX4RtCFWY/kVQiabKqEyfGrGNla3gK0gsq/1ZyxJ37h/
0KYLwogm3qaNxN+AybeEmgDjtmY=
=0I8E
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -18,16 +18,17 @@
%define version_suffix 1_10-1 %define version_suffix 1_10-1
%define short_version 1.10 %define short_version 1.10
Name: Botan Name: Botan
Version: 1.10.10 Version: 1.10.10
Release: 0 Release: 0
Url: http://botan.randombit.net
Summary: A C++ Crypto Library Summary: A C++ Crypto Library
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://botan.randombit.net
Source0: http://botan.randombit.net/releases/%{name}-%{version}.tgz Source0: http://botan.randombit.net/releases/%{name}-%{version}.tgz
Source2: baselibs.conf Source1: http://botan.randombit.net/releases/%{name}-%{version}.tgz.asc
Source2: %{name}.keyring
Source3: baselibs.conf
Patch0: Botan-inttypes.patch Patch0: Botan-inttypes.patch
Patch1: Botan-ull_constants.patch.bz2 Patch1: Botan-ull_constants.patch.bz2
Patch2: Botan-fix_install_paths.patch Patch2: Botan-fix_install_paths.patch
@ -36,10 +37,6 @@ Patch6: Botan-fix_pkgconfig.patch
Patch7: dont-set-mach-value.diff Patch7: dont-set-mach-value.diff
Patch8: aarch64-support.patch Patch8: aarch64-support.patch
Patch9: ppc64le-support.patch Patch9: ppc64le-support.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: bzip2 >= 1.0.2
Requires: gmp >= 4.1
Requires: zlib
BuildRequires: bzip2 >= 1.0.2 BuildRequires: bzip2 >= 1.0.2
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gmp-devel BuildRequires: gmp-devel
@ -50,6 +47,10 @@ BuildRequires: openssl-devel
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: python BuildRequires: python
BuildRequires: zlib-devel BuildRequires: zlib-devel
Requires: bzip2 >= 1.0.2
Requires: gmp >= 4.1
Requires: zlib
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
Botan is a C++ library that provides support for many common Botan is a C++ library that provides support for many common
@ -68,15 +69,14 @@ X.509v3 certificates and CRLs. A wide variety of algorithms is
supported, including RSA, DSA, DES, AES, MD5, and SHA-1. supported, including RSA, DSA, DES, AES, MD5, and SHA-1.
%package -n libbotan-devel %package -n libbotan-devel
%define botan_docdir %{_docdir}/%{name}-%{version}
Summary: Development files for Botan Summary: Development files for Botan
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: gmp-devel Requires: gmp-devel
Requires: libbotan-%{version_suffix} = %{version}
Requires: libbz2-devel Requires: libbz2-devel
Provides: Botan-devel = %{version} Provides: Botan-devel = %{version}
Obsoletes: Botan-devel < %{version} Obsoletes: Botan-devel < %{version}
Requires: libbotan-%{version_suffix} = %{version}
%define botan_docdir %{_datadir}/doc/packages/%{name}-%{version}
%description -n libbotan-devel %description -n libbotan-devel
This package contains the header files and libraries needed to develop This package contains the header files and libraries needed to develop
@ -95,21 +95,24 @@ programs that use the Botan library.
%build %build
export RPM_OPT_FLAGS export RPM_OPT_FLAGS
%define common_config_flags --libdir=%{_lib} --with-bzip2 --with-zlib --with-gnump --with-openssl %define common_config_flags --libdir=%{_lib} --with-bzip2 --with-zlib --with-gnump --with-openssl
./configure.py --prefix=%_prefix --libdir=%{_libdir} \ ./configure.py \
--docdir=%{_defaultdocdir} \ --prefix=%{_prefix} \
--includedir=%{_includedir} \ --libdir=%{_libdir} \
--with-bzip2 \ --docdir=%{_defaultdocdir} \
--with-zlib \ --includedir=%{_includedir} \
--with-gnump \ --with-bzip2 \
--with-openssl \ --with-zlib \
--enable-modules=qt_mutex \ --with-gnump \
--with-tr1-implementation=system \ --with-openssl \
--cpu=%_target_cpu --enable-modules=qt_mutex \
make %{?_smp_mflags} WARN_FLAGS="$RPM_OPT_FLAGS -I/usr/include/Qt" --with-tr1-implementation=system \
--cpu=%{_target_cpu}
make %{?_smp_mflags} WARN_FLAGS="%{optflags} -I/usr/include/Qt"
%install %install
%makeinstall make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -f %{buildroot}/%{_libdir}/libbotan*.a rm -f %{buildroot}/%{_libdir}/libbotan*.a
%post -n libbotan-%{version_suffix} -p /sbin/ldconfig %post -n libbotan-%{version_suffix} -p /sbin/ldconfig