SPECS: klineakconfig.spec - more configure fixes

qboosh qboosh at pld-linux.org
Thu Mar 9 20:34:05 CET 2006


Author: qboosh                       Date: Thu Mar  9 19:34:05 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more configure fixes

---- Files affected:
SPECS:
   klineakconfig.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/klineakconfig.spec
diff -u SPECS/klineakconfig.spec:1.10 SPECS/klineakconfig.spec:1.11
--- SPECS/klineakconfig.spec:1.10	Thu Mar  9 19:48:31 2006
+++ SPECS/klineakconfig.spec	Thu Mar  9 20:34:00 2006
@@ -11,10 +11,12 @@
 # Source0-md5:	c6401c480d32112bbbd82972c41c4d7e
 Patch0:		%{name}-desktop.patch
 URL:		http://lineak.sourceforge.net/
+BuildRequires:	automake
 BuildRequires:	kdelibs-devel
 BuildRequires:	lineakd-defs
 BuildRequires:	lineakd-devel
 BuildRequires:	rpmbuild(macros) >= 1.129
+BuildRequires:	sed >= 4.0
 Requires:	lineakd >= 0.4pre2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -30,12 +32,18 @@
 %setup -q -n %{name}-%{version}-%{beta}
 %patch0 -p1
 
+# kill stupid plugin dir existence test
+sed -i -e 's/test ! -d \$pdir/false/' configure
+
 %build
+cp -f /usr/share/automake/config.* admin
 kde_appsdir="%{_desktopdir}"; export kde_appsdir
 kde_htmldir="%{_kdedocdir}"; export kde_htmldir
-kde_icondir="%{_pixmapsdir}"; export kde_icondir
 
-%configure2_13
+%configure \
+	--disable-rpath \
+	--with-lineak-plugindir=%{_libdir}/lineakd/plugins \
+	--with-qt-libraries=%{_libdir}
 %{__make}
 
 %install
@@ -55,7 +63,7 @@
 %attr(755,root,root) %{_bindir}/klineakconfig
 %{_datadir}/apps/klineakconfig
 %{_desktopdir}/*.desktop
-%{_pixmapsdir}/*/*/apps/*.png
+%{_iconsdir}/*/*/apps/*.png
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -63,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2006/03/09 19:34:00  qboosh
+- more configure fixes
+
 Revision 1.10  2006/03/09 18:48:31  qboosh
 - use _kdedocdir
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/klineakconfig.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list