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://downloads.sourceforge.net/courier/%{name}-%{version}.tar.bz2
13 # Source0-md5: 7ee8b8c0fe89d96bca3e93a2b82adfb9
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 Requires: ca-certificates
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 CONE is a simple, text-based E-mail reader and writer, and a simple
36 %description -l pl.UTF-8
37 CONE jest prostym, tekstowym klientem pocztowym, a także prostym
41 Summary: Header files for LibMAIL
42 Summary(pl.UTF-8): Pliki nagłówkowe LibMAIL
43 Group: Development/Languages
44 Requires: %{name} = %{version}-%{release}
47 This package includes the header files for developing applications
48 using LibMAIL - a high level, C++ OO library for mail clients.
50 %description devel -l pl.UTF-8
51 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji z
52 użyciem LibMAIL - wysokopoziomowej, zorientowanej obiektowo
53 biblioteki C++ dla klientów pocztowych.
56 Summary: Static LibMAIL library
57 Summary(pl.UTF-8): Biblioteka statyczna LibMAIL
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{version}-%{release}
62 This package contains static library for developing application using
63 LibMAIL - a high level, C++ OO library for mail clients.
65 %description static -l pl.UTF-8
66 Ten pakiet zawiera statyczną bibliotekę do tworzenia aplikacji z
67 użyciem LibMAIL - wysokopoziomowej, zorientowanej obiektowo
68 biblioteki C++ dla klientów pocztowych.
71 Summary: Console text file editor
72 Summary(pl.UTF-8): Konsolowy edytor plików tekstowych
73 Group: Applications/Editors
76 Leaf is a simple console text file editor, with paragraph
77 word-wrapping and spell checking. Leaf is based on the text editor in
78 the Cone mail reader and composer.
80 %description -n leaf -l pl.UTF-8
81 Leaf jest prostym konsolowym edytorem plików tekstowych. Jest oparty
82 na edytorze używanym w czytniku poczty Cone.
111 CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses"
112 LDFLAGS="%{rpmldflags} -ltinfow"
113 PATH=$PATH:%{_prefix}/%{_lib}/openssl; export PATH
116 --with-certdb=%{_sysconfdir}/certs/ca-certificates.crt \
117 SENDMAIL=%{_sbindir}/sendmail
124 rm -rf $RPM_BUILD_ROOT
127 DESTDIR=$RPM_BUILD_ROOT
129 # start cone directly
130 #mv -f $RPM_BUILD_ROOT%{_libdir}/cone $RPM_BUILD_ROOT%{_bindir}
131 cp cone.sh $RPM_BUILD_ROOT%{_bindir}/cone
132 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/cone.dist $RPM_BUILD_ROOT%{_sysconfdir}/cone
134 # move devel docs from datadir
136 for file in account-* address.html e*.html folder-* \
137 header* libmail*.html mail-* mimestruct* misc* native* synchronous.html; do
138 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/$file devel
142 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/leaf.html .
144 # rest *.html will go to primary docs
146 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/*.html docs
147 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/manpage.css docs
150 rm -rf $RPM_BUILD_ROOT
153 %defattr(644,root,root,755)
154 %doc AUTHORS ChangeLog README NEWS docs/
155 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cone
156 %attr(755,root,root) %{_bindir}/cone
157 %attr(755,root,root) %{_bindir}/mailtool
158 %attr(755,root,root) %{_libdir}/cone
160 %{_mandir}/man1/cone*
161 %{_mandir}/man1/mailtool*
164 %defattr(644,root,root,755)
166 %{_libdir}/libmail.la
167 %{_includedir}/libmail
171 %defattr(644,root,root,755)
175 %defattr(644,root,root,755)
177 %attr(755,root,root) %{_bindir}/leaf
178 %{_mandir}/man1/leaf*