]> git.pld-linux.org Git - packages/conky.git/blobdiff - conky.spec
- version in lua51-devel BR
[packages/conky.git] / conky.spec
index c6021693fd5fa4ad2c95f5461759a3d437812496..94034e1cf37ce9a1879b0d033fbaca12aa06e04b 100644 (file)
@@ -1,15 +1,25 @@
 Summary:       A light-weight system monitor
-Summary(pl.UTF-8):   Monitor systemu dla środowiska graficznego
+Summary(pl.UTF-8):     Monitor systemu dla środowiska graficznego
 Name:          conky
-Version:       1.4.5
+Version:       1.7.1.1
 Release:       1
 License:       Distributable (see COPYING doc)
 Group:         X11/Applications
 Source0:       http://dl.sourceforge.net/conky/%{name}-%{version}.tar.bz2
-# Source0-md5: 4625c052852f2919a5e7ce2eb7c31189
+# Source0-md5: 153a661e78a466c95b1b332e7cd599cb
+Patch0:                %{name}-configdir.patch
 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: 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)
@@ -21,16 +31,23 @@ from i2c, MPD info, and anything else you desire) to the root window
 in X11.
 
 %description -l pl.UTF-8
-Conky jest niewielkim monitorem systemu opartym na kodzie torsmo. Może
-wyświetlać takie informacje, jak:
+Conky jest niewielkim monitorem systemu opartym na kodzie torsmo.
+Może wyświetlać takie informacje, jak:
 - data
 - temperatura CPU
 - ilość miejsca na dysku itp.
 
 %prep
 %setup -q
+%patch0 -p1
+%{__sed} -i 's,lua5.1,lua51,' configure.ac
 
 %build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 %{__make}
 
@@ -45,7 +62,8 @@ 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
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
+# COPYING must be added (see COPYING file)
+%doc AUTHORS ChangeLog COPYING README TODO
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/%{name}.1*
This page took 0.142924 seconds and 4 git commands to generate.