SHA256
1
0
forked from pool/Botan

Accepting request 102974 from devel:libraries:c_c++

- little spec cleanup

OBS-URL: https://build.opensuse.org/request/show/102974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Botan?expand=0&rev=22
This commit is contained in:
Stephan Kulow 2012-02-08 14:37:06 +00:00 committed by Git OBS Bridge
commit 95885bdd9f
2 changed files with 18 additions and 28 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 7 08:04:05 UTC 2012 - coolo@suse.com
- little spec cleanup
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 16 17:36:04 UTC 2011 - jengelh@medozas.de Fri Sep 16 17:36:04 UTC 2011 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package Botan # spec file for package Botan
# #
# 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
@ -15,13 +15,12 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%define version_suffix 1_10-0 %define version_suffix 1_10-0
%define short_version 1.10 %define short_version 1.10
Name: Botan Name: Botan
Version: 1.10.0 Version: 1.10.0
Release: 3 Release: 0
Url: http://botan.randombit.net Url: http://botan.randombit.net
Summary: A C++ Crypto Library Summary: A C++ Crypto Library
License: BSD-3-Clause License: BSD-3-Clause
@ -36,9 +35,16 @@ Patch5: Botan-qt_thread_support.patch
Patch6: Botan-fix_pkgconfig.patch Patch6: Botan-fix_pkgconfig.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: zlib, bzip2 >= 1.0.2, gmp >= 4.1 Requires: zlib, bzip2 >= 1.0.2, gmp >= 4.1
BuildRequires: bzip2 >= 1.0.2 gmp-devel >= 4.1 zlib-devel BuildRequires: bzip2 >= 1.0.2
BuildRequires: gcc-c++ gmp-devel libbz2-devel openssl-devel python BuildRequires: gcc-c++
BuildRequires: libqt4-devel pkg-config BuildRequires: gmp-devel
BuildRequires: gmp-devel >= 4.1
BuildRequires: libbz2-devel
BuildRequires: libqt4-devel
BuildRequires: openssl-devel
BuildRequires: pkg-config
BuildRequires: python
BuildRequires: zlib-devel
%description %description
Botan is a C++ library that provides support for many common Botan is a C++ library that provides support for many common
@ -46,15 +52,7 @@ cryptographic operations, including encryption, authentication, and
X.509v3 certificates and CRLs. A wide variety of algorithms is 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.
Authors:
--------
Jack Lloyd <lloyd@randombit.net>
%package -n libbotan-%{version_suffix} %package -n libbotan-%{version_suffix}
License: BSD-3-Clause
Summary: A C++ Crypto Library Summary: A C++ Crypto Library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
@ -64,14 +62,7 @@ cryptographic operations, including encryption, authentication, and
X.509v3 certificates and CRLs. A wide variety of algorithms is 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.
Authors:
--------
Jack Lloyd <lloyd@randombit.net>
%package -n libbotan-devel %package -n libbotan-devel
License: BSD-3-Clause
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 libbz2-devel Requires: gmp-devel libbz2-devel
@ -85,12 +76,6 @@ Requires: libbotan-%{version_suffix} = %{version}
This package contains the header files and libraries needed to develop This package contains the header files and libraries needed to develop
programs that use the Botan library. programs that use the Botan library.
Authors:
--------
Name: Jack Lloyd <lloyd@randombit.net>
%prep %prep
%setup -q %setup -q
%patch0 %patch0
@ -103,7 +88,7 @@ Authors:
%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=/usr --libdir=%{_libdir} \ ./configure.py --prefix=%_prefix --libdir=%{_libdir} \
--docdir=%{_defaultdocdir} \ --docdir=%{_defaultdocdir} \
--includedir=%{_includedir} \ --includedir=%{_includedir} \
--with-bzip2 \ --with-bzip2 \