Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37551670
en ru br
ALT Linux repos
S:1.2.11-alt1.git.4915c30
5.0: 1.2.9-alt1
4.1: 1.2.5-alt1
4.0: 1.2.5-alt1
3.0: 1.0.4-alt1

Group :: System/Libraries
RPM: libspf2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libspf2
Version: 1.2.9
Release: alt1

Packager: Victor Forsyuk <force at altlinux.org>

Summary: Implementation of the SPF specification
License: LGPLv2.1+
Group: System/Libraries

URL: http://www.libspf2.org/
Source0: http://libspf2.org/spf/libspf2-%version.tar.gz

# Automatically added by buildreq on Mon Nov 03 2008

BuildRequires: gcc-c++

%description
Libspf2 is an implementation of the SPF specification as found at
http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt

%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.

%prep
%setup

%build
# 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
ac_cv_func___ns_get16=no
EOF

%configure --cache-file=config.cache
%make_build

%install
%make_install install DESTDIR=%buildroot

%files
%_libdir/lib*.so.*

%files tools
%_bindir/*
%exclude %_bindir/*_static

%files devel
%doc LICENSES
%_includedir/*
%_libdir/*.so
%exclude %_libdir/*.a

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin