Compare commits

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

3 commits

Author SHA1 Message Date
Mohamed El Morabity
7ea4d499f9 Update to 3.3 2020-12-25 18:25:24 +01:00
Mohamed El Morabity
981a5211aa Update to 3.2 2020-09-07 18:07:41 +02:00
Mohamed El Morabity
56b596e624 Update to 3.1 2020-08-31 15:47:03 +02:00
6 changed files with 109 additions and 21 deletions

View file

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
/x-tile-3.1.tar.gz
/x-tile-3.2.tar.gz
/x-tile-3.3.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: x-tile
# $Id$
NAME := x-tile
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1 @@
SHA512 (x-tile-3.3.tar.gz) = 2ebc9dc07903fe55f8b27b15aa64a81b8afdf1b975878f4746cce3e0f5c526928fb126f277c628b4a636038098456247e49957175fdf0c5d5775438ce4965ca7

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>

76
x-tile.spec Normal file
View file

@ -0,0 +1,76 @@
Name: x-tile
Version: 3.3
Release: 1%{?dist}
Summary: A GTK application to tile windows in different ways
License: GPLv2+
URL: https://www.giuspen.com/x-tile/
Source0: https://github.com/giuspen/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
Source1: %{name}.appdata.xml
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: python3-devel
BuildRequires: %{py3_dist setuptools}
Requires: %{py3_dist pygobject}
Requires: %{py3_dist pycairo}
Requires: gtk3
Requires: hicolor-icon-theme
BuildArch: noarch
%description
X-tile is an application that allows you to select a number of windows and tile
them in different ways. X-tile works on any X desktop (GNOME, KDE, XFCE,
LXDE...).
The main features are: many tiling geometries, undo tiling, invert tiling order,
optional system tray docking and menu, filter to avoid listing some windows,
filter to check some windows by default, command line interface.
%prep
%autosetup
# Remove bundled egg-info
rm -rf *.egg-info
%build
mkdir -p build/scripts-%{python3_version}/
%py3_build
%install
%py3_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
%license license
%{_bindir}/%{name}
%{python3_sitelib}/X_Tile-*.egg-info
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_metainfodir}/%{name}.appdata.xml
%{_mandir}/man1/%{name}.1.*
%changelog
* Fri Dec 25 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.3-1
- Update to 3.3
* Mon Sep 07 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.2-1
- Update to 3.2
* Mon Aug 31 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.1-1
- Initial RPM release, from previously retired package (with contribution of
Vlastimil Holer)