2 %bcond_without home_etc # don't use home_etc
4 Summary: Elmo, MUA supporting Maildirs and Polish language
5 Summary(pl): Elmo - program pocztowy obs³uguj±cy Maildiry i jêzyk polski
10 Vendor: Jacek ¦liwerski <rzyj@plusnet.pl>
11 Group: Applications/Mail
12 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
13 # Source0-md5: bc3836a276b092fde8555e42532d4bc8
14 Source1: %{name}-examplerc
15 Patch0: %{name}-etc_dir.patch
16 URL: http://elmo.sourceforge.net/
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: gettext-devel
20 BuildRequires: gpgme-devel
21 BuildRequires: libstdc++-devel
22 BuildRequires: libtool
23 BuildRequires: ncurses-devel >= 5.0
24 %{?with_home_etc:BuildRequires: home-etc-devel}
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Elmo, excellent and light mua.
31 Elmo - ¶wietny i niedu¿y program pocztowy.
35 install -m 644 %{SOURCE1} ./examplerc
44 %{__automake} m4/Makefile
46 %{?with_home_etc:--with-home-etc}
49 CC="%{__cc} %{rpmcflags}"
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT \
56 docdir=%{_datadir}/%{name}-%{version}
61 rm -rf $RPM_BUILD_ROOT
63 %files -f %{name}.lang
64 %defattr(644,root,root,755)
65 %doc ADVOCACY AUTHORS doc/README.txt doc/sample.* TODO BUGS THANKS examplerc
66 %attr(755,root,root) %{_bindir}/*
67 %{_datadir}/%{name}/themes/80x25
68 %{_datadir}/%{name}/themes/outlook
69 %{_datadir}/%{name}/template