]> git.pld-linux.org Git - packages/conky.git/blob - conky.spec
647ed8c4515dac383461b19e432085cd16fd1912
[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.0
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:  494cbaf1108cfdb977fc80454d9b13e2
10 Patch0:         %{name}-ncurses.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:  ncurses-devel
21 BuildRequires:  pkgconfig >= 1:0.19
22 BuildRequires:  sed >= 4.0
23 BuildRequires:  xorg-lib-libXdamage-devel
24 BuildRequires:  xorg-lib-libXext-devel
25 BuildRequires:  xorg-lib-libXft-devel
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Conky is a light-weight system monitor based on the torsmo code. Conky
30 can display arbitrary information (such as the date, CPU temperature
31 from i2c, MPD info, and anything else you desire) to the root window
32 in X11.
33
34 %description -l pl.UTF-8
35 Conky jest niewielkim monitorem systemu opartym na kodzie torsmo.
36 Może wyświetlać takie informacje, jak:
37 - data
38 - temperatura CPU
39 - ilość miejsca na dysku itp.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44 %{__sed} -i 's,lua5.1,lua51,' configure.ac
45
46 %build
47 %{__libtoolize}
48 %{__aclocal} -I m4
49 %{__autoconf}
50 %{__autoheader}
51 %{__automake}
52 %configure
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}/*
72 %{_mandir}/man1/%{name}.1*
This page took 0.051814 seconds and 3 git commands to generate.