|
|
568c1ee |
Name: x-tile
|
|
|
0ca81a0 |
Version: 1.5
|
|
|
0ca81a0 |
Release: 1%{?dist}
|
|
|
568c1ee |
Summary: A GNOME panel applet to tile windows
|
|
|
568c1ee |
|
|
|
568c1ee |
Group: User Interface/Desktops
|
|
|
568c1ee |
License: GPLv2+
|
|
|
568c1ee |
URL: http://open.vitaminap.it/en/x_tile.htm
|
|
|
568c1ee |
Source0: http://open.vitaminap.it/software/%{name}_%{version}.tar.gz
|
|
|
568c1ee |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
568c1ee |
|
|
|
568c1ee |
BuildRequires: desktop-file-utils
|
|
|
568c1ee |
Requires: gnome-python2-applet
|
|
|
568c1ee |
Requires: gnome-python2-gconf
|
|
|
568c1ee |
# Required to own /usr/lib/bonobo/servers
|
|
|
568c1ee |
Requires: libbonobo
|
|
|
568c1ee |
BuildArch: noarch
|
|
|
568c1ee |
|
|
|
568c1ee |
%description
|
|
|
568c1ee |
X-tile is a GNOME applet for your panel (or optionally a standalone application)
|
|
|
568c1ee |
that allows you to select a number of windows and tile them in different
|
|
|
568c1ee |
ways. This is especially useful for comparing products in separate web pages, or
|
|
|
568c1ee |
for programmers referring to documentation as they are programming.
|
|
|
568c1ee |
|
|
|
568c1ee |
|
|
|
568c1ee |
%prep
|
|
|
0ca81a0 |
%setup -q
|
|
|
568c1ee |
|
|
|
568c1ee |
# Remove shebangs
|
|
|
0ca81a0 |
for file in modules/*.py; do
|
|
|
568c1ee |
sed -i.orig -e 1d $file && \
|
|
|
568c1ee |
touch -r $file.orig $file && \
|
|
|
568c1ee |
rm $file.orig
|
|
|
568c1ee |
done
|
|
|
568c1ee |
|
|
|
568c1ee |
|
|
|
568c1ee |
%build
|
|
|
568c1ee |
|
|
|
568c1ee |
|
|
|
568c1ee |
%install
|
|
|
568c1ee |
rm -rf $RPM_BUILD_ROOT
|
|
|
568c1ee |
|
|
|
568c1ee |
install -Dp -m 0755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
|
|
|
568c1ee |
install -Dp -m 0644 linux/%{name}.server $RPM_BUILD_ROOT%{_prefix}/lib/bonobo/servers/%{name}.server
|
|
|
568c1ee |
install -Dp -m 0644 linux/%{name}.svg $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.svg
|
|
|
568c1ee |
install -Dp -m 0644 linux/%{name}.desktop $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
|
|
0ca81a0 |
|
|
|
0ca81a0 |
for file in glade/*.{glade,png,svg}; do
|
|
|
0ca81a0 |
install -Dpm 0644 $file $RPM_BUILD_ROOT%{_datadir}/%{name}/glade/$file
|
|
|
568c1ee |
done
|
|
|
0ca81a0 |
|
|
|
0ca81a0 |
for file in modules/*.py; do
|
|
|
568c1ee |
install -Dp -m 0644 $file $RPM_BUILD_ROOT%{_datadir}/%{name}/modules/$file
|
|
|
568c1ee |
done
|
|
|
0ca81a0 |
|
|
|
568c1ee |
install -d $RPM_BUILD_ROOT%{_datadir}/locale
|
|
|
568c1ee |
cp -a locale/{fr,it,ru,zh_TW} $RPM_BUILD_ROOT%{_datadir}/locale
|
|
|
568c1ee |
|
|
|
568c1ee |
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
|
|
568c1ee |
|
|
|
568c1ee |
%find_lang %{name}
|
|
|
568c1ee |
|
|
|
568c1ee |
|
|
|
568c1ee |
%clean
|
|
|
568c1ee |
rm -rf $RPM_BUILD_ROOT
|
|
|
568c1ee |
|
|
|
568c1ee |
|
|
|
568c1ee |
%files -f %{name}.lang
|
|
|
568c1ee |
%defattr(-,root,root,-)
|
|
|
0ca81a0 |
%doc license readme
|
|
|
568c1ee |
%{_bindir}/*
|
|
|
568c1ee |
%{_datadir}/%{name}
|
|
|
568c1ee |
%{_datadir}/applications/*.desktop
|
|
|
568c1ee |
%{_datadir}/pixmaps/*.svg
|
|
|
568c1ee |
%{_prefix}/lib/bonobo/servers/*.server
|
|
|
568c1ee |
|
|
|
568c1ee |
|
|
|
568c1ee |
%changelog
|
|
|
0ca81a0 |
* Wed Jun 2 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 1.5-1
|
|
|
0ca81a0 |
- Update to 1.5
|
|
|
0ca81a0 |
- Drop x-tile-1.4-desktop.patch patches
|
|
|
0ca81a0 |
|
|
|
4e69605 |
* Fri May 14 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 1.4-3
|
|
|
4e69605 |
- Remove useless Requires python-psutil
|
|
|
4e69605 |
- Correct Icon entry in desktop file
|
|
|
4e69605 |
|
|
|
568c1ee |
* Sat Apr 24 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 1.4-2
|
|
|
568c1ee |
- Use install instead of cp
|
|
|
568c1ee |
|
|
|
568c1ee |
* Mon Apr 12 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 1.4-1
|
|
|
568c1ee |
- Update to 1.4
|
|
|
568c1ee |
|
|
|
568c1ee |
* Sun Mar 7 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 1.3.2-1
|
|
|
568c1ee |
- Update to 1.3.2
|
|
|
568c1ee |
|
|
|
568c1ee |
* Mon Feb 22 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 1.3.1-1
|
|
|
568c1ee |
- Update to 1.3.1
|
|
|
568c1ee |
- Correct mispelling in %%description
|
|
|
568c1ee |
- Update .spec from new Python guidelines
|
|
|
568c1ee |
|
|
|
568c1ee |
* Tue Jan 12 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 1.3-1
|
|
|
568c1ee |
- Initial RPM release
|