Name: vimb Version: __APP_VERSION__ Release: __APP_RELEASE__%{?dist} Summary: The Vim-like browser URL: https://github.com/fanglingsu/vimb License: GPLv3 Source0: __APP_URLBASE__/archive/%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: make BuildRequires: webkitgtk-devel %description Vimb is a Vim-like web browser that is inspired by Pentadactyl and Vimprobable. The goal of Vimb is to build a completely keyboard-driven, efficient and pleasurable browsing-experience with low memory and CPU usage that is intuitive to use for Vim users. %prep %autosetup -n %{name}-%{version} %build CFLAGS="${CFLAGS:-%{optflags}}"; export CFLAGS %make_build %install make install DESTDIR=%{buildroot} PREFIX=/usr sed -i -e '1 s|#!/usr/bin/env bash|#!/bin/bash|' \ %{buildroot}/%{_datadir}/%{name}/examples/formfiller/formfiller %post update-desktop-database &> /dev/null || : %postun update-desktop-database &> /dev/null || : %check desktop-file-validate %{buildroot}%{_datadir}/applications/vimb.desktop %files %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/examples %dir %{_datadir}/%{name}/examples/formfiller %{_bindir}/vimb %{_mandir}/man1/vimb.1.gz %{_datadir}/%{name}/examples/formfiller/formfiller %{_datadir}/%{name}/examples/formfiller/scripts.js %{_datadir}/applications/vimb.desktop %changelog * __APP_DATE__ Alois Mahdal - __APP_VERSION__-__APP_RELEASE__ - Unofficial experimental RPM pseudo-release # spec file generated from __APP_BUILDSCRIPT_VERSION__