Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Mohamed El Morabity
ca4b34c0a7 Update to 2.6 + add AppData 2019-08-09 12:25:07 +02:00
4 changed files with 42 additions and 4 deletions

1
.gitignore vendored
View file

@ -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

View file

@ -1 +1 @@
SHA512 (x-tile-2.5.1.tar.xz) = 102d0bf90c38be0f55c8328d1fee9da48cb15087408943736eca9d79c3e9fe183fa5c0e97c88d179381b655c48339671f3f5f05145632a4e5be332ca640538c7
SHA512 (x-tile-2.6.tar.xz) = 5404b7d716956e2239471d803ac9fd536fdde5b2971cdc66158a3ac2982145373e44b3a9d2d769705628a1818ae402e74bfa96ed52d47da2d3929f3a706e83d1

29
x-tile.appdata.xml Normal file
View file

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>x-tile.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>X-tile</name>
<summary>A GTK application to tile windows in different ways</summary>
<description>
<p>
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.
</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://www.giuspen.com/images/x-tile_main_window.png</image>
</screenshot>
<screenshot>
<image>https://www.giuspen.com/images/x-tile_custom_window.png</image>
</screenshot>
<screenshot>
<image>https://www.giuspen.com/images/x-tile_config_window.png</image>
</screenshot>
</screenshots>
<url type="homepage">https://www.giuspen.com/x-tile/</url>
<update_contact>melmorabity_at_fedoraproject.org</update_contact>
</component>

View file

@ -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 <melmorabity@fedoraproject.org> - 2.6-1
- Update to 2.6
- Add AppData file
* Fri Aug 03 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.5.1-1
- Update to 2.5.1
- Spec cleanup