]> git.pld-linux.org Git - packages/elmo.git/blob - elmo.spec
- BR: libstdc++-devel
[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.2
8 Release:        2
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:  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)
26
27 %description
28 Elmo, excellent and light mua.
29
30 %description -l pl
31 Elmo - ¶wietny i niedu¿y program pocztowy.
32
33 %prep
34 %setup -q
35 install -m 644 %{SOURCE1} ./examplerc
36
37 %build
38 %{__gettextize}
39 %{__libtoolize}
40 %{__aclocal} -I m4
41 %{__autoconf}
42 %{__autoheader}
43 %{__automake}
44 %{__automake} m4/Makefile
45 %configure \
46         %{?with_home_etc:--with-home-etc}
47
48 %{__make} \
49         CC="%{__cc} %{rpmcflags}"
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT \
56         docdir=%{_datadir}/%{name}-%{version}
57
58 %find_lang %{name}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
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
70 %{_mandir}/man1/*
This page took 0.0757 seconds and 3 git commands to generate.