X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=elmo.spec;h=87719bb36e00115c95dc3ac6de88cb3d548e24f7;hb=35a1f09dd8a8e39421eeb254f3824946891be165;hp=f9575d92e7a7ebf29a4ee3f313dfbd0fab03545a;hpb=ac889336eeb09ea5ea2bace400ccb129469e05d9;p=packages%2Felmo.git diff --git a/elmo.spec b/elmo.spec index f9575d9..87719bb 100644 --- a/elmo.spec +++ b/elmo.spec @@ -1,17 +1,19 @@ Summary: Elmo, MUA supporting Maildirs and Polish language Summary(pl): Elmo - program pocztowy obs³uguj±cy Maildiry i jêzyk polski Name: elmo -Version: 0.4.1 -Release: 2 -License: distributable +Version: 1.0.4 +Release: 1 +License: GPL v2+ +Vendor: Jacek ¦liwerski Group: Applications/Mail -Source0: http://savannah.nongnu.org/download/elmo/unstable.pkg/%{version}/%{name}-%{version}.tar.gz +Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +# Source0-md5: 8c5109b462008625ed928abc0d907710 Source1: %{name}-examplerc -Patch0: %{name}-makefile.diff -Patch1: %{name}-home_etc.patch +Patch0: %{name}-etc_dir.patch URL: http://elmo.sourceforge.net/ BuildRequires: autoconf BuildRequires: automake +BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: ncurses-devel >= 5.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -23,29 +25,37 @@ Elmo, excellent and light mua. Elmo - ¶wietny i niedu¿y program pocztowy. %prep -%setup -q -n %{name}-0.4 -%patch0 -p1 -%patch1 -p1 +%setup -q +install -m 644 %{SOURCE1} ./examplerc %build +%{__gettextize} %{__libtoolize} -%{__aclocal} -I . +%{__aclocal} -I m4 %{__autoconf} +%{__autoheader} %{__automake} +%{__automake} m4/Makefile %configure -%{__make} CC="%{__cc} %{rpmcflags} -I/usr/include/ncurses" + +%{__make} \ + CC="%{__cc} %{rpmcflags}" %install rm -rf $RPM_BUILD_ROOT + %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ docdir=%{_datadir}/%{name}-%{version} +%find_lang %{name} + %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(644,root,root,755) +%doc ADVOCACY AUTHORS doc/README.txt doc/sample.* TODO BUGS THANKS examplerc %attr(755,root,root) %{_bindir}/* %{_mandir}/man1/* %{_infodir}/*.info*