Summary(pl): xkeycaps - edytor mapy klawiatury dla X Window System
Name: xkeycaps
Version: 2.46
-Release: 1
+Release: 3
License: BSD
Group: X11/Applications
+Group(de): X11/Applikationen
Group(pl): X11/Aplikacje
Source0: http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z
-Source1: xkeycaps.desktop
+Source1: %{name}.desktop
URL: http://www.jwz.org/xkeycaps/
BuildRequires: XFree86-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%build
xmkmf -a
-%{__make} DEFAULT_KBD_NAME="L101" \
- CDEBUGFLAGS="$RPM_OPT_FLAGS"
+%{__make} DEFAULT_KBD_NAME="L101" \
+ CDEBUGFLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities
+install -d $RPM_BUILD_ROOT%{_applnkdir}/Settings
%{__make} install install.man \
DESTDIR=$RPM_BUILD_ROOT \
MANDIR=%{_mandir}/man1 \
BINDIR=%{_bindir}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
-strip $RPM_BUILD_ROOT%{_bindir}/*
-
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
- README defining.txt
+gzip -9nf README defining.txt
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc *.gz
-%{_applnkdir}/Utilities/xkeycaps.desktop
+%{_applnkdir}/Settings/xkeycaps.desktop
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*