Compare commits

..

No commits in common. "rawhide" and "f20" have entirely different histories.

6 changed files with 163 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
xhotkeys_0.9.8.3.tar.gz

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

38
install_locations.patch Normal file
View file

@ -0,0 +1,38 @@
--- Makefile 2007-08-13 15:28:44.000000000 +0530
+++ Makefile.new 2008-02-02 19:16:40.000000000 +0530
@@ -42,25 +42,24 @@
install: all
# Create directories
- mkdir -p $(SHAREDIR)
-
+ mkdir -p $(SHAREDIR) $(BINDIR) $(PIXMAPSDIR) $(MAN1DIR)
+
# Install files
- install -m 755 xhotkeys.py $(BINDIR)/xhotkeys
- install -m 644 xhotkeys.glade $(SHAREDIR)
- install -m 644 xhotkeys.1 $(MAN1DIR)
- install -m 644 xhotkeys.desktop $(APPDIR) || true
- install -m 755 xhotkeys.png $(SHAREDIR)
- install -m 755 getdclick $(SHAREDIR)
+ install -p -m 755 xhotkeys.py $(BINDIR)/xhotkeys
+ install -p -m 644 xhotkeys.glade $(SHAREDIR)
+ install -p -m 644 xhotkeys.1 $(MAN1DIR)
+ install -p -m 755 xhotkeys.png $(SHAREDIR)
+ install -p -m 755 getdclick $(SHAREDIR)
# Install example configuration file
- install -m 644 xhotkeys.conf $(SHAREDIR)/xhotkeys.conf.example
+ install -p -m 644 xhotkeys.conf $(SHAREDIR)/xhotkeys.conf.example
# Install icons
for ICON in $(ICONS); do \
mkdir -p $(ICONSDIR)/$$ICON/apps ;\
- install -m 644 icons/$$ICON/xhotkeys.png $(ICONSDIR)/$$ICON/apps ;\
+ install -p -m 644 icons/$$ICON/xhotkeys.png $(ICONSDIR)/$$ICON/apps ;\
done
- install -m 644 icons/xhotkeys.xpm $(PIXMAPSDIR) ;\
+ install -p -m 644 icons/xhotkeys.xpm $(PIXMAPSDIR) ;\
clean:
rm -rf *.pyc icons *.gladep

1
sources Normal file
View file

@ -0,0 +1 @@
6544b487e23ab1290078cff0f2e96a6f xhotkeys_0.9.8.3.tar.gz

11
xhotkeys.desktop Normal file
View file

@ -0,0 +1,11 @@
[Desktop Entry]
Encoding=UTF-8
Name=Xhotkeys
GenericName=Xhotkeys
Comment=Hotkeys for the X-Window
Exec=xhotkeys --config
Icon=xhotkeys
Terminal=false
Type=Application
Categories=Utility;
GenericName[pl_PL]=Xhotkeys

112
xhotkeys.spec Normal file
View file

@ -0,0 +1,112 @@
Name: xhotkeys
Version: 0.9.8.3
Release: 12%{?dist}
Summary: Hotkeys for the X-Window
Summary(pl): Skróty klawiszowe dla X-okien
Group: User Interface/X
License: GPLv2+
URL: http://www.nongnu.org/xhotkeys/
Source0: http://download.savannah.nongnu.org/releases/%{name}/%{name}_%{version}.tar.gz
Source1: %{name}.desktop
Patch0: install_locations.patch
BuildRequires: desktop-file-utils python-xlib ImageMagick
Requires: hicolor-icon-theme python-xlib
BuildArch: noarch
%description
Xhotkeys provides a simple and easily configurable hotkey launcher for
the X-Window System, binding keys and mouse buttons to configurable commands.
It should work on all desktops (Gnome, KDE, Xfce, ...) available for the
GNU/Linux operating system. Configuration files can be modified manually or
using a graphical GTK+ configurator.
%description -l pl
Xhotkeys udostępnia proste i łatwo do skonigurowania uruchamianie za pomocą
klawiatury dla systemu X-okien, skróty klawiszowe i przycisków myszki
do konfigurowanych komend. Aplikacja powinna działać ze wszystkimi graficznymi
środowiskami (Gnome, KDE, Xfce, ...) dostępnymi dla GNU/Linux systemów
operacyjnych. Konfiguracja plików jest możliwa ręcznie lub za pomocą
graficznego GTK+ konfiguratora.
%prep
%setup -q -n %{name}
%patch0
%build
#nothing to build
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
desktop-file-install \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE1}
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%doc README TODO COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%{_datadir}/%{name}
%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%{_datadir}/icons/hicolor/96x96/apps/%{name}.png
%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.xpm
%changelog
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8.3-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 0.9.8.3-11
- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
- Cleanup spec as per recently changed packaging guidelines
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8.3-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Feb 04 2008 Krzysztof Kurzawski <kurzawax at gmail.com> - 0.9.8.3-5
- Correct .desktop
* Sat Feb 02 2008 Krzysztof Kurzawski <kurzawax at gmail.com> - 0.9.8.3-4
- Fix BRs and Rs
- Add install_locations patch
- Correct install section
- Correct files section
* Sat Feb 02 2008 Krzysztof Kurzawski <kurzawax at gmail.com> - 0.9.8.3-3
- Fix BRs
* Fri Feb 01 2008 Krzysztof Kurzawski <kurzawax at gmail.com> - 0.9.8.3-2
- Correct install section
- Correct files section
* Fri Feb 01 2008 Krzysztof Kurzawski <kurzawax at gmail.com> - 0.9.8.3-1
- First release