From 9eef03675cc4c9ef87d3228df1866e6486e994c9 Mon Sep 17 00:00:00 2001 From: Thomas Moschny Date: Dec 18 2010 10:53:57 +0000 Subject: Initial import of the package. --- diff --git a/.gitignore b/.gitignore index e69de29..cd3b44f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/9b25e848.zip diff --git a/sources b/sources index e69de29..068f0ac 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5850bd27d8739820845a8a9b059e51cd 9b25e848.zip diff --git a/topgit.spec b/topgit.spec new file mode 100644 index 0000000..13d00f3 --- /dev/null +++ b/topgit.spec @@ -0,0 +1,75 @@ +%global git_snapshot 1 +%global git_rev 9b25e8482c536324a6ecdefdf8abc1c0b1dca83e + +%if 0%{?git_snapshot} +%global git_short %(echo %{git_rev} | cut -c-8) +%endif + +Name: topgit +Version: 0.9 +Release: 0.2%{?git_short:.git%{git_short}}%{?dist} +Summary: A different patch queue manager +Group: Development/Tools +License: GPLv2 +URL: http://repo.or.cz/w/%{name}.git?a=blob;f=README +%if 0%{?git_snapshot} +Source0: http://repo.or.cz/w/%{name}.git/snapshot/%{git_short}.zip +%else +Source0: http://repo.or.cz/w/%{name}.git/snapshot/refs/tags/%{name}-%{version}.zip +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +Requires: git + + +%description +TopGit aims to make handling of large amount of interdependent topic +branches easier. In fact, it is designed especially for the case when +you maintain a queue of third-party patches on top of another (perhaps +Git-controlled) project and want to easily organize, maintain and +submit them - TopGit achieves that by keeping a separate topic branch +for each patch and providing few tools to maintain the branches. + + +%prep +%setup -q -n %{name} + + +%build +make %{?_smp_mflags} prefix=%{_prefix} + + +%install +rm -rf %{buildroot} +make install prefix=%{_prefix} DESTDIR=%{buildroot} +install -m 0644 -D -p contrib/tg-completion.bash \ + %{buildroot}%{_sysconfdir}/bash_completion.d/tg-completion.bash + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc COPYING README +%{_bindir}/tg +%{_libexecdir}/%{name}/ +%{_datarootdir}/%{name}/ +%dir %{_sysconfdir}/bash_completion.d/ +%{_sysconfdir}/bash_completion.d/tg-completion.bash + + +%changelog +* Sat Dec 11 2010 Thomas Moschny - 0.9-0.2.git9b25e848 +- Update to revision 9b25e848. + +* Sun Oct 10 2010 Thomas Moschny - 0.9-0.1.git8b0f1f9d +- Update to revision 8b0f1f9d. + +* Mon Sep 13 2010 Thomas Moschny - 0.8-2.git9404aa1a +- Update to revision 9404aa1a. +- Specfile fixes as suggested in the review. + +* Thu Jul 29 2010 Thomas Moschny - 0.8-1.git5aed7e7b +- New package.