Merge pull request #261 from jkonecny12/master-new-spec

New spec file version
This commit is contained in:
Maxime Coste 2015-03-28 13:24:41 +00:00
commit c174ca62bd
2 changed files with 9 additions and 8 deletions

View File

@ -114,7 +114,7 @@ brew install --HEAD https://raw.githubusercontent.com/mawww/kakoune/homebrew/con
Fedora 20/21/22/Rawhide & Epel 7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Use created copr repository https://copr.fedoraproject.org/coprs/jkonecny/kakoune/
Use copr repository https://copr.fedoraproject.org/coprs/jkonecny/kakoune/
---------------------------------
dnf copr enable jkonecny/kakoune
dnf install kakoune

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/*