Группа :: Сети/Почта
Пакет: cone
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_enable openssl
%def_without devel
Summary: CONE mail reader
Name: cone
Version: 0.78.20090507
Release: alt0.2.1
Url: http://www.courier-mta.org/cone
Source0: %name-%version.tar.bz2
License: GPL
Group: Networking/Mail
Patch: cone-alt-sendmail.patch
Packager: L.A. Kostis <lakostis at altlinux.org>
BuildRequires: libaspell-devel libxml2-devel
BuildRequires: zlib-devel libgamin-devel perl libncursesw-devel
BuildRequires: libstdc++-devel gcc-c++
BuildRequires: openldap-devel
%if_enabled openssl
BuildRequires: openssl
BuildRequires: openssl-devel
%else
BuildRequires: gnutls-devel libgcrypt-devel
%endif
Requires(post): %__perl
%description
CONE is a simple, text-based E-mail reader and writer.
%if_with devel
%package devel-static
Group: Development/C++
Summary: LibMAIL mail client development library
Requires: %name = 0:%version-%release
%description devel-static
The %name-devel package the header files and library files for developing
application using LibMAIL - a high level, C++ OO library for mail clients.
%endif
%prep
%setup -q
%patch -p2
pushd libmail
autoconf
popd
%configure -C \
--with-certdb=%_datadir/ca-certificates/ca-bundle.crt \
%subst_with devel
%build
%make_build
%install
%__make install DESTDIR=%buildroot
%__install sysconftool %buildroot%_datadir/cone/cone.sysconftool
touch %buildroot%_sysconfdir/cone
# Remove dupe copies of doc/html from the install tree.
ls cone/html | ( cd %buildroot%_datadir/cone && xargs -n10 rm -f )
%post
%__perl %_datadir/cone/cone.sysconftool %_sysconfdir/cone.dist >/dev/null
%files
%attr(644,root,root) %_sysconfdir/cone.dist
%ghost %verify(user group mode) %attr(644,root,root) %_sysconfdir/cone
%_bindir/*
%_libexecdir/cone
%_datadir/cone
%_man1dir/*
%doc ABOUT-NLS ChangeLog README NEWS AUTHORS COPYING COPYING.GPL
%if_with devel
%files devel-static
%_libdir/*.a
%_mandir/man[35]/*
%_includedir/libmail
%doc cone/html
%endif
%changelog
…
Полный changelog можно просмотреть здесь
%def_without devel
Summary: CONE mail reader
Name: cone
Version: 0.78.20090507
Release: alt0.2.1
Url: http://www.courier-mta.org/cone
Source0: %name-%version.tar.bz2
License: GPL
Group: Networking/Mail
Patch: cone-alt-sendmail.patch
Packager: L.A. Kostis <lakostis at altlinux.org>
BuildRequires: libaspell-devel libxml2-devel
BuildRequires: zlib-devel libgamin-devel perl libncursesw-devel
BuildRequires: libstdc++-devel gcc-c++
BuildRequires: openldap-devel
%if_enabled openssl
BuildRequires: openssl
BuildRequires: openssl-devel
%else
BuildRequires: gnutls-devel libgcrypt-devel
%endif
Requires(post): %__perl
%description
CONE is a simple, text-based E-mail reader and writer.
%if_with devel
%package devel-static
Group: Development/C++
Summary: LibMAIL mail client development library
Requires: %name = 0:%version-%release
%description devel-static
The %name-devel package the header files and library files for developing
application using LibMAIL - a high level, C++ OO library for mail clients.
%endif
%prep
%setup -q
%patch -p2
pushd libmail
autoconf
popd
%configure -C \
--with-certdb=%_datadir/ca-certificates/ca-bundle.crt \
%subst_with devel
%build
%make_build
%install
%__make install DESTDIR=%buildroot
%__install sysconftool %buildroot%_datadir/cone/cone.sysconftool
touch %buildroot%_sysconfdir/cone
# Remove dupe copies of doc/html from the install tree.
ls cone/html | ( cd %buildroot%_datadir/cone && xargs -n10 rm -f )
%post
%__perl %_datadir/cone/cone.sysconftool %_sysconfdir/cone.dist >/dev/null
%files
%attr(644,root,root) %_sysconfdir/cone.dist
%ghost %verify(user group mode) %attr(644,root,root) %_sysconfdir/cone
%_bindir/*
%_libexecdir/cone
%_datadir/cone
%_man1dir/*
%doc ABOUT-NLS ChangeLog README NEWS AUTHORS COPYING COPYING.GPL
%if_with devel
%files devel-static
%_libdir/*.a
%_mandir/man[35]/*
%_includedir/libmail
%doc cone/html
%endif
%changelog
…
Полный changelog можно просмотреть здесь