]>
Commit | Line | Data |
---|---|---|
be295fd3 | 1 | # |
2 | # TODO: | |
3 | # - descriptions and summaries | |
4 | # - requires/provides/obsoletes | |
5 | # | |
6 | %define snap 20040628 | |
7 | # | |
8 | Summary: debrix keyboard driver | |
6f495947 | 9 | Summary(pl.UTF-8): Driver klawiatury dla debriksa |
be295fd3 | 10 | Name: debrix-input-keyboard |
11 | Version: 0.1.0 | |
12 | Release: 0.1 | |
13 | Epoch: 0 | |
14 | License: ?? | |
15 | Group: X11/Xorg | |
16 | Source0: %{name}-snap-%{snap}.tar.bz2 | |
17 | # Source0-md5: 29636d7ae668b9dbb936d4a92e5976a5 | |
18 | # not really debrix URL, but there is no other... | |
19 | URL: http://xserver.freedesktop.org | |
20 | BuildRequires: autoconf | |
21 | BuildRequires: automake | |
22 | BuildRequires: debrix-devel | |
23 | BuildRequires: libtool | |
24 | Requires: debrix | |
25 | #Provides: - | |
26 | #Obsoletes: - | |
27 | #Conflicts: - | |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | %description | |
31 | ||
1047488a | 32 | %description -l pl.UTF-8 |
be295fd3 | 33 | |
34 | %prep | |
35 | %setup -q -n %{name} | |
36 | ||
37 | %build | |
38 | %{__aclocal} | |
39 | %{__libtoolize} | |
40 | %{__autoconf} | |
41 | %{__autoheader} | |
42 | %{__automake} | |
43 | ||
44 | %configure | |
45 | ||
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
4ddae36f | 54 | rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/*.{a,la} |
be295fd3 | 55 | |
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %pre | |
60 | ||
61 | %post | |
62 | ||
63 | %preun | |
64 | ||
65 | %postun | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
4ddae36f | 69 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/lib*.so* |
be295fd3 | 70 | %{_mandir}/man3/* |