head	1.34;
access;
symbols;
locks; strict;
comment	@-- @;


1.34
date	2009.09.13.09.03.03;	author rse;	state Exp;
branches;
next	1.33;
commitid	ssStFnqfelCfVu3u;

1.33
date	2009.08.07.12.07.33;	author rse;	state Exp;
branches;
next	1.32;
commitid	vHpDkCLDadZh8LYt;

1.32
date	2009.07.24.05.29.21;	author rse;	state Exp;
branches;
next	1.31;
commitid	AKQHocVI7oRznVWt;

1.31
date	2009.07.13.18.07.29;	author rse;	state Exp;
branches;
next	1.30;
commitid	V7CtgKjb6xpAVzVt;

1.30
date	2009.07.11.20.37.11;	author rse;	state Exp;
branches;
next	1.29;
commitid	Atz254DOapjVOkVt;

1.29
date	2009.04.18.13.09.03;	author rse;	state Exp;
branches;
next	1.28;
commitid	4pHXU27WTIGCZuKt;

1.28
date	2009.01.20.22.35.13;	author rse;	state Exp;
branches;
next	1.27;
commitid	lCZqPR4TjStc0fzt;

1.27
date	2008.12.08.07.21.09;	author rse;	state Exp;
branches;
next	1.26;
commitid	lmtuW59eoNfjkDtt;

1.26
date	2008.12.01.19.51.50;	author rse;	state Exp;
branches;
next	1.25;
commitid	9E3X675vnqyNHNst;

1.25
date	2008.11.24.06.45.38;	author rse;	state Exp;
branches;
next	1.24;
commitid	kJofffVdFsz1APrt;

1.24
date	2008.11.18.18.59.15;	author rse;	state Exp;
branches;
next	1.23;
commitid	6g7sfzsEf0JEP7rt;

1.23
date	2008.11.12.18.48.48;	author rse;	state Exp;
branches;
next	1.22;
commitid	1hVIF8DXMkO1Ylqt;

1.22
date	2008.11.10.21.58.53;	author rse;	state Exp;
branches;
next	1.21;
commitid	W6tttfS4DZoe57qt;

1.21
date	2008.11.07.07.37.48;	author rse;	state Exp;
branches;
next	1.20;
commitid	q91sJCpPjjDNpEpt;

1.20
date	2008.10.23.07.20.03;	author rse;	state Exp;
branches;
next	1.19;
commitid	XTtCARbC5nUANInt;

1.19
date	2008.10.12.12.54.11;	author rse;	state Exp;
branches;
next	1.18;
commitid	xbVRVsG1H1N90lmt;

1.18
date	2008.10.10.17.08.41;	author rse;	state Exp;
branches;
next	1.17;
commitid	ZmeWLQt1FNWrt6mt;

1.17
date	2008.10.08.06.59.48;	author rse;	state Exp;
branches;
next	1.16;
commitid	2siBdHcX5xqyaNlt;

1.16
date	2008.10.01.17.46.49;	author rse;	state Exp;
branches;
next	1.15;
commitid	QB0JDPIvQTQsYWkt;

1.15
date	2008.09.28.11.47.36;	author rse;	state Exp;
branches;
next	1.14;
commitid	wLv6OZuDPlod5xkt;

1.14
date	2008.09.18.18.13.45;	author rse;	state Exp;
branches;
next	1.13;
commitid	FXFIVNsO9ciCxhjt;

1.13
date	2008.09.12.17.55.11;	author rse;	state Exp;
branches;
next	1.12;
commitid	9dlZNDxQkwLcDvit;

1.12
date	2008.09.06.07.52.32;	author rse;	state Exp;
branches;
next	1.11;
commitid	f7kJWKCiqePpuGht;

1.11
date	2008.08.28.10.08.07;	author rse;	state Exp;
branches;
next	1.10;
commitid	wjrWimUHoVaSwxgt;

1.10
date	2008.07.15.15.55.17;	author rse;	state Exp;
branches;
next	1.9;
commitid	6aLjAZKpCdTERUat;

1.9
date	2008.06.29.08.11.25;	author rse;	state Exp;
branches;
next	1.8;
commitid	m2BvOSmKL1mpOO8t;

1.8
date	2008.05.05.18.01.55;	author rse;	state Exp;
branches;
next	1.7;
commitid	8HLmnHbWmaPzQN1t;

1.7
date	2008.04.13.07.49.48;	author rse;	state Exp;
branches;
next	1.6;
commitid	97ImTcpNJzzraVYs;

1.6
date	2008.03.10.21.25.00;	author rse;	state Exp;
branches;
next	1.5;
commitid	IFWDnlUu05OQLCUs;

1.5
date	2008.01.23.20.05.28;	author rse;	state Exp;
branches;
next	1.4;
commitid	j8z5izX99LJdQzOs;

