1 Summary: CONE - Console Newsreader and Emailer
2 Summary(pl): 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: 73ac17422c2dcf7a0a864b99fe786092
10 Patch0: %{name}-maildir.patch
11 Patch1: %{name}-linking.patch
12 URL: http://www.courier-mta.org/cone/
13 BuildRequires: aspell-devel
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: fam-devel
17 BuildRequires: libstdc++-devel
18 BuildRequires: libtool
19 BuildRequires: libxml2-devel
20 BuildRequires: ncurses-devel
21 BuildRequires: openssl-devel
22 BuildRequires: openssl-tools-perl
23 BuildRequires: perl-base
24 BuildRequires: sysconftool
25 BuildRequires: zlib-devel
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 CONE is a simple, text-based E-mail reader and writer, and a simple
33 CONE jest prostym, tekstowym klientem pocztowym, a tak¿e prostym
37 Summary: Header files for LibMAIL
38 Summary(pl): Pliki nag³ówkowe LibMAIL
39 Group: Development/Languages
40 Requires: %{name} = %{version}-%{release}
43 This package includes the header files for developing applications
44 using LibMAIL - a high level, C++ OO library for mail clients.
46 %description devel -l pl
47 Ten pakiet zawiera pliki nag³ówkowe do tworzenia aplikacji z u¿yciem
48 LibMAIL - wysokopoziomowej, zorientowanej obiektowo biblioteki C++ dla
52 Summary: Static LibMAIL library
53 Summary(pl): Biblioteka statyczna LibMAIL
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
58 This package contains static library for developing application using
59 LibMAIL - a high level, C++ OO library for mail clients.
61 %description static -l pl
62 Ten pakiet zawiera statyczn± bibliotekê do tworzenia aplikacji z
63 u¿yciem LibMAIL - wysokopoziomowej, zorientowanej obiektowo biblioteki
64 C++ dla klientów pocztowych.
67 Summary: Console text file editor
68 Summary(pl): Konsolowy edytor plików tekstowych
69 Group: Applications/Editors
72 Leaf is a simple console text file editor, with paragraph
73 word-wrapping and spell checking. Leaf is based on the text editor in
74 the Cone mail reader and composer.
76 %description -n leaf -l pl
77 Leaf jest prostym konsolowym edytorem plików tekstowych. Jest oparty
78 na edytorze u¿ywanym w czytniku poczty Cone.
107 CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
108 PATH=$PATH:/usr/%{_lib}/openssl; export PATH
111 SENDMAIL=%{_sbindir}/sendmail
118 rm -rf $RPM_BUILD_ROOT
121 DESTDIR=$RPM_BUILD_ROOT
123 # start cone directly
124 mv -f $RPM_BUILD_ROOT%{_libdir}/cone $RPM_BUILD_ROOT%{_bindir}
125 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/cone.dist $RPM_BUILD_ROOT%{_sysconfdir}/cone
127 # move devel docs from datadir
129 for file in account-* address.html book.html c2*.html e*.html folder-* \
130 header* libmail*.html mail-* mimestruct* misc* native* synchronous.html; do
131 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/$file devel
135 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/leaf.html .
137 # rest *.html will go to primary docs
139 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/*.html docs
140 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/manpage.css docs
143 rm -rf $RPM_BUILD_ROOT
146 %defattr(644,root,root,755)
147 %doc AUTHORS ChangeLog README NEWS docs/
148 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cone
149 %attr(755,root,root) %{_bindir}/cone
150 %attr(755,root,root) %{_bindir}/mailtool
152 %{_mandir}/man1/cone*
153 %{_mandir}/man1/mailtool*
156 %defattr(644,root,root,755)
158 %{_libdir}/libmail.la
159 %{_includedir}/libmail
163 %defattr(644,root,root,755)
167 %defattr(644,root,root,755)
169 %attr(755,root,root) %{_bindir}/leaf
170 %{_mandir}/man1/leaf*