automatic version update by autodist [release 1.0.3-1mamba;Mon May 10 2021]

This commit is contained in:
Automatic Build System 2024-01-06 10:37:34 +01:00
parent 118907a24c
commit c78d76a4ce

View File

@ -1,26 +1,26 @@
Name: pychess
Version: 0.99.0
Version: 1.0.3
Release: 1mamba
Summary: A chess client, that is fully featured, easy to use and nice looking in the gnome way
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://pychess.googlepages.com/home
URL: https://pychess.googlepages.com/home
Source: https://github.com/pychess/pychess/releases/download/%{version}/pychess-%{version}.tar.gz
License: GPL
Requires: python >= %python_version
Requires: pygtksourceview
Requires: python-pysqlite
Requires: pygtk-devel
BuildRequires: pygtksourceview
BuildRequires: python-pysqlite
BuildRequires: pygtk-devel
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython36-devel >= %python_version
BuildRequires: python >= %python_version
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: python-SQLAlchemy-py3
#BuildRequires: python-pexpect-py36
#BuildRequires: pygtksourceview
#BuildRequires: python-pysqlite
#BuildRequires: pygtk-devel
#Requires: python >= %python_version
#Requires: pygtksourceview
#Requires: python-pysqlite
#Requires: pygtk-devel
%description
A chess client, that is fully featured, easy to use and nice looking in the gnome way.
@ -47,19 +47,21 @@ Features:
To help translate PyChess into your language please visit https://translations.launchpad.net/pychess
%prep
%setup -q
%setup -q -n PyChess-%{version}
%build
%{__python36} setup.py build
%{__python3} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python36} setup.py install \
%{__python3} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python36_sitearch}
--install-headers=%{python3_inc}/python \
--install-lib=%{python3_sitearch} \
--record=%{name}.filelist
%find_lang %{name}
sed -i "\,\.egg-info/,d" %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -76,26 +78,14 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
%files -f %{name}.lang
%files -f %{name}.filelist
%defattr(-,root,root)
%{_bindir}/pychess
%{_datadir}/appdata/pychess.appdata.xml
%{_datadir}/applications/pychess.desktop
%{_datadir}/pixmaps/pychess.svg
%{_datadir}/gtksourceview-*/language-specs/pgn.lang
%{_datadir}/icons/hicolor/24x24/apps/pychess.png
%{_datadir}/icons/hicolor/scalable/apps/pychess.svg
%{_datadir}/mime/packages/pychess.xml
%{_datadir}/menu/pychess
%{_datadir}/pixmaps/pychess.xmp
%dir %{_datadir}/pychess
%{_datadir}/pychess/*
%dir %{python36_sitearch}/pychess
%{python36_sitearch}/pychess/*
%{python36_sitearch}/pychess-*.egg-info
%{_mandir}/man1/pychess.1*
%{python3_sitearch}/PyChess-%{version}-py*.egg-info
%changelog
* Mon May 10 2021 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
- automatic version update by autodist
* Thu Dec 07 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99.0-1mamba
- update to 0.99.0