## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: gxkb Version: 0.9.5 Release: %autorelease Summary: X11 keyboard indicator and switcher License: GPL-2.0-or-later URL: https://github.com/zen-tools/gxkb Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: automake BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: make BuildRequires: pkgconfig(glib-2.0) >= 2.16.0 BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libwnck-3.0) BuildRequires: pkgconfig(libxklavier) >= 5.0 %description gxkb is a tiny indicator applet which allows to quickly switch between different keyboard layouts in X. A flag corresponding to the country of the active layout is shown in the indicator area. The applet is written in C and uses GTK+ library and therefore does not depend on any GNOME components. %prep %autosetup -p1 %build ./autogen.sh %configure \ --enable-appindicator=no %make_build %install %make_install # Move license file in proper location mkdir -p %{buildroot}%{_licensedir}/%{name}/ mv %{buildroot}%{_docdir}/%{name}/COPYING %{buildroot}%{_licensedir}/%{name}/ # Copy README.md to bypass "file listed twice" by rpm %doc macros cp -p README.md %{buildroot}%{_docdir}/%{name}/ %check desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %files %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/applications/*.desktop %{_datadir}/pixmaps/*.xpm %{_docdir}/%{name}/ %{_licensedir}/%{name}/ %{_mandir}/man1/*.1* %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 0.9.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Feb 06 2024 Packit - 0.9.5-1 - [packit] 0.9.5 upstream release - Resolves rhbz#2263070 * Tue Feb 06 2024 Artem Polishchuk - 0.9.4-7 - build: Add Packit config * Tue Feb 06 2024 Artem Polishchuk - 0.9.4-6 - license: Convert to SPDX * Wed Jan 24 2024 Fedora Release Engineering - 0.9.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.9.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.9.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.9.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Dec 13 2022 Artem Polishchuk - 0.9.4-1 - build: Update to 0.9.4 * Thu Jul 21 2022 Fedora Release Engineering - 0.9.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.9.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Oct 23 2021 Artem Polishchuk - 0.9.3-1 - chore(update): 0.9.3 * Thu Jul 22 2021 Fedora Release Engineering - 0.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue May 04 2021 Artem Polishchuk - 0.9.2-1 - build(update): 0.9.2 * Sat Apr 24 2021 Artem Polishchuk - 0.9.1-1 - build(update): 0.9.1 * Tue Jan 26 2021 Fedora Release Engineering - 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Dec 12 2020 Artem Polishchuk - 0.9.0-1 - Initial package ## END: Generated by rpmautospec