Author: qboosh                       Date: Thu Feb  2 11:31:28 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use kdedocdir, pass --with-qt-libraries

---- Files affected:
SPECS:
   ktechlab.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/ktechlab.spec
diff -u SPECS/ktechlab.spec:1.3 SPECS/ktechlab.spec:1.4
--- SPECS/ktechlab.spec:1.3     Thu Feb  2 11:53:29 2006
+++ SPECS/ktechlab.spec Thu Feb  2 12:31:21 2006
@@ -12,7 +12,8 @@
 Source0:       http://ktechlab.org/download/%{name}-%{version}.tar.bz2
 # Source0-md5: 0cc2f2054f7906780c8580560f04b0ff
 URL:           http://ktechlab.org/
-BuildRequires: kdelibs-devel >= 3.2
+BuildRequires: kdelibs-devel >= 9:3.2
+BuildRequires: rpmbuild(macros) >= 1.129
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,7 +33,8 @@
 %setup -q
 
 %build
-%configure
+%configure \
+       --with-qt-libraries=%{_libdir}
 
 %{__make} \
         CC="%{__cc}"
@@ -41,17 +43,19 @@
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_desktopdir}
-mv $RPM_BUILD_ROOT%{_datadir}/applnk/Development/ktechlab.desktop 
$RPM_BUILD_ROOT%{_desktopdir}
+       DESTDIR=$RPM_BUILD_ROOT \
+       kde_htmldir=%{_kdedocdir} \
+       kde_libs_htmldir=%{_kdedocdir} \
+       kdelnkdir=%{_desktopdir}
+
+%find_lang %{name} --with-kde
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
-%doc %{_datadir}/doc/HTML/en/%{name}/*
 %{_datadir}/apps/%{name}
 %{_datadir}/config.kcfg/%{name}.kcfg
 %{_datadir}/apps/katepart/syntax/microbe.xml
@@ -65,6 +69,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/02/02 11:31:21  qboosh
+- use kdedocdir, pass --with-qt-libraries
+
 Revision 1.3  2006/02/02 10:53:29  qboosh
 - cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ktechlab.spec?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to