]> git.pld-linux.org Git - packages/elmo.git/blob - elmo.spec
e7e4d490b9df6ff3413f6d627a9f36bad50b2316
[packages/elmo.git] / elmo.spec
1 # Conditional build:
2 %bcond_without  home_etc        # don't use home_etc
3 #
4 Summary:        Elmo, MUA supporting Maildirs and Polish language
5 Summary(pl):    Elmo - program pocztowy obs³uguj±cy Maildiry i jêzyk polski
6 Name:           elmo
7 Version:        1.3.0
8 Release:        1
9 License:        GPL v2+
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)
24
25 %description
26 Elmo, excellent and light mua.
27
28 %description -l pl
29 Elmo - ¶wietny i niedu¿y program pocztowy.
30
31 %prep
32 %setup -q
33 install -m 644 %{SOURCE1} ./examplerc
34
35 %build
36 %{__gettextize}
37 %{__libtoolize}
38 %{__aclocal} -I m4
39 %{__autoconf}
40 %{__autoheader}
41 %{__automake}
42 %{__automake} m4/Makefile
43 %configure \
44         %{?with_home_etc:--with-home-etc}
45
46 %{__make} \
47         CC="%{__cc} %{rpmcflags}"
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT \
54         docdir=%{_datadir}/%{name}-%{version}
55
56 %find_lang %{name}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
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}/*
65 %{_mandir}/man1/*
This page took 0.150462 seconds and 3 git commands to generate.