Summary: Patch stack for Git repositories Name: stgit Version: 0.19 Release: 1%{?dist} License: GPLv2 URL: http://www.procode.org/stgit/ Source: https://github.com/ctmarinas/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: git-core, python3-devel, asciidoc, xmlto Requires: git-core, git-email, python3, vim-filesystem %description StGit is a Python application providing similar functionality to Quilt (i.e. pushing/popping patches to/from a stack) on top of Git. These operations are performed using Git commands and the patches are stored as Git commit objects, allowing easy merging of the StGit patches into other repositories using standard Git functionality. Note that StGit is not an SCM interface on top of Git and it expects a previously initialized Git repository. For standard SCM operations, either use plain Git commands or the Cogito tool. %prep %setup -q chmod -x contrib/stgbashprompt.sh %build # make install replicates the build steps, so do nothing %install make install install-doc PYTHON=python3 DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} # Install bash completion install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d ln -s ../..%{_datadir}/%{name}/completion/stgit-completion.bash \ $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/%{name} # Install vim syntax highlighting install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax install -m 644 contrib/vim/syntax/*.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax/ install -m 644 -D contrib/vim/ftdetect/stg.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/ftdetect/stg.vim %files %doc AUTHORS COPYING README RELEASENOTES %{_bindir}/stg %{python3_sitelib}/* %{_mandir}/man1/stg* %{_sysconfdir}/bash_completion.d/ %{_datadir}/stgit/ %{_datadir}/vim/vimfiles/syntax/*.vim %{_datadir}/vim/vimfiles/ftdetect/stg.vim %changelog * Wed Jun 05 2019 Dan Horák - 0.19-1 - updated to 0.19 - drop upstreamed patch - switch to Python3 * Sun Feb 03 2019 Fedora Release Engineering - 0.18-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jul 17 2018 Miro Hrončok - 0.18-4 - Update Python macros to new packaging standards (See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package) * Sat Jul 14 2018 Fedora Release Engineering - 0.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Nov 24 2017 Peter Schiffer - 0.18-1 - resolves: #1513726 updated to 0.18 * Thu Jul 27 2017 Fedora Release Engineering - 0.17.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.17.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jul 19 2016 Fedora Release Engineering - 0.17.1-5 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Fri Feb 05 2016 Fedora Release Engineering - 0.17.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 0.17.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.17.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Oct 17 2013 Peter Schiffer - 0.17.1-1 - resolves: #1014240 updated to 0.17.1 - resolves: #1004478 added dependency on git-email package, so the stg mail command can function properly * Wed Jul 31 2013 Peter Schiffer - 0.17-3 - fixed dirty index errors when resolving conflicts * Tue Jul 30 2013 Peter Schiffer - 0.17-2 - included vim syntax highlighting (thanks to Zane Bitter ) * Thu Jul 4 2013 Peter Schiffer - 0.17-1 - resolves: #979618 updated to 0.17 * Fri Feb 15 2013 Fedora Release Engineering - 0.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Dec 4 2012 Peter Schiffer - 0.16-2 - resolves: #872651 fixed regression when "stg new" command was ignoring patchdescr.tmpl file * Mon Oct 22 2012 Peter Schiffer - 0.16-1 - updated to 0.16 * Wed Feb 09 2011 Fedora Release Engineering - 0.14.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Jul 22 2010 David Malcolm - 0.14.3-7 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Sun Jul 26 2009 Fedora Release Engineering - 0.14.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 0.14.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Dec 04 2008 Ignacio Vazquez-Abrams - 0.14.3-4 - Rebuild for Python 2.6 * Tue Dec 02 2008 James Bowes 0.14.3-3 - Try and make the summary text better * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.14.3-2 - Rebuild for Python 2.6 * Tue Jun 17 2008 James Bowes 0.14.3-1 - Update to 0.14.3 * Wed Mar 26 2008 James Bowes 0.14.2-1 - Update to 0.14.2 * Wed Dec 12 2007 James Bowes - 0.14.1-1 - Update to 0.14.1 * Thu Aug 23 2007 James Bowes - 0.13-2 - Mark license as GPLv2+ * Sun Aug 05 2007 James Bowes - 0.13-1 - Update to 0.13 * Wed Apr 25 2007 James Bowes - 0.12.1-2 - Use macro for datadir. * Thu Apr 19 2007 James Bowes - 0.12.1-1 - Update version. - Don't install the bash prompt shell script as executable. * Fri Feb 02 2007 James Bowes - 0.12-1 - Initial packaging.