]> git.pld-linux.org Git - packages/conky.git/blobdiff - conky.spec
- up to 1.8.1
[packages/conky.git] / conky.spec
index 4cac6036dc7bfb6aa84213638a8ef6128d605a06..5c97b9eebb32db3e10dbbd32d43cf29f3f2fc79f 100644 (file)
@@ -1,15 +1,25 @@
 Summary:       A light-weight system monitor
-Summary(pl):   Monitor systemu dla ¶rodowiska graficznego
+Summary(pl.UTF-8):     Monitor systemu dla środowiska graficznego
 Name:          conky
-Version:       1.4.4
+Version:       1.8.1
 Release:       1
 License:       Distributable (see COPYING doc)
 Group:         X11/Applications
-Source0:       http://dl.sourceforge.net/conky/%{name}-%{version}.tar.bz2
-# Source0-md5: c856556d4372226f99cf7e9a888e9118
+Source0:       http://downloads.sourceforge.net/conky/%{name}-%{version}.tar.bz2
+# Source0-md5: 366dc6a5c2ebebfbe6f53da25061b5d6
 URL:           http://conky.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: expat-devel
 BuildRequires: freetype-devel
+BuildRequires: gettext-devel
+BuildRequires: glib2-devel >= 2.0
+BuildRequires: libtool
+BuildRequires: lua51-devel >= 5.1
+BuildRequires: ncurses-devel
+BuildRequires: pkgconfig >= 1:0.19
+BuildRequires: sed >= 4.0
+BuildRequires: xorg-lib-libXdamage-devel
 BuildRequires: xorg-lib-libXext-devel
 BuildRequires: xorg-lib-libXft-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -20,18 +30,26 @@ can display arbitrary information (such as the date, CPU temperature
 from i2c, MPD info, and anything else you desire) to the root window
 in X11.
 
-%description -l pl
-Conky jest niewielkim monitorem systemu opartym na kodzie torsmo. Mo¿e
-wy¶wietlaæ takie informacje, jak:
+%description -l pl.UTF-8
+Conky jest niewielkim monitorem systemu opartym na kodzie torsmo. Może
+wyświetlać takie informacje, jak:
 - data
 - temperatura CPU
-- ilo¶æ miejsca na dysku itp.
+- ilość miejsca na dysku itp.
 
 %prep
 %setup -q
+%{__sed} -i 's,lua5.1,lua51,' configure.ac
 
 %build
-%configure
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       CFLAGS="`pkg-config ncurses --cflags`" \
+       LIBS="-ltinfo"
 %{__make}
 
 %install
@@ -45,7 +63,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-#COPYING must be added (see COPYING file)
-%doc AUTHORS ChangeLog COPYING README TODO doc/conkyrc.sample
-%attr(755,root,root) %{_bindir}/*
+# COPYING must be added (see COPYING file)
+%doc AUTHORS ChangeLog COPYING README TODO
+%dir %{_sysconfdir}/conky
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conky/%{name}.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conky/%{name}_no_x11.conf
+%attr(755,root,root) %{_bindir}/%{name}
 %{_mandir}/man1/%{name}.1*
This page took 0.039982 seconds and 4 git commands to generate.