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: 432d502e188f35e061a5fcc73427650f
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: libtool
21 BuildRequires: ncurses-devel >= 5.0
22 %{?with_home_etc:BuildRequires: home-etc-devel}
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Elmo, excellent and light mua.
29 Elmo - ¶wietny i niedu¿y program pocztowy.
33 install -m 644 %{SOURCE1} ./examplerc
42 %{__automake} m4/Makefile
44 %{?with_home_etc:--with-home-etc}
47 CC="%{__cc} %{rpmcflags}"
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT \
54 docdir=%{_datadir}/%{name}-%{version}
59 rm -rf $RPM_BUILD_ROOT
61 %files -f %{name}.lang
62 %defattr(644,root,root,755)
63 %doc ADVOCACY AUTHORS doc/README.txt doc/sample.* TODO BUGS THANKS examplerc
64 %attr(755,root,root) %{_bindir}/*