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