diff --git a/.gitignore b/.gitignore index f3238fe..1eff19f 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ x-tile-1.5.2.tar.gz /x-tile-2.4.tar.bz2 /x-tile-2.5.tar.xz /x-tile-2.5.1.tar.xz +/x-tile-2.6.tar.xz diff --git a/sources b/sources index 7815427..85a12d9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (x-tile-2.5.1.tar.xz) = 102d0bf90c38be0f55c8328d1fee9da48cb15087408943736eca9d79c3e9fe183fa5c0e97c88d179381b655c48339671f3f5f05145632a4e5be332ca640538c7 +SHA512 (x-tile-2.6.tar.xz) = 5404b7d716956e2239471d803ac9fd536fdde5b2971cdc66158a3ac2982145373e44b3a9d2d769705628a1818ae402e74bfa96ed52d47da2d3929f3a706e83d1 diff --git a/x-tile.appdata.xml b/x-tile.appdata.xml new file mode 100644 index 0000000..e3dfeb6 --- /dev/null +++ b/x-tile.appdata.xml @@ -0,0 +1,29 @@ + + + x-tile.desktop + CC0-1.0 + GPL-2.0+ + X-tile + A GTK application to tile windows in different ways + +

+ X-tile is a GTK application that allows you to select a number of windows + and tile them in different ways. This is especially useful for comparing + products in separate web pages, or for programmers referring to + documentation as they are programming. +

+
+ + + https://www.giuspen.com/images/x-tile_main_window.png + + + https://www.giuspen.com/images/x-tile_custom_window.png + + + https://www.giuspen.com/images/x-tile_config_window.png + + + https://www.giuspen.com/x-tile/ + melmorabity_at_fedoraproject.org +
diff --git a/x-tile.spec b/x-tile.spec index 33c30e0..6a0df22 100644 --- a/x-tile.spec +++ b/x-tile.spec @@ -1,17 +1,18 @@ Name: x-tile -Version: 2.5.1 +Version: 2.6 Release: 1%{?dist} Summary: A GTK application to tile windows in different ways License: GPLv2+ -URL: http://www.giuspen.com/x-tile/ +URL: http://www.giuspen.com/%{name}/ Source0: http://www.giuspen.com/software/%{name}-%{version}.tar.xz +Source1: %{name}.appdata.xml BuildRequires: desktop-file-utils BuildRequires: gettext +BuildRequires: libappstream-glib BuildRequires: pygtk2 BuildRequires: python2-devel -Requires: gnome-python2-gconf Requires: pygtk2 BuildArch: noarch @@ -34,12 +35,14 @@ mkdir -p build/scripts-%{python2_version}/ %install %py2_install install -Dpm 0755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name} +install -Dpm 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_metainfodir}/%{name}.appdata.xml %find_lang %{name} %check desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop +appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/%{name}.appdata.xml %files -f %{name}.lang @@ -50,9 +53,14 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.svg %{python2_sitelib}/*.egg-info %{_mandir}/man1/%{name}.1.* +%{_metainfodir}/%{name}.appdata.xml %changelog +* Fri Aug 09 2019 Mohamed El Morabity - 2.6-1 +- Update to 2.6 +- Add AppData file + * Fri Aug 03 2018 Mohamed El Morabity - 2.5.1-1 - Update to 2.5.1 - Spec cleanup