]>
Commit | Line | Data |
---|---|---|
30b96769 | 1 | %define _name thinkpad |
2 | Summary: GNOME configuration tool for IBM ThinkPad laptops | |
8e45d88d | 3 | Summary(pl.UTF-8): Narzędzie konfiguracyjne GNOME do laptopów IBM ThinkPad |
30b96769 | 4 | Name: configure-thinkpad |
5 | Version: 0.9 | |
6 | Release: 1 | |
7 | License: GPL v2 | |
8 | Group: X11/Applications | |
9 | Source0: http://dl.sourceforge.net/tpctl/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: b0d6c3dd3a0867248fb6bfc2d41881f5 | |
11 | Patch0: %{name}-desktop.patch | |
72a69b91 | 12 | URL: http://tpctl.sourceforge.net/ |
30b96769 | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
15 | BuildRequires: libgnomeui-devel | |
72a69b91 | 16 | BuildRequires: pkgconfig |
30b96769 | 17 | ExclusiveArch: %{ix86} |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | GNOME configuration tool for IBM ThinkPad laptops. | |
22 | ||
39571223 JR |
23 | %description -l pl.UTF-8 |
24 | Narzędzie konfiguracyjne GNOME do laptopów IBM ThinkPad | |
30b96769 | 25 | |
26 | %prep | |
27 | %setup -q | |
28 | %patch0 -p1 | |
30b96769 | 29 | |
30 | %build | |
31 | %{__aclocal} | |
32 | %{__autoconf} | |
33 | %{__automake} | |
34 | %configure | |
35 | %{__make} | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
43 | ln -sf %{name}/gnome-laptop.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc AUTHORS | |
51 | %attr(755,root,root) %{_bindir}/* | |
ae76928c | 52 | %{_desktopdir}/*.desktop |
30b96769 | 53 | %{_pixmapsdir}/* |