1 Summary: CONE - Console Newsreader and Emailer
2 Summary(pl.UTF-8): CONE - tekstowy klient poczty i czytnik newsów
7 Group: Applications/Mail
8 Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
9 # Source0-md5: a958de27297b0c867478107ab4407fd6
10 Patch0: %{name}-maildir.patch
11 URL: http://www.courier-mta.org/cone/
12 BuildRequires: aspell-devel
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: fam-devel
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtool
18 BuildRequires: libxml2-devel
19 BuildRequires: ncurses-devel
20 BuildRequires: openssl-devel
21 BuildRequires: openssl-tools-perl
22 BuildRequires: perl-base
23 BuildRequires: sysconftool
24 BuildRequires: zlib-devel
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 CONE is a simple, text-based E-mail reader and writer, and a simple
31 %description -l pl.UTF-8
32 CONE jest prostym, tekstowym klientem pocztowym, a także prostym
36 Summary: Header files for LibMAIL
37 Summary(pl.UTF-8): Pliki nagłówkowe LibMAIL
38 Group: Development/Languages
39 Requires: %{name} = %{version}-%{release}
42 This package includes the header files for developing applications
43 using LibMAIL - a high level, C++ OO library for mail clients.
45 %description devel -l pl.UTF-8
46 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji z użyciem
47 LibMAIL - wysokopoziomowej, zorientowanej obiektowo biblioteki C++ dla
51 Summary: Static LibMAIL library
52 Summary(pl.UTF-8): Biblioteka statyczna LibMAIL
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{version}-%{release}
57 This package contains static library for developing application using
58 LibMAIL - a high level, C++ OO library for mail clients.
60 %description static -l pl.UTF-8
61 Ten pakiet zawiera statyczną bibliotekę do tworzenia aplikacji z
62 użyciem LibMAIL - wysokopoziomowej, zorientowanej obiektowo biblioteki
63 C++ dla klientów pocztowych.
66 Summary: Console text file editor
67 Summary(pl.UTF-8): Konsolowy edytor plików tekstowych
68 Group: Applications/Editors
71 Leaf is a simple console text file editor, with paragraph
72 word-wrapping and spell checking. Leaf is based on the text editor in
73 the Cone mail reader and composer.
75 %description -n leaf -l pl.UTF-8
76 Leaf jest prostym konsolowym edytorem plików tekstowych. Jest oparty
77 na edytorze używanym w czytniku poczty Cone.
105 CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
106 PATH=$PATH:/usr/%{_lib}/openssl; export PATH
109 SENDMAIL=%{_sbindir}/sendmail
116 rm -rf $RPM_BUILD_ROOT
119 DESTDIR=$RPM_BUILD_ROOT
121 # start cone directly
122 mv -f $RPM_BUILD_ROOT%{_libdir}/cone $RPM_BUILD_ROOT%{_bindir}
123 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/cone.dist $RPM_BUILD_ROOT%{_sysconfdir}/cone
125 # move devel docs from datadir
127 for file in account-* address.html book.html c2*.html e*.html folder-* \
128 header* libmail*.html mail-* mimestruct* misc* native* synchronous.html; do
129 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/$file devel
133 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/leaf.html .
135 # rest *.html will go to primary docs
137 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/*.html docs
138 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/manpage.css docs
141 rm -rf $RPM_BUILD_ROOT
144 %defattr(644,root,root,755)
145 %doc AUTHORS ChangeLog README NEWS docs/
146 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cone
147 %attr(755,root,root) %{_bindir}/cone
148 %attr(755,root,root) %{_bindir}/mailtool
150 %{_mandir}/man1/cone*
151 %{_mandir}/man1/mailtool*
154 %defattr(644,root,root,755)
156 %{_libdir}/libmail.la
157 %{_includedir}/libmail
161 %defattr(644,root,root,755)
165 %defattr(644,root,root,755)
167 %attr(755,root,root) %{_bindir}/leaf
168 %{_mandir}/man1/leaf*