]> git.pld-linux.org Git - packages/conky.git/blob - conky.spec
- version in lua51-devel BR
[packages/conky.git] / conky.spec
1 Summary:        A light-weight system monitor
2 Summary(pl.UTF-8):      Monitor systemu dla środowiska graficznego
3 Name:           conky
4 Version:        1.7.1.1
5 Release:        1
6 License:        Distributable (see COPYING doc)
7 Group:          X11/Applications
8 Source0:        http://dl.sourceforge.net/conky/%{name}-%{version}.tar.bz2
9 # Source0-md5:  153a661e78a466c95b1b332e7cd599cb
10 Patch0:         %{name}-configdir.patch
11 URL:            http://conky.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  expat-devel
15 BuildRequires:  freetype-devel
16 BuildRequires:  gettext-devel
17 BuildRequires:  glib2-devel >= 2.0
18 BuildRequires:  libtool
19 BuildRequires:  lua51-devel >= 5.1
20 BuildRequires:  pkgconfig >= 1:0.19
21 BuildRequires:  sed >= 4.0
22 BuildRequires:  xorg-lib-libXdamage-devel
23 BuildRequires:  xorg-lib-libXext-devel
24 BuildRequires:  xorg-lib-libXft-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Conky is a light-weight system monitor based on the torsmo code. Conky
29 can display arbitrary information (such as the date, CPU temperature
30 from i2c, MPD info, and anything else you desire) to the root window
31 in X11.
32
33 %description -l pl.UTF-8
34 Conky jest niewielkim monitorem systemu opartym na kodzie torsmo.
35 Może wyświetlać takie informacje, jak:
36 - data
37 - temperatura CPU
38 - ilość miejsca na dysku itp.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43 %{__sed} -i 's,lua5.1,lua51,' configure.ac
44
45 %build
46 %{__libtoolize}
47 %{__aclocal} -I m4
48 %{__autoconf}
49 %{__autoheader}
50 %{__automake}
51 %configure
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
66 # COPYING must be added (see COPYING file)
67 %doc AUTHORS ChangeLog COPYING README TODO
68 %attr(755,root,root) %{_bindir}/*
69 %{_mandir}/man1/%{name}.1*
This page took 0.058232 seconds and 4 git commands to generate.