]> git.pld-linux.org Git - packages/elmo.git/blobdiff - elmo.spec
- up to 1.0.4
[packages/elmo.git] / elmo.spec
index f9575d92e7a7ebf29a4ee3f313dfbd0fab03545a..87719bb36e00115c95dc3ac6de88cb3d548e24f7 100644 (file)
--- 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 <rzyj@plusnet.pl>
 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*
This page took 0.071153 seconds and 4 git commands to generate.