]> git.pld-linux.org Git - packages/configure-thinkpad.git/blob - configure-thinkpad.spec
- tabs in preamble
[packages/configure-thinkpad.git] / configure-thinkpad.spec
1 %define         _name   thinkpad
2 Summary:        GNOME configuration tool for IBM ThinkPad laptops
3 Summary(pl.UTF-8):      Narzędzie konfiguracyjne GNOME do laptopów IBM ThinkPad
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
12 URL:            http://tpctl.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libgnomeui-devel
16 BuildRequires:  pkgconfig
17 ExclusiveArch:  %{ix86}
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 GNOME configuration tool for IBM ThinkPad laptops.
22
23 %description -l pl.UTF-8
24 Narzędzie konfiguracyjne GNOME do laptopów IBM ThinkPad
25
26 %prep
27 %setup -q
28 %patch0 -p1
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}/*
52 %{_desktopdir}/*.desktop
53 %{_pixmapsdir}/*
This page took 0.063242 seconds and 3 git commands to generate.