Script to trigger re-build of vimb - https://github.com/fanglingsu/vimb

vimb.spec.in 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Name: vimb
  2. Version: __APP_VERSION__
  3. Release: __APP_RELEASE__%{?dist}
  4. Summary: The Vim-like browser
  5. URL: https://github.com/fanglingsu/vimb
  6. License: GPLv3
  7. Source0: __APP_URLBASE__/archive/%{version}.tar.gz
  8. BuildRequires: make
  9. BuildRequires: webkitgtk-devel
  10. %description
  11. Vimb is a Vim-like web browser that is inspired by Pentadactyl and
  12. Vimprobable. The goal of Vimb is to build a completely keyboard-driven,
  13. efficient and pleasurable browsing-experience with low memory and CPU
  14. usage that is intuitive to use for Vim users.
  15. %prep
  16. %autosetup -n %{name}-%{version}
  17. %build
  18. CFLAGS="${CFLAGS:-%{optflags}}"; export CFLAGS
  19. %make_build
  20. %install
  21. make install DESTDIR=%{buildroot} PREFIX=/usr
  22. sed -i -e '1 s|#!/usr/bin/env bash|#!/bin/bash|' \
  23. %{buildroot}/%{_datadir}/%{name}/examples/formfiller/formfiller
  24. %files
  25. %{_bindir}/vimb
  26. %{_mandir}/man1/vimb.1.gz
  27. %{_datadir}/%{name}/examples/formfiller/formfiller
  28. %{_datadir}/%{name}/examples/formfiller/scripts.js
  29. %changelog
  30. * __APP_DATE__ Alois Mahdal <netvor+vimb@vornet.cz> - __APP_VERSION__-__APP_RELEASE__
  31. - Unofficial experimental RPM pseudo-release
  32. # spec file generated from __APP_BUILDSCRIPT_VERSION__