3 # - review devel doc files
5 Summary: CONE - Console Newsreader and Emailer
6 Summary(pl.UTF-8): CONE - tekstowy klient poczty i czytnik newsów
11 Group: Applications/Mail
12 Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
13 # Source0-md5: adca3a228526361e9ef4eb4dcd273306
14 Patch0: %{name}-maildir.patch
15 URL: http://www.courier-mta.org/cone/
16 BuildRequires: aspell-devel
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: fam-devel
20 BuildRequires: libstdc++-devel
21 BuildRequires: libtool
22 BuildRequires: libxml2-devel
23 BuildRequires: ncurses-devel
24 BuildRequires: openssl-devel
25 BuildRequires: openssl-tools-perl
26 BuildRequires: perl-base
27 BuildRequires: sysconftool
28 BuildRequires: zlib-devel
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 CONE is a simple, text-based E-mail reader and writer, and a simple
35 %description -l pl.UTF-8
36 CONE jest prostym, tekstowym klientem pocztowym, a także prostym
40 Summary: Header files for LibMAIL
41 Summary(pl.UTF-8): Pliki nagłówkowe LibMAIL
42 Group: Development/Languages
43 Requires: %{name} = %{version}-%{release}
46 This package includes the header files for developing applications
47 using LibMAIL - a high level, C++ OO library for mail clients.
49 %description devel -l pl.UTF-8
50 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji z użyciem
51 LibMAIL - wysokopoziomowej, zorientowanej obiektowo biblioteki C++ dla
55 Summary: Static LibMAIL library
56 Summary(pl.UTF-8): Biblioteka statyczna LibMAIL
57 Group: Development/Libraries
58 Requires: %{name}-devel = %{version}-%{release}
61 This package contains static library for developing application using
62 LibMAIL - a high level, C++ OO library for mail clients.
64 %description static -l pl.UTF-8
65 Ten pakiet zawiera statyczną bibliotekę do tworzenia aplikacji z
66 użyciem LibMAIL - wysokopoziomowej, zorientowanej obiektowo biblioteki
67 C++ dla klientów pocztowych.
70 Summary: Console text file editor
71 Summary(pl.UTF-8): Konsolowy edytor plików tekstowych
72 Group: Applications/Editors
75 Leaf is a simple console text file editor, with paragraph
76 word-wrapping and spell checking. Leaf is based on the text editor in
77 the Cone mail reader and composer.
79 %description -n leaf -l pl.UTF-8
80 Leaf jest prostym konsolowym edytorem plików tekstowych. Jest oparty
81 na edytorze używanym w czytniku poczty Cone.
109 CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
110 PATH=$PATH:/usr/%{_lib}/openssl; export PATH
113 SENDMAIL=%{_sbindir}/sendmail
120 rm -rf $RPM_BUILD_ROOT
123 DESTDIR=$RPM_BUILD_ROOT
125 # start cone directly
126 mv -f $RPM_BUILD_ROOT%{_libdir}/cone $RPM_BUILD_ROOT%{_bindir}
127 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/cone.dist $RPM_BUILD_ROOT%{_sysconfdir}/cone
129 # move devel docs from datadir
131 for file in account-* address.html e*.html folder-* \
132 header* libmail*.html mail-* mimestruct* misc* native* synchronous.html; do
133 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/$file devel
137 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/leaf.html .
139 # rest *.html will go to primary docs
141 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/*.html docs
142 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/manpage.css docs
145 rm -rf $RPM_BUILD_ROOT
148 %defattr(644,root,root,755)
149 %doc AUTHORS ChangeLog README NEWS docs/
150 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cone
151 %attr(755,root,root) %{_bindir}/cone
152 %attr(755,root,root) %{_bindir}/mailtool
154 %{_mandir}/man1/cone*
155 %{_mandir}/man1/mailtool*
158 %defattr(644,root,root,755)
160 %{_libdir}/libmail.la
161 %{_includedir}/libmail
165 %defattr(644,root,root,755)
169 %defattr(644,root,root,755)
171 %attr(755,root,root) %{_bindir}/leaf
172 %{_mandir}/man1/leaf*