3 # - maybe split leaf editor ??
6 Summary: CONE - COnsole Newsreader and Emailer
7 Summary(pl): CONE - tekstowy klient poczty i czytnik newsów
12 Group: Applications/Mail
13 Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
14 # Source0-md5: b2ae0cb3808e5485d566474c8bf251f9
15 URL: http://www.courier-mta.org/cone/
16 BuildRequires: aspell-devel
17 BuildRequires: autoconf
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.
71 CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
72 PATH=$PATH:/usr/%{_lib}/openssl; export PATH
81 rm -rf $RPM_BUILD_ROOT
84 DESTDIR=$RPM_BUILD_ROOT
87 mv -f $RPM_BUILD_ROOT%{_libdir}/cone $RPM_BUILD_ROOT%{_bindir}
88 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/cone.dist $RPM_BUILD_ROOT%{_sysconfdir}/cone
90 # move devel docs from datadir
92 for file in account-* address.html book.html c2*.html e*.html folder-* \
93 mail-* mimestruct* native* r11* r8* synchronous.html; do
94 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/$file devel
97 # rest *.html will go to primary docs
99 mv -f $RPM_BUILD_ROOT%{_datadir}/cone/*.html docs
101 # install missing files
102 install libmail/mailtool $RPM_BUILD_ROOT%{_bindir}/mailtool
103 install help.txt $RPM_BUILD_ROOT%{_datadir}/cone
106 rm -rf $RPM_BUILD_ROOT
109 %defattr(644,root,root,755)
110 %doc ABOUT-NLS ChangeLog README NEWS AUTHORS docs/
111 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/cone
112 %attr(755,root,root) %{_bindir}/cone
113 %attr(755,root,root) %{_bindir}/leaf
114 %attr(755,root,root) %{_bindir}/mailtool
119 %defattr(644,root,root,755)
121 %{_includedir}/libmail
125 %defattr(644,root,root,755)