fixes for mandriva
OBS-URL: https://build.opensuse.org/package/show/utilities/vifm?expand=0&rev=8
This commit is contained in:
parent
2927a2efbc
commit
18d346a023
12
vifm.spec
12
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user