SPECS: lineak-plugin-kde.spec - fixed build

qboosh qboosh at pld-linux.org
Thu Mar 9 21:12:41 CET 2006


Author: qboosh                       Date: Thu Mar  9 20:12:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed build

---- Files affected:
SPECS:
   lineak-plugin-kde.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/lineak-plugin-kde.spec
diff -u SPECS/lineak-plugin-kde.spec:1.2 SPECS/lineak-plugin-kde.spec:1.3
--- SPECS/lineak-plugin-kde.spec:1.2	Thu Mar  9 20:58:47 2006
+++ SPECS/lineak-plugin-kde.spec	Thu Mar  9 21:12:35 2006
@@ -10,16 +10,18 @@
 Name:		lineak-plugin-kde
 Version:	0.8.4
 Release:	0.9
-License:	GPL
+License:	GPL v2+
 Group:		Applications/System
 Source0:	http://dl.sourceforge.net/lineak/%{packagename}-%{version}.tar.gz
 # Source0-md5:	4ddfc475e4df27f8822e0b08c0f701b5
 URL:		http://lineak.sourceforge.net/
 BuildRequires:	autoconf >= 2.54
 BuildRequires:	automake
+BuildRequires:	kdelibs-devel >= 3.0
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
 BuildRequires:	lineakd-devel >= %{version}
+BuildRequires:	sed >= 4.0
 Requires:	lineakd >= %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -90,6 +92,10 @@
 %prep
 %setup -q -n %{packagename}-%{version}
 
+# kill plugin dir existence test
+sed -i -e 's/test ! -d \$pdir/false/' admin/lineak.m4.in
+cat admin/{acinclude.m4.in,lineak.m4.in} > acinclude.m4
+
 %build
 %{__libtoolize}
 %{__aclocal}
@@ -97,7 +103,9 @@
 %{__autoheader}
 %{__automake}
 
-%configure
+%configure \
+	--with-lineak-plugindir=%{_libdir}/lineakd/plugins \
+	--with-qt-libraries=%{_libdir}
 
 %{__make}
 
@@ -114,9 +122,9 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog README TODO
+%doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_libdir}/lineakd/plugins/*.so
-%{_mandir}/*/*
+%{_mandir}/man1/lineak_kdeplugins.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -124,6 +132,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/03/09 20:12:35  qboosh
+- fixed build
+
 Revision 1.2  2006/03/09 19:58:47  qboosh
 - cleanups/minor fixes
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lineak-plugin-kde.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list