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:
15
vifm.spec
15
vifm.spec
@@ -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
|
||||
|
Reference in New Issue
Block a user