[521] | 1 | Name: xkeycaps |
---|
| 2 | Summary: Graphical front end to xmodmap |
---|
| 3 | Summary(ja): xmodmap のグラフィカルフロントエンド |
---|
| 4 | Version: 2.46 |
---|
[9291] | 5 | Release: 5%{?_dist_release} |
---|
[521] | 6 | License: MIT |
---|
| 7 | Group: Applications/System |
---|
| 8 | Source0: http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z |
---|
| 9 | Source1: xkeycaps.desktop |
---|
| 10 | Source2: xkeycaps.png |
---|
| 11 | URL: http://www.jwz.org/xkeycaps/ |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 13 | BuildRequires: xorg-x11-xbitmaps, libICE-devel, libXmu-devel, libSM-devel |
---|
| 14 | BuildRequires: libXaw-devel >= 1.0.5 |
---|
| 15 | BuildRequires: imake, libXt-devel, xorg-x11-proto-devel |
---|
| 16 | BuildRequires: desktop-file-utils, libXext-devel |
---|
| 17 | Requires: xorg-x11-server-utils |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | xkeycaps is a graphical front-end to xmodmap. It opens a window that |
---|
| 21 | looks like a keyboard; moving the mouse over a key shows what KeySyms |
---|
| 22 | and Modifier bits that key generates. Clicking on a key simulates |
---|
| 23 | KeyPress/KeyRelease events on the window of your choice. It is possible |
---|
| 24 | to change the KeySyms and Modifiers generated by a key through a |
---|
| 25 | mouse-based interface. This program can also write an input file for |
---|
| 26 | xmodmap to recreate your changes in future sessions. |
---|
| 27 | |
---|
| 28 | %prep |
---|
| 29 | %setup -q |
---|
| 30 | |
---|
| 31 | %build |
---|
| 32 | xmkmf |
---|
| 33 | sed -i -e 's/^\(\s*CFLAGS\s*=.*\)/\1 $(RPM_OPT_FLAGS)/' Makefile |
---|
| 34 | make |
---|
| 35 | |
---|
| 36 | %install |
---|
| 37 | rm -rf $RPM_BUILD_ROOT |
---|
| 38 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 39 | mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 |
---|
| 40 | install -m0644 xkeycaps.man $RPM_BUILD_ROOT%{_mandir}/man1 |
---|
| 41 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications |
---|
| 42 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps |
---|
| 43 | install -m0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps |
---|
| 44 | |
---|
| 45 | desktop-file-install \ |
---|
| 46 | --vendor "" \ |
---|
| 47 | --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ |
---|
| 48 | %{SOURCE1} |
---|
| 49 | |
---|
| 50 | %clean |
---|
| 51 | rm -rf $RPM_BUILD_ROOT |
---|
| 52 | |
---|
| 53 | %files |
---|
| 54 | %defattr(-,root,root) |
---|
| 55 | %doc README sgi-microsoft.txt |
---|
| 56 | %{_bindir}/xkeycaps |
---|
| 57 | %{_datadir}/applications/xkeycaps.desktop |
---|
| 58 | %{_datadir}/pixmaps/xkeycaps.png |
---|
| 59 | %{_mandir}/man1/* |
---|
| 60 | |
---|
| 61 | %changelog |
---|
[9291] | 62 | * Sun Jan 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.46-5 |
---|
| 63 | - rebuild with VineSeed environment |
---|
| 64 | |
---|
[3528] | 65 | * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2.46-4 |
---|
| 66 | - rebuilt with rpm-4.8.1-3 |
---|
| 67 | |
---|
[521] | 68 | * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.46-3 |
---|
| 69 | - rebuild with libXaw.so.7 (libXaw-1.0.5) |
---|
| 70 | |
---|
| 71 | * Wed Jul 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.46-2 |
---|
| 72 | - remove vendor prefix from desktop file. |
---|
| 73 | |
---|
| 74 | * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> Version: 2.46-1 |
---|
| 75 | - initial build for Vine Linux |
---|
| 76 | |
---|
| 77 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.46-7.3 |
---|
| 78 | - Autorebuild for GCC 4.3 |
---|
| 79 | |
---|
| 80 | * Mon Aug 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-6.2 |
---|
| 81 | - rebuild for BuildID |
---|
| 82 | |
---|
| 83 | * Mon Aug 6 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-6.1 |
---|
| 84 | - license cleanup |
---|
| 85 | |
---|
| 86 | * Tue Apr 10 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-6 |
---|
| 87 | - fix bugzilla 227229 |
---|
| 88 | |
---|
| 89 | * Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-5 |
---|
| 90 | - license isn't BSD-ish, its BSD |
---|
| 91 | - bump for FC-6 |
---|
| 92 | |
---|
| 93 | * Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-4 |
---|
| 94 | - bump for FC-5 |
---|
| 95 | |
---|
| 96 | * Mon Jan 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-3 |
---|
| 97 | - fix FC-3/FC-4 |
---|
| 98 | |
---|
| 99 | * Mon Jan 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-2 |
---|
| 100 | - add missing BR |
---|
| 101 | - fix missing desktop file |
---|
| 102 | |
---|
| 103 | * Thu Dec 15 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-1 |
---|
| 104 | - Initial package for Fedora Extras |
---|