SHA256
1
0
forked from pool/vifm

Accepting request 294740 from home:jubalh:branches:utilities

Cleanup of spec file and making it work under SLE11 as well.

OBS-URL: https://build.opensuse.org/request/show/294740
OBS-URL: https://build.opensuse.org/package/show/utilities/vifm?expand=0&rev=12
This commit is contained in:
2015-04-07 13:01:27 +00:00
committed by Git OBS Bridge
parent a5292d30cd
commit d1a0b710d3
2 changed files with 45 additions and 2 deletions

View File

@@ -28,7 +28,15 @@ BuildRequires: file-devel
BuildRequires: groff
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
BuildRequires: update-desktop-files
%endif
%if 0%{?suse_version} > 1110
BuildRequires: pkgconfig(x11)
%else
BuildRequires: xorg-x11-devel
%endif
%description
Vifm is a ncurses based file manager with vi like keybindings that allow complete
@@ -51,12 +59,15 @@ gzip -9c ChangeLog > ChangeLog.gz
%install
%make_install
make install DESTDIR="%{?buildroot}"
%if 0%{?suse_version}
%suse_update_desktop_file %{name}
%endif
%files
%defattr(-,root,root)
%doc AUTHORS BUGS ChangeLog.* README TODO
%doc AUTHORS BUGS ChangeLog.* COPYING README TODO
%{_bindir}/*
%doc %{_datadir}/%{name}/%{name}-help.txt
%doc %{_datadir}/%{name}/vim-doc