]> git.pld-linux.org Git - packages/clex.git/blobdiff - clex.spec
- somebody(TM) forgot to update ncurses patch... fixed.
[packages/clex.git] / clex.spec
index eb439de95bffda75003e09c210bb94bd735372af..d967ecf224005056a48d5039ea51955b58ee50a0 100644 (file)
--- a/clex.spec
+++ b/clex.spec
@@ -1,47 +1,49 @@
 Summary:       A file mananger
-Summary(pl):   Mened¿er plików
+Summary(pl):   Zarz±dca plików
 Name:          clex
-Version:       3.1.0
+Version:       3.1.8
 Release:       1
 License:       GPL
-Group:         Console/Utilitiles
-Source0:       http://www.clex.sk/download/%{name}-%{version}.tar.gz
-URL:           http://www.clex.sk
-BuildRequires: ncurses-devel
+Group:         Applications/Terminal
+Source0:       http://www.clex.sk/download/%{name}-%{version}.src.tar.gz
+# Source0-md5: a4c9f7d169f4fadb40ed7582ee2dd2f3
+Patch0:                %{name}-ncurses.patch
+URL:           http://www.clex.sk/
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 CLEX is an interactive full-screen file manager.
 
 %description -l pl
-CLEX jest interaktywnym, pe³noekranowym mened¿erem plików.
+CLEX jest interaktywnym, pe³noekranowym zarz±dc± plików.
 
 %prep
 %setup  -q
+%patch0 -p1
+mv -f autoconf.h.bot config.h.bot
 
 %build
-aclocal
-autoconf
-automake -a -c
-CPPFLAGS="-I/usr/include/ncurses"; export CPPFLAGS
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf ChangeLog
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc ChangeLog
 %attr(755,root,root) %{_bindir}/*
-%{_datadir}/clex
 %{_mandir}/man*/*
This page took 0.042297 seconds and 4 git commands to generate.