From 18d346a02312e8f2606df5666b85db713c614abc23d1375c90e06ea61311d23c Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Fri, 30 Mar 2012 18:29:44 +0000 Subject: [PATCH] fixes for mandriva OBS-URL: https://build.opensuse.org/package/show/utilities/vifm?expand=0&rev=8 --- vifm.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/vifm.spec b/vifm.spec index 3a80346..616cc70 100644 --- a/vifm.spec +++ b/vifm.spec @@ -1,3 +1,4 @@ +# vim: set ts=4 sw=4 et: # # spec file for package vifm # @@ -8,7 +9,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: vifm Version: 0.7.2a Release: 1 @@ -17,7 +17,11 @@ Summary: Ncurses based file manager with vi like keybindings Url: http://vifm.sourceforge.net Group: Productivity/File utilities Source0: http://prdownloads.sourceforge.net/vifm/vifm-%{version}.tar.bz2 +%if 0%{?mdkversion} +BuildRequires: libncursesw-devel +%else BuildRequires: ncurses-devel +%endif BuildRequires: file-devel BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -39,7 +43,7 @@ make %{?_smp_mflags} make DESTDIR=%{buildroot} install %clean -%{?buildroot:rm -rf %{buildroot}} +%{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) @@ -50,5 +54,7 @@ make DESTDIR=%{buildroot} install %doc %{_datadir}/vifm/vifm-help.txt %dir %{_datadir}/vifm/ %{_datadir}/vifm/vifmrc -%doc %{_mandir}/man1/vifm.1%{ext_man} +%doc %{_mandir}/man1/vifm.1* + +%changelog