]> git.pld-linux.org Git - packages/cone.git/blame - cone.spec
- updated to 0.89
[packages/cone.git] / cone.spec
CommitLineData
147daf49 1#
2# TODO:
3# - review devel doc files
4#
6657dc05 5Summary: CONE - Console Newsreader and Emailer
28d6cad6 6Summary(pl.UTF-8): CONE - tekstowy klient poczty i czytnik newsów
f976440c 7Name: cone
a3ca27dd 8Version: 0.89
9Release: 1
f976440c
AA
10License: GPL
11Group: Applications/Mail
509212ad 12Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
a3ca27dd 13# Source0-md5: 7ee8b8c0fe89d96bca3e93a2b82adfb9
ad21e748 14Patch0: %{name}-maildir.patch
509212ad 15URL: http://www.courier-mta.org/cone/
f976440c
AA
16BuildRequires: aspell-devel
17BuildRequires: autoconf
6657dc05 18BuildRequires: automake
f976440c 19BuildRequires: fam-devel
f976440c
AA
20BuildRequires: libstdc++-devel
21BuildRequires: libtool
22BuildRequires: libxml2-devel
08ede1b6 23BuildRequires: ncurses-devel
f976440c 24BuildRequires: openssl-devel
e6e42bbf 25BuildRequires: openssl-tools-perl
509212ad 26BuildRequires: perl-base
48814c1c 27BuildRequires: sysconftool
f976440c
AA
28BuildRequires: zlib-devel
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
509212ad
JB
32CONE is a simple, text-based E-mail reader and writer, and a simple
33newsreader.
f976440c 34
8628d5b4
JR
35%description -l pl.UTF-8
36CONE jest prostym, tekstowym klientem pocztowym, a także prostym
37czytnikiem newsów.
f976440c 38
509212ad 39%package devel
f976440c 40Summary: Header files for LibMAIL
28d6cad6 41Summary(pl.UTF-8): Pliki nagłówkowe LibMAIL
509212ad 42Group: Development/Languages
f976440c
AA
43Requires: %{name} = %{version}-%{release}
44
45%description devel
509212ad 46This package includes the header files for developing applications
e6205d14 47using LibMAIL - a high level, C++ OO library for mail clients.
f976440c 48
8628d5b4
JR
49%description devel -l pl.UTF-8
50Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji z użyciem
509212ad 51LibMAIL - wysokopoziomowej, zorientowanej obiektowo biblioteki C++ dla
8628d5b4 52klientów pocztowych.
f976440c 53
509212ad
JB
54%package static
55Summary: Static LibMAIL library
28d6cad6 56Summary(pl.UTF-8): Biblioteka statyczna LibMAIL
f976440c 57Group: Development/Libraries
509212ad 58Requires: %{name}-devel = %{version}-%{release}
f976440c
AA
59
60%description static
509212ad 61This package contains static library for developing application using
f976440c
AA
62LibMAIL - a high level, C++ OO library for mail clients.
63
8628d5b4
JR
64%description static -l pl.UTF-8
65Ten pakiet zawiera statyczną bibliotekę do tworzenia aplikacji z
66użyciem LibMAIL - wysokopoziomowej, zorientowanej obiektowo biblioteki
67C++ dla klientów pocztowych.
f976440c 68
6657dc05
AA
69%package -n leaf
70Summary: Console text file editor
28d6cad6 71Summary(pl.UTF-8): Konsolowy edytor plików tekstowych
6657dc05
AA
72Group: Applications/Editors
73
74%description -n leaf
b78eacde
ER
75Leaf is a simple console text file editor, with paragraph
76word-wrapping and spell checking. Leaf is based on the text editor in
77the Cone mail reader and composer.
6657dc05 78
8628d5b4
JR
79%description -n leaf -l pl.UTF-8
80Leaf jest prostym konsolowym edytorem plików tekstowych. Jest oparty
81na edytorze używanym w czytniku poczty Cone.
6657dc05 82
f976440c
AA
83%prep
84%setup -q
ad21e748 85%patch0 -p1
f976440c
AA
86
87%build
a3ca27dd 88#%{__libtoolize}
89#%{__aclocal}
90#%{__autoconf}
91#%{__automake}
92
93#cd cone
94#%{__aclocal}
95#%{__autoconf}
96#%{__automake}
97
98#cd ../libmail
99#%{__aclocal}
100#%{__autoconf}
101#%{__automake}
102
103#cd ../maildir
104#%{__aclocal}
105#%{__autoconf}
106#%{__automake}
107#cd ..
108
b41719b0 109
e6205d14 110CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
a3ca27dd 111LDFLAGS="%{rpmldflags} -ltinfow"
509212ad 112PATH=$PATH:/usr/%{_lib}/openssl; export PATH
f976440c 113%configure \
6657dc05 114 --with-devel \
a3ca27dd 115 --with-certdb=%{_sysconfdir}/certs/ca-certificates.crt \
6657dc05 116 SENDMAIL=%{_sbindir}/sendmail
f976440c
AA
117
118%{__make}
119
a3ca27dd 120#%{__make} check
f976440c
AA
121
122%install
123rm -rf $RPM_BUILD_ROOT
124
125%{__make} install \
126 DESTDIR=$RPM_BUILD_ROOT
127
128# start cone directly
a3ca27dd 129#mv -f $RPM_BUILD_ROOT%{_libdir}/cone $RPM_BUILD_ROOT%{_bindir}
130cp cone.sh $RPM_BUILD_ROOT%{_bindir}/cone
f976440c
AA
131mv -f $RPM_BUILD_ROOT%{_sysconfdir}/cone.dist $RPM_BUILD_ROOT%{_sysconfdir}/cone
132
133# move devel docs from datadir
134mkdir devel
147daf49 135for file in account-* address.html e*.html folder-* \
02559e28 136header* libmail*.html mail-* mimestruct* misc* native* synchronous.html; do
f976440c
AA
137mv -f $RPM_BUILD_ROOT%{_datadir}/cone/$file devel
138done
139
6657dc05
AA
140# leaf doc
141mv -f $RPM_BUILD_ROOT%{_datadir}/cone/leaf.html .
142
f976440c
AA
143# rest *.html will go to primary docs
144mkdir docs
145mv -f $RPM_BUILD_ROOT%{_datadir}/cone/*.html docs
02559e28 146mv -f $RPM_BUILD_ROOT%{_datadir}/cone/manpage.css docs
f976440c 147
f976440c
AA
148%clean
149rm -rf $RPM_BUILD_ROOT
150
151%files
152%defattr(644,root,root,755)
5f3b2ed0 153%doc AUTHORS ChangeLog README NEWS docs/
b78eacde 154%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cone
509212ad 155%attr(755,root,root) %{_bindir}/cone
509212ad 156%attr(755,root,root) %{_bindir}/mailtool
a3ca27dd 157%attr(755,root,root) %{_libdir}/cone
f976440c 158%{_datadir}/cone
6657dc05
AA
159%{_mandir}/man1/cone*
160%{_mandir}/man1/mailtool*
f976440c
AA
161
162%files devel
163%defattr(644,root,root,755)
6657dc05 164%doc devel/*
b41719b0 165%{_libdir}/libmail.la
f976440c 166%{_includedir}/libmail
02559e28 167%{_mandir}/man3/*
f976440c
AA
168
169%files static
170%defattr(644,root,root,755)
171%{_libdir}/libmail.a
6657dc05
AA
172
173%files -n leaf
174%defattr(644,root,root,755)
175%doc leaf.html
176%attr(755,root,root) %{_bindir}/leaf
177%{_mandir}/man1/leaf*
This page took 0.09124 seconds and 4 git commands to generate.