1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-23 03:21:55 +03:00

Fedora releases are now automated

Dgroc script https://github.com/pypingou/dgroc is now used to create
daily builds from GitHub repository.

Some changes in spec file was required to use script this script.
This commit is contained in:
Jiří Konečný 2015-03-28 09:47:08 +01:00
parent d1b81c8f8a
commit d8a026a5ff

View File

@ -1,15 +1,11 @@
# 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: 1.%{shortcommit}git%{?dist}
Release: 5.20150328gitd1b81c8f%{?dist}
Summary: Vim inspired editor
License: Unlicense
URL: https://github.com/mawww/kakoune
Source0: https://github.com/mawww/kakoune/archive/%{commit}/kakoune-%{commit}.tar.gz
Source0: kakoune-d1b81c8f.tar
BuildRequires: boost-devel >= 1.50
BuildRequires: ncurses-devel >= 5.3
@ -20,7 +16,7 @@ Requires: ncurses-libs >= 5.3
Kakoune is a code editor heavily inspired by Vim
%prep
%setup -qn %{name}-%{commit}
%setup -qn kakoune
%build
cd src
@ -35,8 +31,12 @@ cd src
%make_install PREFIX=/usr
%changelog
* Sat Mar 28 2015 jkonecny <jkonecny@redhat.com> - 0-5.20150328gitd1b81c8f
- Automated git update by dgroc script new hash: d1b81c8f
* Tue Mar 24 2015 Jiri Konecny <jkonecny@redhat.com> 0-1.7eaa697git
- Add tests
* Tue Mar 17 2015 Jiri Konecny <jkonecny@redhat.com> 0-1.12a732dgit
- Create first rpm for kakoune
@ -45,3 +45,4 @@ cd src
%{_bindir}/*
%{_datadir}/doc/kak/*
%{_datadir}/kak/*