sharkcz / rpms / stgit

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