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: libstdc++-devel
16 BuildRequires: libtool
17 BuildRequires: libxml2-devel
18 BuildRequires: ncurses-devel
19 BuildRequires: openssl-devel
20 BuildRequires: openssl-tools-perl
21 BuildRequires: perl-base
22 BuildRequires: sysconftool
23 BuildRequires: zlib-devel
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 CONE is a simple, text-based E-mail reader and writer, and a simple
31 CONE jest prostym, tekstowym klientem pocztowym, a tak¿e prostym
35 Summary: Header files for LibMAIL
36 Summary(pl): Pliki nag³ówkowe LibMAIL
37 Group: Development/Languages
38 Requires: %{name} = %{version}-%{release}
41 This package includes the header files for developing applications
42 using LibMAIL - a high level, C++ OO library for mail clients.
44 %description devel -l pl
45 Ten pakiet zawiera pliki nag³ówkowe do tworzenia aplikacji z u¿yciem
46 LibMAIL - wysokopoziomowej, zorientowanej obiektowo biblioteki C++ dla
50 Summary: Static LibMAIL library
51 Summary(pl): Biblioteka statyczna LibMAIL
52 Group: Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
56 This package contains static library for developing application using
57 LibMAIL - a high level, C++ OO library for mail clients.
59 %description static -l pl
60 Ten pakiet zawiera statyczn± bibliotekê do tworzenia aplikacji z
61 u¿yciem LibMAIL - wysokopoziomowej, zorientowanej obiektowo biblioteki
62 C++ dla klientów pocztowych.
65 Summary: Console text file editor
66 Summary(pl): Konsolowy edytor plików tekstowych
67 Group: Applications/Editors
70 Leaf is a simple console text file editor, with paragraph word-wrapping
71 and spell checking. Leaf is based on the text editor in the Cone mail
74 %description -n leaf -l pl
75 Leaf jest prostym konsolowym edytorem plików tekstowych. Jest oparty na
76 edytorze u¿ywanym w czytniku poczty Cone.
87 CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
88 PATH=$PATH:/usr/%{_lib}/openssl; export PATH
91 SENDMAIL=%{_sbindir}/sendmail
98 rm -rf $RPM_BUILD_ROOT
101 DESTDIR=$RPM_BUILD_ROOT
103 # start cone directly
104 mv -f $RPM_BUILD_ROOT%{_libdir}/cone $RPM_BUILD_ROOT%{_bindir}
105 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/cone.dist $RPM_BUILD_ROOT%{_sysconfdir}/cone
107 # move devel docs from datadir
109 for file in account-* address.html book.html c2*.html e*.html folder-* \
110 mail-* mimestruct* native* r11* r8* synchronous.html; do
111 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/$file devel
115 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/leaf.html .
117 # rest *.html will go to primary docs
119 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/*.html docs
122 rm -rf $RPM_BUILD_ROOT
125 %defattr(644,root,root,755)
126 %doc AUTHORS ChangeLog README NEWS docs/
127 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/cone
128 %attr(755,root,root) %{_bindir}/cone
129 %attr(755,root,root) %{_bindir}/mailtool
131 %{_mandir}/man1/cone*
132 %{_mandir}/man1/mailtool*
135 %defattr(644,root,root,755)
137 %{_includedir}/libmail
141 %defattr(644,root,root,755)
145 %defattr(644,root,root,755)
147 %attr(755,root,root) %{_bindir}/leaf
148 %{_mandir}/man1/leaf*