Репозиторий Sisyphus
Последнее обновление: 29 марта 2023 | Пакетов: 18297 | Посещений: 27209028
en ru br
Репозитории ALT
5.1: 1.2.9-alt1
4.1: 1.2.5-alt1
4.0: 1.2.5-alt1
3.0: 1.0.4-alt1

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

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

Name: libspf2
Version: 1.2.5
Release: alt1

Summary: Implementation of the SPF specification
License: LGPL
Group: System/Libraries
URL: http://www.libspf2.org/

Source0: http://libspf2.org/spf/libspf2-%version.tar.gz
Patch0: libspf2-link.patch
Patch1: libspf2-1.0.4-case-insensitive.patch
Patch2: libspf2-1.2.5-include.patch

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

# Automatically added by buildreq on Tue Jul 12 2005

BuildRequires: gcc-c++ libstdc++-devel

#BuildRequires: automake_1.7 autoconf_2.5

Libspf2 is an implementation of the SPF specification as found at

%package tools
Summary: Tools distributed with libspf2
Group: Networking/Other
Requires: %name = %version-%release

%description tools
Tools distributed with libspf2; at the time of writing: spf_example,
spf_example_2mx, spfd, spfquery and spftest.

%package devel
Summary: Development files for libspf2 library
Group: Development/C
Requires: %name = %version-%release

%description devel
Development files for libspf2 library.

%package static
Summary: Static libspf2 library
Group: Development/C
Requires: %name-devel = %version-%release

%description static
Static libspf2 library.

%setup -q
#%patch0 -p1
#%patch1 -p0
%patch2 -p1

#export WANT_AUTOCONF_2_5=1
#rm -f configure; libtoolize --copy --force; aclocal-1.7; autoconf; automake-1.7 --add-missing

# The configure script checks for the existence of __ns_get16 and uses the

# system-supplied version if found, otherwise one from src/libreplace.
# However, this function is marked GLIBC_PRIVATE in recent versions of glibc
# and shouldn't be called even if the configure script finds it. So we make
# sure that the configure script always uses the version in src/libreplace.
# This prevents us getting an unresolvable dependency in the built RPM.
cat > config.cache << EOF

%configure --cache-file=config.cache

%__make install DESTDIR=$RPM_BUILD_ROOT
%__rm -f $RPM_BUILD_ROOT%_bindir/*_static

%post   -p %post_ldconfig
%postun -p %postun_ldconfig

%doc README TODO LICENSES Changelog docs/API docs/draft-mengwong-spf-00.txt

%files tools

%files devel

%if_enabled static
%files static


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

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