]> git.pld-linux.org Git - packages/conky.git/blob - conky.spec
5c97b9eebb32db3e10dbbd32d43cf29f3f2fc79f
[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.8.1
5 Release:        1
6 License:        Distributable (see COPYING doc)
7 Group:          X11/Applications
8 Source0:        http://downloads.sourceforge.net/conky/%{name}-%{version}.tar.bz2
9 # Source0-md5:  366dc6a5c2ebebfbe6f53da25061b5d6
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:  ncurses-devel
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. Może
35 wyświetlać takie informacje, jak:
36 - data
37 - temperatura CPU
38 - ilość miejsca na dysku itp.
39
40 %prep
41 %setup -q
42 %{__sed} -i 's,lua5.1,lua51,' configure.ac
43
44 %build
45 %{__libtoolize}
46 %{__aclocal} -I m4
47 %{__autoconf}
48 %{__autoheader}
49 %{__automake}
50 %configure \
51         CFLAGS="`pkg-config ncurses --cflags`" \
52         LIBS="-ltinfo"
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 # COPYING must be added (see COPYING file)
67 %doc AUTHORS ChangeLog COPYING README TODO
68 %dir %{_sysconfdir}/conky
69 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conky/%{name}.conf
70 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conky/%{name}_no_x11.conf
71 %attr(755,root,root) %{_bindir}/%{name}
72 %{_mandir}/man1/%{name}.1*
This page took 0.050025 seconds and 2 git commands to generate.