Compare commits
8 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f6bc93ca51 | ||
|
|
b43291a7c6 | ||
|
|
439f75549f | ||
|
|
11c58c28a9 | ||
|
|
ecc061a1ce | ||
|
|
e5304afe4e | ||
|
|
fb66b27594 | ||
|
|
ba08321907 |
4 changed files with 18 additions and 31 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: xkeycaps
|
||||
# $Id$
|
||||
NAME := xkeycaps
|
||||
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 $$/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)
|
||||
|
|
@ -3,7 +3,7 @@ Encoding=UTF-8
|
|||
Name=xkeycaps
|
||||
GenericName=xkeycaps
|
||||
Comment=Graphical front-end to xmodmap
|
||||
Exec=xkeycaps
|
||||
Exec=/usr/X11R6/bin/xkeycaps
|
||||
Icon=xkeycaps.png
|
||||
StartupNotify=false
|
||||
Terminal=false
|
||||
|
|
|
|||
|
|
@ -1,20 +1,18 @@
|
|||
# FC-5 version
|
||||
# FC-3/FC-4 version
|
||||
|
||||
Name: xkeycaps
|
||||
Summary: Graphical front end to xmodmap
|
||||
Version: 2.46
|
||||
Release: 2%{?dist}
|
||||
License: BSD-ish
|
||||
Release: 5%{?dist}
|
||||
License: MIT
|
||||
Group: Applications/System
|
||||
Source0: http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z
|
||||
Source1: xkeycaps.desktop
|
||||
Source2: xkeycaps.png
|
||||
URL: http://www.jwz.org/xkeycaps/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: xorg-x11-xbitmaps, libICE-devel, libXmu-devel, libSM-devel
|
||||
BuildRequires: libXaw-devel, imake, libXt-devel, xorg-x11-proto-devel
|
||||
BuildRequires: desktop-file-utils, libXext-devel
|
||||
Requires: xorg-x11-server-utils
|
||||
BuildRequires: xorg-x11-devel, xorg-x11-deprecated-libs-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
xkeycaps is a graphical front-end to xmodmap. It opens a window that
|
||||
|
|
@ -29,7 +27,8 @@ xmodmap to recreate your changes in future sessions.
|
|||
%setup -q
|
||||
|
||||
%build
|
||||
xmkmf
|
||||
/usr/X11R6/bin/xmkmf
|
||||
sed -i -e 's/^\(\s*CFLAGS\s*=.*\)/\1 $(RPM_OPT_FLAGS)/' Makefile
|
||||
make
|
||||
|
||||
%install
|
||||
|
|
@ -50,12 +49,21 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README sgi-microsoft.txt
|
||||
%{_bindir}/xkeycaps
|
||||
/usr/X11R6/bin/xkeycaps
|
||||
%{_datadir}/applications/fedora-xkeycaps.desktop
|
||||
%{_datadir}/pixmaps/xkeycaps.png
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 6 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-5
|
||||
- el-4 variant
|
||||
|
||||
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-4
|
||||
- bump for FC-5
|
||||
|
||||
* Mon Jan 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-3
|
||||
- fix FC-3/FC-4
|
||||
|
||||
* Mon Jan 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-2
|
||||
- add missing BR
|
||||
- fix missing desktop file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue