]> git.pld-linux.org Git - packages/conky.git/blobdiff - conky.spec
- ncurses patch, stolen from from gentoo. More details here
[packages/conky.git] / conky.spec
index 960a7e8a278e54d2bbc6fe9e844867efe5ed5c0c..647ed8c4515dac383461b19e432085cd16fd1912 100644 (file)
@@ -1,19 +1,26 @@
 Summary:       A light-weight system monitor
 Summary(pl.UTF-8):     Monitor systemu dla środowiska graficznego
 Name:          conky
-Version:       1.5.0
+Version:       1.8.0
 Release:       1
 License:       Distributable (see COPYING doc)
 Group:         X11/Applications
 Source0:       http://dl.sourceforge.net/conky/%{name}-%{version}.tar.bz2
-# Source0-md5: 07fa339276289ddc31303a8081c85214
-Patch0:                %{name}-configdir.patch
-Patch1:                %{name}-headers.patch
+# Source0-md5: 494cbaf1108cfdb977fc80454d9b13e2
+Patch0:                %{name}-ncurses.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: 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)
@@ -25,8 +32,8 @@ 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.
@@ -34,10 +41,11 @@ wyświetlać takie informacje, jak:
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
+%{__sed} -i 's,lua5.1,lua51,' configure.ac
 
 %build
-%{__aclocal}
+%{__libtoolize}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
@@ -55,8 +63,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
 # 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}/*
 %{_mandir}/man1/%{name}.1*
This page took 0.080273 seconds and 4 git commands to generate.