1.4
date	2008.01.01.14.51.28;	author rse;	state Exp;
branches;
next	1.3;
commitid	B8esaHJHoduuKILs;

1.3
date	2007.10.26.15.58.56;	author rse;	state Exp;
branches;
next	1.2;
commitid	6ewTLIWH31t2l7Ds;

1.2
date	2007.03.25.13.47.32;	author rse;	state Exp;
branches;
next	1.1;
commitid	ccGduKtAYoSqwtbs;

1.1
date	2007.03.02.08.01.28;	author rse;	state Exp;
branches;
next	;
commitid	XDBvJC1jU3rxlu8s;


desc
@@


1.34
log
@upgrading package: botan 1.8.5 -> 1.8.7
@
text
@##
##  botan.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package version
%define       V_major 1.8
%define       V_minor 7

#   package information
Name:         botan
Summary:      C++ Cryptography Library
URL:          http://botan.randombit.net/
Vendor:       The Botan Project
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Cryptography
License:      BSD
Version:      %{V_major}.%{V_minor}
Release:      20090913

#   list of sources
Source0:      http://files.randombit.net/botan/v%{V_major}/Botan-%{version}.tgz
Patch0:       botan.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20060823, gcc, gcc::with_cxx = yes
PreReq:       OpenPKG, openpkg >= 20060823
AutoReq:      no
AutoReqProv:  no

%description
    Botan is a C++ cryptography library, providing a wide variety of
    cryptographic algorithms, formats, and protocols.

%track
    prog botan = {
        version   = %{version}
        url       = http://botan.randombit.net/download.php
        regex     = Botan-(__VER__)\.tgz
    }

%prep
    %setup -q -n Botan-%{version}
    %patch -p0

%build
    perl -p -i.bak -e \
        's;(0x[\da-fA-F]{16});\1ULL;g' \
        src/*/*.cpp
    rm -f src/*.bak
    %{l_shtool} subst \
        -e 's;-mcpu=;-mtune=;g' \
        src/build-data/cc/gcc
    CC="gcc" \
    perl ./configure.pl \
        --prefix=%{l_prefix} \
        --docdir=share/botan \
        --disable-shared
    %{l_make} %{l_mflags -O}

%install
    rm -rf $RPM_BUILD_ROOT
    %{l_make} %{l_mflags} install \
        DESTDIR=$RPM_BUILD_ROOT%{l_prefix} \
        OWNER=`%{l_shtool} echo -e '%u'` \
        GROUP=`%{l_shtool} echo -e '%g'`
    rm -f $RPM_BUILD_ROOT%{l_prefix}/share/botan/*.txt
    rm -f $RPM_BUILD_ROOT%{l_prefix}/share/botan/*.tex
    rm -f $RPM_BUILD_ROOT%{l_prefix}/share/botan/*.asc
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std} \
        '%doc %{l_prefix}/share/botan/*.pdf'

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.33
log
@workaround architecture detection for at least FreeBSD/amd64 and fix substitution
@
text
@d26 1
a26 1
%define       V_minor 5
d39 1
a39 1
Release:      20090807
@


1.32
log
@upgrading package: botan 1.8.4 -> 1.8.5
@
text
@d39 1
a39 1
Release:      20090724
d71 1
a71 1
        src/*.cpp
@


1.31
log
@upgrading package: botan 1.8.3 -> 1.8.4
@
text
@d26 1
a26 1
%define       V_minor 4
d39 1
a39 1
Release:      20090713
@


1.30
log
@upgrading package: botan 1.8.1 -> 1.8.3
@
text
@d26 1
a26 1
%define       V_minor 3
d39 1
a39 1
Release:      20090711
@


1.29
log
@bump years in copyright messages
@
text
@d26 1
a26 1
%define       V_minor 1
d39 1
a39 1
Release:      20090120
@


1.28
log
@upgrading package: botan 1.8.0 -> 1.8.1
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.27
log
@upgrading package: botan 1.7.24 -> 1.8.0
@
text
@d26 1
a26 1
%define       V_minor 0
d39 1
a39 1
Release:      20081208
@


1.26
log
@upgrading package: botan 1.7.23 -> 1.7.24
@
text
@d25 2
a26 2
%define       V_major 1.7
%define       V_minor 24
d39 1
a39 1
Release:      20081201
@


1.25
log
@upgrading package: botan 1.7.22 -> 1.7.23
@
text
@d26 1
a26 1
%define       V_minor 23
d39 1
a39 1
Release:      20081124
d42 1
a42 1
Source0:      http://files.randombit.net/botan/archive/v%{V_major}/Botan-%{version}.tgz
@


1.24
log
@upgrading package: botan 1.7.21 -> 1.7.22
@
text
@d26 1
a26 1
%define       V_minor 22
d39 1
a39 1
Release:      20081118
@


1.23
log
@upgrading package: botan 1.7.20 -> 1.7.21
@
text
@d26 1
a26 1
%define       V_minor 21
d39 1
a39 1
Release:      20081112
@


1.22
log
@upgrading package: botan 1.7.19 -> 1.7.20
@
text
@d26 1
a26 1
%define       V_minor 20
d39 1
a39 1
Release:      20081110
@


1.21
log
@upgrading package: botan 1.7.18 -> 1.7.19
@
text
@d26 1
a26 1
%define       V_minor 19
d39 1
a39 1
Release:      20081107
@


1.20
log
@upgrading package: botan 1.7.17 -> 1.7.18
@
text
@d26 1
a26 1
%define       V_minor 18
d39 1
a39 1
Release:      20081023
@


1.19
log
@upgrading package: botan 1.7.16 -> 1.7.17
@
text
@d26 1
a26 1
%define       V_minor 17
d39 1
a39 1
Release:      20081012
@


1.18
log
@upgrading package: botan 1.7.15 -> 1.7.16
@
text
@d26 1
a26 1
%define       V_minor 16
d39 1
a39 1
Release:      20081010
@


1.17
log
@upgrading package: botan 1.7.14 -> 1.7.15
@
text
@d26 1
a26 1
%define       V_minor 15
d39 1
a39 1
Release:      20081008
@


1.16
log
@upgrading package: botan 1.7.13 -> 1.7.14
@
text
@d26 1
a26 1
%define       V_minor 14
d39 1
a39 1
Release:      20081001
d80 1
a80 1
        --no-shared
d86 1
a86 1
        INSTALLROOT=$RPM_BUILD_ROOT%{l_prefix} \
@


1.15
log
@upgrading package: botan 1.7.12 -> 1.7.13
@
text
@d26 1
a26 1
%define       V_minor 13
d39 1
a39 1
Release:      20080928
d75 1
a75 1
        misc/config/cc/gcc
@


1.14
log
@upgrading package: botan 1.7.11 -> 1.7.12
@
text
@d26 1
a26 1
%define       V_minor 12
d39 1
a39 1
Release:      20080918
@


1.13
log
@upgrading package: botan 1.7.10 -> 1.7.11
@
text
@d26 1
a26 1
%define       V_minor 11
d39 1
a39 1
Release:      20080912
@


1.12
log
@upgrading package: botan 1.7.9 -> 1.7.10
@
text
@d26 1
a26 1
%define       V_minor 10
d39 1
a39 1
Release:      20080906
@


1.11
log
@upgrading package: botan 1.7.8 -> 1.7.9
@
text
@d26 1
a26 1
%define       V_minor 9
d39 1
a39 1
Release:      20080828
@


1.10
log
@upgrading package: botan 1.7.7 -> 1.7.8
@
text
@d26 1
a26 1
%define       V_minor 8
d39 1
a39 1
Release:      20080715
@


1.9
log
@upgrading package: botan 1.7.6 -> 1.7.7
@
text
@d26 1
a26 1
%define       V_minor 7
d39 1
a39 1
Release:      20080629
@


1.8
log
@upgrading package: botan 1.7.5 -> 1.7.6
@
text
@d26 1
a26 1
%define       V_minor 6
d39 1
a39 1
Release:      20080505
@


1.7
log
@upgrading package: botan 1.7.4 -> 1.7.5
@
text
@d26 1
a26 1
%define       V_minor 5
d39 1
a39 1
Release:      20080413
@


1.6
log
@upgrading package: botan 1.7.3 -> 1.7.4
@
text
@d26 1
a26 1
%define       V_minor 4
d39 1
a39 1
Release:      20080310
@


1.5
log
@upgrading package: botan 1.7.2 -> 1.7.3
@
text
@d26 1
a26 1
%define       V_minor 3
d39 1
a39 1
Release:      20080123
@


1.4
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d26 1
a26 1
%define       V_minor 2
d39 1
a39 1
Release:      20080101
d80 1
a80 1
        --disable-shared
@


1.3
log
@upgrading package: botan 1.7.0 -> 1.7.2
@
text
@d3 1
a3 2
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
d39 1
a39 1
Release:      20071026
@


1.2
log
@upgrading package: botan 1.6.1 -> 1.7.0
@
text
@d27 1
a27 1
%define       V_minor 0
d40 1
a40 1
Release:      20070325
d70 4
@


1.1
log
@new package: botan 1.6.1 (C++ Cryptography Library)
@
text
@d26 2
a27 2
%define       V_major 1.6
%define       V_minor 1
d40 1
a40 1
Release:      20070302
@

