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: b2ae0cb3808e5485d566474c8bf251f9
10 URL: http://www.courier-mta.org/cone/
11 BuildRequires: aspell-devel
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: fam-devel
15 BuildRequires: ncurses-devel
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtool
18 BuildRequires: libxml2-devel
19 BuildRequires: openssl-devel
20 BuildRequires: openssl-tools-perl
21 BuildRequires: perl-base
22 BuildRequires: zlib-devel
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 CONE is a simple, text-based E-mail reader and writer, and a simple
30 CONE jest prostym, tekstowym klientem pocztowym, a tak¿e prostym
34 Summary: Header files for LibMAIL
35 Summary(pl): Pliki nag³ówkowe LibMAIL
36 Group: Development/Languages
37 Requires: %{name} = %{version}-%{release}
40 This package includes the header files for developing applications
41 using LibMAIL - a high level, C++ OO library for mail clients.
43 %description devel -l pl
44 Ten pakiet zawiera pliki nag³ówkowe do tworzenia aplikacji z u¿yciem
45 LibMAIL - wysokopoziomowej, zorientowanej obiektowo biblioteki C++ dla
49 Summary: Static LibMAIL library
50 Summary(pl): Biblioteka statyczna LibMAIL
51 Group: Development/Libraries
52 Requires: %{name}-devel = %{version}-%{release}
55 This package contains static library for developing application using
56 LibMAIL - a high level, C++ OO library for mail clients.
58 %description static -l pl
59 Ten pakiet zawiera statyczn± bibliotekê do tworzenia aplikacji z
60 u¿yciem LibMAIL - wysokopoziomowej, zorientowanej obiektowo biblioteki
61 C++ dla klientów pocztowych.
64 Summary: Console text file editor
65 Summary(pl): Konsolowy edytor plików tekstowych
66 Group: Applications/Editors
69 Leaf is a simple console text file editor, with paragraph word-wrapping
70 and spell checking. Leaf is based on the text editor in the Cone mail
73 %description -n leaf -l pl
74 Leaf jest prostym konsolowym edytorem plików tekstowych. Jest oparty na
75 edytorze u¿ywanym w czytniku poczty Cone.
85 CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
86 PATH=$PATH:/usr/%{_lib}/openssl; export PATH
89 SENDMAIL=%{_sbindir}/sendmail
96 rm -rf $RPM_BUILD_ROOT
99 DESTDIR=$RPM_BUILD_ROOT
101 # start cone directly
102 mv -f $RPM_BUILD_ROOT%{_libdir}/cone $RPM_BUILD_ROOT%{_bindir}
103 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/cone.dist $RPM_BUILD_ROOT%{_sysconfdir}/cone
105 # move devel docs from datadir
107 for file in account-* address.html book.html c2*.html e*.html folder-* \
108 mail-* mimestruct* native* r11* r8* synchronous.html; do
109 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/$file devel
113 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/leaf.html .
115 # rest *.html will go to primary docs
117 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/*.html docs
120 rm -rf $RPM_BUILD_ROOT
123 %defattr(644,root,root,755)
124 %doc AUTHORS ChangeLog README NEWS docs/
125 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/cone
126 %attr(755,root,root) %{_bindir}/cone
127 %attr(755,root,root) %{_bindir}/mailtool
129 %{_mandir}/man1/cone*
130 %{_mandir}/man1/mailtool*
133 %defattr(644,root,root,755)
135 %{_includedir}/libmail
139 %defattr(644,root,root,755)
143 %defattr(644,root,root,755)
145 %attr(755,root,root) %{_bindir}/leaf
146 %{_mandir}/man1/leaf*