summaryrefslogtreecommitdiff
path: root/xkbdesc.spec.in
blob: 2b790d8fe460cbe34f18ca62ddb4adcaa1eb9fec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Name:		xkbdesc
Summary:	XML-based XKB configuration registry
Version:	@VERSION@
Release:	1
License:	LGPL
Group:		User Interface/X

Url: http://gswitchit.sourceforge.net/

Source: http://gswitchit.sourceforge.net/%{name}-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch:      noarch

%description
Just XML stuff. Later hopefully will be part of XFree86

%prep
%setup -q

%build

if [ ! -f configure ]; then
    CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh
fi

CFLAGS="$RPM_OPT_FLAGS" ./configure 

make 

%install
rm -rf $RPM_BUILD_ROOT

make prefix=$RPM_BUILD_ROOT%{_prefix} install 
rm -rf $RPM_BUILD_ROOT%{_prefix}/share/locale

%clean
rm -rf %{buildroot}
rm -rf $RPM_BUILD_DIR/%{name}-%{version}

%files
%defattr(-, root, root)

%doc AUTHORS ChangeLog NEWS README COPYING
%{_prefix}/X11R6/lib/X11/xkb/rules/*