2 %bcond_without home_etc # don't use home_etc
4 Summary: Elmo, MUA supporting Maildirs and Polish language
5 Summary(pl.UTF-8): 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-tools
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.
30 %description -l pl.UTF-8
31 Elmo - świetny i nieduży program pocztowy.
35 install %{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 %dir %{_datadir}/%{name}
68 %dir %{_datadir}/%{name}/themes
69 %{_datadir}/%{name}/themes/80x25
70 %{_datadir}/%{name}/themes/outlook
71 %{_datadir}/%{name}/template