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 Name: pychess
Version: 0.99.0 Version: 1.0.3
Release: 1mamba Release: 1mamba
Summary: A chess client, that is fully featured, easy to use and nice looking in the gnome way Summary: A chess client, that is fully featured, easy to use and nice looking in the gnome way
Group: Graphical Desktop/Applications/Games Group: Graphical Desktop/Applications/Games
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> 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 Source: https://github.com/pychess/pychess/releases/download/%{version}/pychess-%{version}.tar.gz
License: GPL License: GPL
Requires: python >= %python_version
Requires: pygtksourceview
Requires: python-pysqlite
Requires: pygtk-devel
BuildRequires: pygtksourceview
BuildRequires: python-pysqlite
BuildRequires: pygtk-devel
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython36-devel >= %python_version BuildRequires: libpython3-devel
BuildRequires: python >= %python_version
## AUTOBUILDREQ-END ## 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 %description
A chess client, that is fully featured, easy to use and nice looking in the gnome way. 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 To help translate PyChess into your language please visit https://translations.launchpad.net/pychess
%prep %prep
%setup -q %setup -q -n PyChess-%{version}
%build %build
%{__python36} setup.py build %{__python3} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python36} setup.py install \ %{__python3} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{_includedir}/python \ --install-headers=%{python3_inc}/python \
--install-lib=%{python36_sitearch} --install-lib=%{python3_sitearch} \
--record=%{name}.filelist
%find_lang %{name} sed -i "\,\.egg-info/,d" %{name}.filelist
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{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 /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi fi
%files -f %{name}.lang %files -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/pychess %{python3_sitearch}/PyChess-%{version}-py*.egg-info
%{_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*
%changelog %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 * Thu Dec 07 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99.0-1mamba
- update to 0.99.0 - update to 0.99.0