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.5.0
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: 07fa339276289ddc31303a8081c85214
+Patch0: %{name}-configdir.patch
+Patch1: %{name}-headers.patch
URL: http://conky.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: expat-devel
BuildRequires: freetype-devel
BuildRequires: xorg-lib-libXext-devel
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure
%{__make}
%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*