fixed fi(kotoistus), b.fd.o#12764
[xorg/xkeyboard-config] / xkeyboard-config.spec.in
1 Name:           xkeyboard-config
2 Summary:        XML-based XKB configuration registry
3 Version:        @VERSION@
4 Release:        1
5 License:        X11/MIT
6 Group:          User Interface/X
7
8 Url: http://gswitchit.sourceforge.net/
9
10 Source: http://gswitchit.sourceforge.net/%{name}-%{version}.tar.gz
11 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
12
13 BuildArch:      noarch
14
15 %description
16 Just XML stuff. Later hopefully will be part of XFree86
17
18 %prep
19 %setup -q
20
21 %build
22
23 if [ ! -f configure ]; then
24     CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh
25 fi
26
27 CFLAGS="$RPM_OPT_FLAGS" ./configure 
28
29 make 
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 make prefix=$RPM_BUILD_ROOT%{_prefix} install 
35 rm -rf $RPM_BUILD_ROOT%{_prefix}/share/locale
36
37 %clean
38 rm -rf %{buildroot}
39 rm -rf $RPM_BUILD_DIR/%{name}-%{version}
40
41 %files
42 %defattr(-, root, root)
43
44 %doc AUTHORS CREDITS ChangeLog NEWS README COPYING docs/README.config docs/README.enhancing docs/README.symbols docs/HOWTO.transition docs/HOWTO.testing
45 %{_prefix}/lib/X11/xkb/*