]> git.pld-linux.org Git - packages/elmo.git/blame - elmo.spec
- updated gettext BR
[packages/elmo.git] / elmo.spec
CommitLineData
dd161cc3 1# Conditional build:
2%bcond_without home_etc # don't use home_etc
d8a3b8ee 3#
48b6540f 4Summary: Elmo, MUA supporting Maildirs and Polish language
bfeed90d 5Summary(pl.UTF-8): Elmo - program pocztowy obsługujący Maildiry i język polski
48b6540f 6Name: elmo
2a6c402e 7Version: 1.3.2
a745a9b6 8Release: 3
92b19a50 9License: GPL v2+
fb0208bf 10Vendor: Jacek Śliwerski <rzyj@plusnet.pl>
48b6540f 11Group: Applications/Mail
939d7389 12Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
2a6c402e 13# Source0-md5: bc3836a276b092fde8555e42532d4bc8
48b6540f 14Source1: %{name}-examplerc
301261dd 15Patch0: %{name}-etc_dir.patch
07100783
JB
16URL: http://elmo.sourceforge.net/
17BuildRequires: autoconf
18BuildRequires: automake
9c5045e7 19BuildRequires: gettext-tools
2a6c402e 20BuildRequires: gpgme-devel
d92e9a08 21BuildRequires: libstdc++-devel
3dd34d21 22#BuildRequires: libtool
48b6540f 23BuildRequires: ncurses-devel >= 5.0
dd161cc3 24%{?with_home_etc:BuildRequires: home-etc-devel}
48b6540f 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28Elmo, excellent and light mua.
29
fb0208bf 30%description -l pl.UTF-8
31Elmo - świetny i nieduży program pocztowy.
48b6540f 32
48b6540f 33%prep
9a977452 34%setup -q
bec62ede 35install %{SOURCE1} ./examplerc
48b6540f 36
48b6540f 37%build
9a977452 38%{__gettextize}
3dd34d21 39#%{__libtoolize}
939d7389 40%{__aclocal} -I m4
48b6540f 41%{__autoconf}
9a977452 42%{__autoheader}
d66057f2 43%{__automake}
3dd34d21 44#%{__automake} m4/Makefile
dd161cc3 45%configure \
46 %{?with_home_etc:--with-home-etc}
eaa02af8 47
461abca6
JB
48%{__make} \
49 CC="%{__cc} %{rpmcflags}"
48b6540f 50
51%install
52rm -rf $RPM_BUILD_ROOT
461abca6 53
48b6540f 54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT \
56 docdir=%{_datadir}/%{name}-%{version}
57
25be27f4
MM
58%find_lang %{name}
59
48b6540f 60%clean
61rm -rf $RPM_BUILD_ROOT
07100783 62
25be27f4 63%files -f %{name}.lang
48b6540f 64%defattr(644,root,root,755)
2dfaa957 65%doc ADVOCACY AUTHORS doc/README.txt doc/sample.* TODO BUGS THANKS examplerc
48b6540f 66%attr(755,root,root) %{_bindir}/*
bec62ede 67%dir %{_datadir}/%{name}
68%dir %{_datadir}/%{name}/themes
735275a0
AG
69%{_datadir}/%{name}/themes/80x25
70%{_datadir}/%{name}/themes/outlook
71%{_datadir}/%{name}/template
07100783 72%{_mandir}/man1/*
This page took 0.052945 seconds and 4 git commands to generate.