Skip to content

Instantly share code, notes, and snippets.

@nishigori
Last active December 21, 2015 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nishigori/6248277 to your computer and use it in GitHub Desktop.
Save nishigori/6248277 to your computer and use it in GitHub Desktop.
RPMBUILD spec of git-flow-avh https://github.com/petervanderdoes/gitflow.git
%define gitflowver 1.6.1
Name: gitflow
Version: %{gitflowver}
Release: 1%{?dist}
Summary: Extensions providing operations for V. Driessen's branching model
Group: Development/Tools
License: BSD
URL: http://nvie.com/posts/a-successful-git-branching-model/
#wget -O gitflow-%{gitflowver}.tar.gz https://github.com/petervanderdoes/gitflow/archive/%{gitflowver}.tar.gz
Source0: gitflow-%{gitflowver}.tar.gz
BuildArch: noarch
Requires: git
%description
A collection of Git extensions to provide high-level repository operations
for Vincent Driessen's [branching model](http://nvie.com/git-model "original
blog post").
For the best introduction to get started with `git flow`, please read Jeff
Kreeftmeijer's blog post:
http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/
Or have a look at one of these screen casts:
* [A short introduction to git-flow]
(http://vimeo.com/16018419) (by Mark Derricutt)
* [On the path with git-flow]
(http://codesherpas.com/screencasts/on_the_path_gitflow.mov) (by Dave Bock)
%prep
%setup -q -n %{name}-%{gitflowver}
%build
# This section is empty because this package ccontains shell scripts
# to be sourced: there's nothing to build
%install
rm -rf $RPM_BUILD_ROOT
# INFO: Manually changed, cause gitflow's prefix is /usr/local/bin by the default
make install prefix=$RPM_BUILD_ROOT/usr
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README.mdown LICENSE AUTHORS Changes.mdown
%{_bindir}
%{_datadir}
%changelog
* Tue Aug 16 2013 Takuya Nishigori <nishigori.tak@gmail.com> - 1.6.1
- Initial spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment