Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37041958
en ru br
Репозитории ALT
S:1.9.4-alt3
5.1: 0.58-alt1.1
4.1: 0.57-alt0.M41.2
4.0: 0.57-alt0.M40.1
3.0: 0.38-alt1
www.altlinux.org/Changes

Группа :: Разработка/C
Пакет: libetpan

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

Name: libetpan
Version: 1.9.4
Release: alt1

Summary: This mail library  provide a portable, efficient middleware for different kinds of mail access
License: %bsdstyle
Group: Development/C

Url: https://www.etpan.org/libetpan.html

# git://github.com/dinhviethoa/libetpan.git

Source: %name-%version.tar
Source1: libetpan-config
Patch: %name-%version-%release.patch

%def_with gnutls
%def_without openssl

%define _unpackaged_files_terminate_build 1

BuildRequires(pre): rpm-build-licenses

# FIXME: Is it really needed g++?

BuildRequires: gcc-c++

%{?_with_gnutls:BuildRequires: libgnutls-devel libgcrypt-devel libgpg-error-devel zlib-devel}
%{?_with_openssl:BuildRequires: libssl-devel}
BuildRequires: libsasl2-devel
BuildRequires: liblmdb-devel
BuildRequires: liblockfile-devel libexpat-devel libcurl-devel

%package devel
Summary: Development environment for %name library.
Group: Development/C
Requires: %name = %version-%release
%{?_with_gnutls:Requires: libgnutls-devel libgcrypt-devel libgpg-error-devel zlib-devel}
%{?_with_gnutls:Requires: libssl-devel}
Requires: libsasl2-devel
Requires: liblmdb-devel
Requires: liblockfile-devel

%description
The purpose of this mail library is to provide a portable, efficient
middleware for different kinds of mail access. When using the drivers
interface, the interface is the same for all kinds of mail access,
remote and local mailboxes.

%description devel
This package contains the header files and libraries for building
program which use lib%name.

%prep
%setup
%patch -p1
ln -s README.md README

%build
%autoreconf
%configure \
--disable-static \
%{subst_with openssl} \
%{subst_with gnutls} \
--enable-lmdb \
--enable-ipv6
%make_build

%install
%makeinstall_std

# Install libetpan-config

install -Dm0755 %SOURCE1 %buildroot%_bindir/%name-config

%files
%doc ChangeLog NEWS COPYRIGHT README AUTHORS
%_libdir/%name.so.*

%files devel
%_bindir/%name-config
%dir %_includedir/%name
%_includedir/%name/*.h
%_includedir/%name.h
%_pkgconfigdir/%name.pc
%_libdir/%name.so

%changelog

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

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