%define _unpackaged_files_terminate_build 1
Name: guake
Version: 3.10
Release: alt1
Summary: guake - a drop-down terminal
Summary(ru.UTF-8):guake — выпадающий эмулятор терминала
License: GPLv2+
Group: Terminals
URL: http://guake.org/
# VCS: https://github.com/Guake/guake.git
Source0: %name-%version.tar
Patch1: guake-alt-fix-ru-l10n.patch
Patch2: guake-alt-add-glade-l10n.patch
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: rpm-build-gir
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-setuptools_scm
BuildRequires: python3-module-pbr
BuildRequires: python3-module-pip
BuildRequires: python3-module-wheel
BuildRequires: libgio
BuildRequires: desktop-file-utils
BuildRequires: desktop-file-utils
Requires: dbus
Requires: dconf
Requires: libutempter
Requires: notification-daemon
%py3_requires pbr
%description
Guake is a drop-down terminal for Gnome Desktop Environment, so you
just need to press a key to invoke him, and press again to hide.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
export PIP_NO_BUILD_ISOLATION=no
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%make_build
%install
export PIP_NO_BUILD_ISOLATION=no
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%makeinstall_std PREFIX=%_prefix
install -Dm0644 guake/data/autostart-guake.desktop %buildroot%_sysconfdir/xdg/autostart/guake.desktop
# Remove compiled gscheme
rm -f %buildroot%_datadir/glib-2.0/schemas/gschemas.compiled
%find_lang %name
%files -f %name.lang
%doc COPYING NEWS.rst README.rst
%attr(755,root,root) %_bindir/%{name}*
%_sysconfdir/xdg/autostart/guake.desktop
%_datadir/%name
%python3_sitelibdir/%name
%python3_sitelibdir/%name-%version.dist-info
%_pixmapsdir/%name.png
%_desktopdir/*.desktop
%_datadir/glib-2.0/schemas/org.guake.gschema.xml
%_datadir/metainfo/*.xml
%changelog
* Mon May 15 2023 Andrey Cherepanov <cas@altlinux.org> 3.10-alt1
- New version.
* Mon Jun 13 2022 Andrey Cherepanov <cas@altlinux.org> 3.9.0-alt1
- New version.
* Mon Feb 07 2022 Andrey Cherepanov <cas@altlinux.org> 3.8.5-alt1
- New version.
* Thu Feb 03 2022 Andrey Cherepanov <cas@altlinux.org> 3.8.2-alt1
- New version.
* Tue Oct 26 2021 Andrey Cherepanov <cas@altlinux.org> 3.8.1-alt1
- New version.
* Sat Oct 09 2021 Andrey Cherepanov <cas@altlinux.org> 3.8.0-alt1
- New version.
* Tue Aug 17 2021 Andrey Cherepanov <cas@altlinux.org> 3.7.0-alt3
- Add requirement of pbr and libutempter (ALT #40759).
* Thu Apr 29 2021 Andrey Cherepanov <cas@altlinux.org> 3.7.0-alt2
- FTBFS: add python3-module-pip to build requirements.
* Wed Feb 12 2020 Andrey Cherepanov <cas@altlinux.org> 3.7.0-alt1
- New version.
* Tue May 14 2019 Andrey Cherepanov <cas@altlinux.org> 3.6.3-alt1
- New version.
* Thu May 02 2019 Andrey Cherepanov <cas@altlinux.org> 3.6.2-alt1
- New version.
* Mon Apr 29 2019 Andrey Cherepanov <cas@altlinux.org> 3.6.1-alt1
- New version.
* Fri Apr 05 2019 Andrey Cherepanov <cas@altlinux.org> 3.5.0-alt1
- New version.
* Sun Oct 14 2018 Igor Vlasenko <viy@altlinux.ru> 3.4.0-alt1.qa1
- NMU: applied repocop patch
* Tue Oct 02 2018 Andrey Cherepanov <cas@altlinux.org> 3.4.0-alt1
- New version.
* Thu Sep 20 2018 Andrey Cherepanov <cas@altlinux.org> 3.3.3-alt1
- New version.
* Tue Jul 17 2018 Andrey Cherepanov <cas@altlinux.org> 3.3.2-alt1
- New version.
* Thu Jun 21 2018 Andrey Cherepanov <cas@altlinux.org> 3.3.0-alt1
- New version.
* Mon Jun 04 2018 Andrey Cherepanov <cas@altlinux.org> 3.2.2-alt1
- New version.
* Fri Apr 27 2018 Andrey Cherepanov <cas@altlinux.org> 3.2.1-alt1
- New version.
* Sun Apr 15 2018 Andrey Cherepanov <cas@altlinux.org> 3.2.0-alt1
- New version.
* Thu Apr 12 2018 Andrey Cherepanov <cas@altlinux.org> 3.1.0-alt1
- New version.
* Tue Mar 27 2018 Andrey Cherepanov <cas@altlinux.org> 3.0.5-alt1
- New version.
* Thu Mar 22 2018 Andrey Cherepanov <cas@altlinux.org> 3.0.4-alt1
- New version.
* Thu Jan 18 2018 Andrey Cherepanov <cas@altlinux.org> 3.0.2-alt1
- New version.
* Tue Jan 09 2018 Andrey Cherepanov <cas@altlinux.org> 0.8.12-alt1
- New version.
* Mon Dec 11 2017 Andrey Cherepanov <cas@altlinux.org> 0.8.11-alt1
- New version.
* Sat Jul 01 2017 Andrey Cherepanov <cas@altlinux.org> 0.8.10-alt1
- New version
* Fri May 26 2017 Andrey Cherepanov <cas@altlinux.org> 0.8.9-alt1
- New version
* Fri Dec 30 2016 Andrey Cherepanov <cas@altlinux.org> 0.8.8-alt1
- new version 0.8.8
* Fri Aug 26 2016 Andrey Cherepanov <cas@altlinux.org> 0.8.7-alt1
- new version 0.8.7
* Thu Jun 09 2016 Andrey Cherepanov <cas@altlinux.org> 0.8.5-alt1
- new version 0.8.5
* Thu Apr 14 2016 Andrey Cherepanov <cas@altlinux.org> 0.8.4-alt1
- New version
* Mon Oct 26 2015 Andrey Cherepanov <cas@altlinux.org> 0.8.3-alt1
- New version
* Mon Aug 24 2015 Andrey Cherepanov <cas@altlinux.org> 0.8.0-alt1
- New version
- Build from upstream Git repository
* Wed Nov 27 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.4.4-alt2.1
- Fixed build
* Thu Apr 25 2013 Dmitriy Kulik <lnkvisitor@altlinux.org> 0.4.4-alt2
- Fix spec
* Thu Feb 07 2013 Dmitriy Kulik <lnkvisitor@altlinux.org> 0.4.4-alt1
- New version
- Update from fc18
* Wed Jul 11 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.4.2-alt2.qa2
- Fixed build
* Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.4.2-alt2.qa1.1
- Rebuild with Python-2.7
* Wed May 18 2011 Repocop Q. A. Robot <repocop@altlinux.org> 0.4.2-alt2.qa1
- NMU (by repocop). See http://www.altlinux.org/Tools/Repocop
- applied repocop fixes:
* freedesktop-desktop-file-proposed-patch for guake
* postclean-03-private-rpm-macros for ([not specified])
* postclean-05-filetriggers for ([not specified])
* Tue Sep 07 2010 Dmitriy Kulik <lnkvisitor@altlinux.org> 0.4.2-alt2
- Added patch: Ticket #248. The focus would change to the terminal after click on the new tab button.
* Fri Aug 13 2010 Dmitriy Kulik <lnkvisitor@altlinux.org> 0.4.2-alt1
- 0.4.2.20100801
- Added autostart guake
* Wed May 05 2010 Dmitriy Kulik <lnkvisitor@altlinux.org> 0.4.1-alt1
- new version 0.4.1
* Tue Jan 26 2010 Dmitriy Kulik <lnkvisitor at altlinux.org> 0.4.0-alt0.1
- initial build