Last active
May 11, 2016 12:49
-
-
Save jkonecny12/bb24546bb1e06400c809d50fa564b29e to your computer and use it in GitHub Desktop.
Spec file for Kakoune builds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO: automate this to get new GitHub version everytime | |
%global commit 48007d5de22f57175115fc72fe9cb592e6b0efb2 | |
%global shortcommit %(c=%{commit}; echo ${c:0:7}) | |
Name: kakoune | |
Version: 0 | |
Release: 2.%{shortcommit}git%{?dist} | |
Summary: Vim inspired editor | |
License: Unlicense | |
URL: http://kakoune.org/ | |
Source0: https://github.com/mawww/kakoune/archive/%{commit}/kakoune-%{commit}.tar.gz | |
BuildRequires: boost-devel >= 1.50 | |
BuildRequires: ncurses-devel >= 5.3 | |
Requires: boost >= 1.50 | |
Requires: ncurses-libs >= 5.3 | |
%description | |
Kakoune is a code editor heavily inspired by Vim | |
%prep | |
%setup -qn %{name}-%{commit} | |
%build | |
cd src | |
make %{?_smp_mflags} | |
%check | |
cd src | |
LANG=en_US.utf8 make test | |
%install | |
cd src | |
%make_install PREFIX=/usr | |
%files | |
%doc | |
%{_bindir}/* | |
%{_datadir}/doc/kak/* | |
%{_datadir}/kak/* | |
%changelog | |
* Wed May 11 2016 jkonecny <[email protected]> - 0-208.20160511git84f62e6f | |
- Add LANG=en_US.UTF-8 to fix tests | |
- Update to git: 84f62e6f | |
* Tue Mar 24 2015 Jiri Konecny <[email protected]> 0-1.7eaa697git | |
- Add tests | |
* Tue Mar 17 2015 Jiri Konecny <[email protected]> 0-1.12a732dgit | |
- Create first rpm for kakoune |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment