]> git.pld-linux.org Git - packages/xkeycaps.git/blobdiff - xkeycaps.spec
- added using CVS keywords in %changelog (for automating them).
[packages/xkeycaps.git] / xkeycaps.spec
index bb58885dc16ad7a8bbc95bb276b585a5a0a9c86e..25dd043368b3b3880f0702eaccc5229310a9aeea 100644 (file)
@@ -12,7 +12,8 @@ URL:          http://www.jwz.org/xkeycaps/
 BuildPrereq:   XFree86-devel
 Buildroot:     /tmp/%{name}-%{version}-root
 
-%define _prefix                /usr/X11R6
+%define _prefix        /usr/X11R6
+%define _mandir %{_prefix}/man
 
 %description
 xkeycaps is a graphical front-end to xmodmap.It opens a window that looks
@@ -37,16 +38,17 @@ konfiguracyjny dla xmodmapa.
 
 %build
 xmkmf -a
-make DEFAULT_KBD_NAME="L101" CDEBUGFLAGS="$RPM_OPT_FLAGS"
+make   DEFAULT_KBD_NAME="L101" \
+       CDEBUGFLAGS="$RPM_OPT_FLAGS"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
 
-make DESTDIR=$RPM_BUILD_ROOT \
+make install install.man \
+       DESTDIR=$RPM_BUILD_ROOT \
         MANDIR=%{_mandir}/man1 \
-        BINDIR=%{_bindir} \
-        install install.man
+        BINDIR=%{_bindir} 
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/%{name}
 
@@ -62,46 +64,3 @@ rm -rf $RPM_BUILD_ROOT
 /etc/X11/wmconfig/%{name}
 %attr(755,root,root) %{_bindir}/%{name}
 %{_mandir}/man1/*
-
-%changelog
-* Sat May 15 1999 Piotr Czerwiñski <pius@pld.org.pl>
-  [2.44-2]
-- package is now FHS 2.0 compliant.
-
-* Sun May  2 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.44-1]
-- added BuildPrereq rules,
-- recompiled on new rpm.
-
-* Mon Jan 11 1999 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
-- added pl translations
-
-* Thu Sep  8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.43-1]
-- updated URL to http://www.jwz.org/xkeycaps/,
-- updated base Source Url to http://www.jwz.org/xkeycaps/
-
-* Sat May  3 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.42-1]
-- Copyright statment changed to BSD,
-- added %clean section,
-- added -q %setup parameter,
-- added URL,
-- added using $RPM_OPT_FLAGS on compile time,
-- removed paching default kbd name (now directly passed as make parameter),
-- rewrited Summary and %description,
-- removed Packager field from spec (if you want recompile package and
-  redistribute this package later put this in your private .rpmrc). 
-- changed to regular url,
-- added %%{version} to Source url,
-- added using %%{name} macro in Buildroot and Source fields,
-- added %defattr and %attr macros in %files (allows building package from
-  non-root account); %defattr requires rpm >= 2.4.99 on rebuild.
-
-* Fri Aug 22 1997 John A. Martin <jam@jamux.com>
-  [2.38-1]
-- not commented.
-
-* Fri Jan 17 1997 ??? <root@imp.redhat.com>
-  [2.32-1]
-- previouse not commented release in rpm package (powercd 4.2).
This page took 0.246098 seconds and 4 git commands to generate.