Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37863042
en ru br
Репозитории ALT
4.1: 0.9.15-alt1
4.0: 0.9.13-alt1
3.0: 0.9.6-alt1
+backports:0.9.7-alt1.M30.2
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: aprutil

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# hey Emacs, its -*- mode: rpm-spec; coding: cyrillic-cp1251; -*-

Name: aprutil
Version: 0.9.13
Release: alt1
Epoch: 1

Summary: Apache Portable Runtime Utility shared library
Group: System/Libraries
License: Apache
Url: http://apr.apache.org/
Packager: Sviatoslav Sviridov <svd at altlinux.ru>

%define dbm_type db44

# Do not define this variable to build release

#%%define cvsbuild 20031118

%ifdef cvsbuild

%define apu_cvsbuild 20031118111933
%define apu_filever _%apu_cvsbuild
%define apu_dir apr-util
%define cvsbuild_desc This package built from CVS snapshot %cvsbuild

%else

%define apu_filever -%version
%define apu_dir apr-util-%version
%define cvsbuild_desc %nil

%endif #cvsbuild

Source: apr-util%apu_filever.tar
Patch: aprutil-0.9.12-alt-linkage.patch

%def_disable static
%{?_enable_static:BuildPreReq: glibc-devel-static}

%def_with ldap
%{?_with_ldap:BuildPreReq: libldap-devel}

BuildPreReq: libapr-devel = %version

# Automatically added by buildreq on Thu Feb 12 2004

BuildRequires: libdb4.4-devel libexpat-devel libgdbm-devel

%package -n lib%name
Summary: Apache Portable Runtime Utility shared library
Group: System/Libraries
# due to linkage issues.
Requires: libapr >= 1:0.9.12-alt1
Requires: libapr = %version
Provides: %name = %version-%release
Obsoletes: %name, lib%name-subversion

%package -n lib%name-devel
Summary: Apache Portable Runtime Utility development files
Group: Development/C
Requires: lib%name = %version-%release, libapr-devel = %version
Requires: libdb4.4-devel
Provides: %name-devel = %version-%release
Obsoletes: %name-devel, lib%name-subversion-devel

%package -n lib%name-devel-static
Summary: Apache Portable Runtime Utility static library
Group: Development/C
Requires: lib%name-devel = %version-%release, libapr-devel-static = %version
Provides: %name-devel-static = %version-%release
Obsoletes: %name-devel-static, lib%name-subversion-devel-static

%description
The mission of the Apache Portable Runtime (APR) is to provide a free
library of C data structures and routines, forming a system portability
layer to as many operating systems as possible, including Unices,
MS Win32, BeOS and OS/2.
%cvsbuild_desc

%description -n lib%name
The mission of the Apache Portable Runtime (APR) is to provide a free
library of C data structures and routines, forming a system portability
layer to as many operating systems as possible, including Unices,
MS Win32, BeOS and OS/2.
%cvsbuild_desc
This package contains APU shared library.

%description -n lib%name-devel
The mission of the Apache Portable Runtime (APR) is to provide a free
library of C data structures and routines, forming a system portability
layer to as many operating systems as possible, including Unices,
MS Win32, BeOS and OS/2.
%cvsbuild_desc
This package contains APU development files.

%description -n lib%name-devel-static
The mission of the Apache Portable Runtime (APR) is to provide a free
library of C data structures and routines, forming a system portability
layer to as many operating systems as possible, including Unices,
MS Win32, BeOS and OS/2.
%cvsbuild_desc
This package contains APU static library.

%prep
%setup -q -n %apu_dir
%patch -p2
rm -rf xml/expat

%build
LIBTOOL_M4=%_datadir/libtool/aclocal/libtool.m4 \
./buildconf --with-apr=%_datadir/apr
%configure \
--with-apr=%_prefix \
--includedir=%_includedir/apu \
--with-berkeley-db --with-dbm=%dbm_type \
%{subst_with ldap} \
%{subst_enable static}

%make_build

%install
%make_install DESTDIR=%buildroot install

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files -n lib%name
%_libdir/lib*.so*

%files -n lib%name-devel
%_bindir/*-config
%_libdir/lib*.so
%_libdir/*.exp
%_includedir/*

%if_enabled static
%files -n lib%name-devel-static
%_libdir/lib*.a
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin