git-cola/git-cola.spec

135 lines
4.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: git-cola
Version: 4.3.2
Release: 2mamba
Summary: A powerful Git GUI with a slick and intuitive user interface
Group: Graphical Desktop/Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/git-cola/git-cola
Source: https+git://github.com/git-cola/git-cola.git/v%{version}/git-cola-%{version}.tar.bz2
Patch0: git-cola-1.4.2.5-doc.patch
Patch1: git-cola-1.4.2.5-defapps.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(pyqt5)
BuildRequires: python3.11dist(qtpy)
BuildRequires: python3.11dist(setuptools)
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
#BuildRequires: desktop-file-utils
BuildRequires: asciidoc
BuildRequires: python-sphinx-py3
BuildRequires: gettext
BuildRequires: perl
BuildRequires: xmlto
Requires: git-gui
Requires: python3 >= %{python3_version}
#Requires: python-pyinotify-py3
Requires: python-jsonpickle-py3
Requires: PyQt5
BuildArch: noarch
%description
git-cola is a powerful GUI for git that gives you an easy way to interact with Git repositories.
%debug_package
%prep
%setup -q
#%patch 0 -p1
#%patch 1 -p1
%build
CFLAGS="%{optflags}" %{__python3} setup.py build
%make doc \
prefix=%{_prefix}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python3} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python3_inc} \
--install-lib=%{python3_sitearch} \
--record=%{name}.filelist \
--prefix=%{_prefix}
# install documentation
make install-doc install-html \
DESTDIR=%{buildroot} \
prefix=%{_prefix}
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.filelist
%defattr(-,root,root)
%dir %{python3_sitearch}/git_cola-%{version}-py*.egg-info
%{python3_sitearch}/git_cola-%{version}-py*.egg-info/*
%{_mandir}/man1/git-cola.1*
%{_mandir}/man1/git-dag.1*
%{_mandir}/man1/git-dag.1*
%dir %{_docdir}/git-cola
%{_docdir}/git-cola/*.rst
%dir %{_docdir}/git-cola/html
%{_docdir}/git-cola/html/*
%doc COPYING COPYRIGHT
%changelog
* Sun Oct 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.2-2mamba
- rebuilt with python3 == 3.11
* Thu Aug 31 2023 Automatic Build System <autodist@mambasoft.it> 4.3.2-1mamba
- automatic version update by autodist
* Sat Aug 19 2023 Automatic Build System <autodist@mambasoft.it> 4.3.1-1mamba
- automatic version update by autodist
* Mon Aug 14 2023 Automatic Build System <autodist@mambasoft.it> 4.3.0-1mamba
- automatic version update by autodist
* Sun Apr 02 2023 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
- automatic version update by autodist
* Thu Mar 30 2023 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
- automatic version update by autodist
* Thu Jan 20 2022 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
- automatic version update by autodist
* Wed Oct 20 2021 Automatic Build System <autodist@mambasoft.it> 3.11.0-1mamba
- automatic version update by autodist
* Mon Jul 12 2021 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
- automatic version update by autodist
* Sun Jul 11 2021 Automatic Build System <autodist@mambasoft.it> 3.10-1mamba
- automatic version update by autodist
* Thu Mar 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.9-1mamba
- update to 3.9
* Wed Apr 25 2012 Automatic Build System <autodist@mambasoft.it> 1.4.3.5-1mamba
- automatic version update by autodist
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 1.4.3.4-1mamba
- automatic update by autodist
* Thu May 12 2011 Automatic Build System <autodist@mambasoft.it> 1.4.3.3-1mamba
- automatic update by autodist
* Fri Nov 12 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.4.2.5-1mamba
- update to 1.4.2.5
- update patches
* Fri Jan 22 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.4.1.2-2mamba
- add missing requirements
* Tue Jan 19 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.4.1.2-1mamba
- package created by autospec