Last active
December 21, 2015 04:19
-
-
Save nishigori/6248277 to your computer and use it in GitHub Desktop.
RPMBUILD spec of git-flow-avh https://github.com/petervanderdoes/gitflow.git
This file contains 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
%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 <[email protected]> - 1.6.1 | |
- Initial spec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment