5 Summary: CONE - Console Newsreader and Emailer
6 Summary(pl): 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: b2ae0cb3808e5485d566474c8bf251f9
14 URL: http://www.courier-mta.org/cone/
15 BuildRequires: aspell-devel
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: fam-devel
19 BuildRequires: ncurses-devel
20 BuildRequires: libstdc++-devel
21 BuildRequires: libtool
22 BuildRequires: libxml2-devel
23 BuildRequires: openssl-devel
24 BuildRequires: openssl-tools-perl
25 BuildRequires: perl-base
26 BuildRequires: zlib-devel
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 CONE is a simple, text-based E-mail reader and writer, and a simple
34 CONE jest prostym, tekstowym klientem pocztowym, a tak¿e prostym
38 Summary: Header files for LibMAIL
39 Summary(pl): Pliki nag³ówkowe LibMAIL
40 Group: Development/Languages
41 Requires: %{name} = %{version}-%{release}
44 This package includes the header files for developing applications
45 using LibMAIL - a high level, C++ OO library for mail clients.
47 %description devel -l pl
48 Ten pakiet zawiera pliki nag³ówkowe do tworzenia aplikacji z u¿yciem
49 LibMAIL - wysokopoziomowej, zorientowanej obiektowo biblioteki C++ dla
53 Summary: Static LibMAIL library
54 Summary(pl): Biblioteka statyczna LibMAIL
55 Group: Development/Libraries
56 Requires: %{name}-devel = %{version}-%{release}
59 This package contains static library for developing application using
60 LibMAIL - a high level, C++ OO library for mail clients.
62 %description static -l pl
63 Ten pakiet zawiera statyczn± bibliotekê do tworzenia aplikacji z
64 u¿yciem LibMAIL - wysokopoziomowej, zorientowanej obiektowo biblioteki
65 C++ dla klientów pocztowych.
68 Summary: Console text file editor
69 Summary(pl): Konsolowy edytor plików tekstowych
70 Group: Applications/Editors
73 Leaf is a simple console text file editor, with paragraph word-wrapping
74 and spell checking. Leaf is based on the text editor in the Cone mail
77 %description -n leal -l pl
78 Leaf jest prostym konsolowym edytorem plików tekstowych. Jest oparty na
79 edytorze u¿ywanym w czytniku poczty Cone.
89 CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
90 PATH=$PATH:/usr/%{_lib}/openssl; export PATH
93 SENDMAIL=%{_sbindir}/sendmail
100 rm -rf $RPM_BUILD_ROOT
103 DESTDIR=$RPM_BUILD_ROOT
105 # start cone directly
106 mv -f $RPM_BUILD_ROOT%{_libdir}/cone $RPM_BUILD_ROOT%{_bindir}
107 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/cone.dist $RPM_BUILD_ROOT%{_sysconfdir}/cone
109 # move devel docs from datadir
111 for file in account-* address.html book.html c2*.html e*.html folder-* \
112 mail-* mimestruct* native* r11* r8* synchronous.html; do
113 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/$file devel
117 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/leaf.html .
119 # rest *.html will go to primary docs
121 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/*.html docs
123 # install missing files
124 install libmail/mailtool $RPM_BUILD_ROOT%{_bindir}/mailtool
125 install help.txt $RPM_BUILD_ROOT%{_datadir}/cone
128 rm -rf $RPM_BUILD_ROOT
131 %defattr(644,root,root,755)
132 %doc AUTHORS ChangeLog README NEWS docs/
133 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/cone
134 %attr(755,root,root) %{_bindir}/cone
135 %attr(755,root,root) %{_bindir}/mailtool
137 %{_mandir}/man1/cone*
138 %{_mandir}/man1/mailtool*
141 %defattr(644,root,root,755)
143 %{_includedir}/libmail
147 %defattr(644,root,root,755)
151 %defattr(644,root,root,755)
153 %attr(755,root,root) %{_bindir}/leaf
154 %{_mandir}/man1/leaf*