SPECS: k3b.spec - rel 2; add i18n

arekm arekm at pld-linux.org
Thu Apr 19 08:37:55 CEST 2007


Author: arekm                        Date: Thu Apr 19 06:37:55 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2; add i18n

---- Files affected:
SPECS:
   k3b.spec (1.157 -> 1.158) 

---- Diffs:

================================================================
Index: SPECS/k3b.spec
diff -u SPECS/k3b.spec:1.157 SPECS/k3b.spec:1.158
--- SPECS/k3b.spec:1.157	Mon Apr 16 17:01:55 2007
+++ SPECS/k3b.spec	Thu Apr 19 08:37:50 2007
@@ -11,11 +11,13 @@
 Summary(pl.UTF-8):	Kreator CD
 Name:		k3b
 Version:	1.0
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		X11/Applications
 Source0:	http://dl.sourceforge.net/k3b/%{name}-%{version}.tar.bz2
 # Source0-md5:	02bf955059adfe9ac8a11d36fb34a11c
+Source1:	http://dl.sourceforge.net/k3b/k3b-i18n-%{version}.tar.bz2
+# Source1-md5:	19534f984a9846b50bf027d1a9ce4988
 Patch0:		%{name}-desktop.patch
 Patch1:		%{name}-group.patch
 Patch2:		%{name}-dbus.patch
@@ -291,27 +293,33 @@
 Plugin.
 
 %prep
-%setup -q
+%setup -q -a1
 %patch0 -p0
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 
 %build
-cp -f /usr/share/automake/config.sub admin
-cp -f /usr/share/libtool/ltmain.sh admin
-: > admin/libtool.m4.in
-rm -f acinclude.m4
-%{__make} -f admin/Makefile.common
-%configure \
-	--%{!?debug:dis}%{?debug:en}able-debug \
-	%{!?debug:--disable-rpath} \
-	%{!?with_setup:--with-k3bsetup=no} \
-	--with-qt-libraries=%{_libdir} \
-	%{!?with_hal:--without-hal} \
-	%{!?with_resmgr:--without-resmgr}
+curdir=$(pwd)
+for dir in . k3b-i18n-*; do
+	cd $dir
+	cp -f /usr/share/automake/config.sub admin
+	cp -f /usr/share/libtool/ltmain.sh admin
+	: > admin/libtool.m4.in
+	rm -f acinclude.m4
+	%{__make} -f admin/Makefile.common
+	%configure \
+		--%{!?debug:dis}%{?debug:en}able-debug \
+		%{!?debug:--disable-rpath} \
+		%{!?with_setup:--with-k3bsetup=no} \
+		--with-qt-libraries=%{_libdir} \
+		%{!?with_hal:--without-hal} \
+		%{!?with_resmgr:--without-resmgr}
+	cd $curdir
+done
 
 %{__make}
+%{__make} -C k3b-i18n-*
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -323,6 +331,9 @@
 	k3bsetup2dir=%{_desktopdir}/kde \
 	kde_htmldir=%{_kdedocdir}
 
+%{__make} -C k3b-i18n-* install \
+	DESTDIR=$RPM_BUILD_ROOT \
+
 install libk3b/tools/libisofs/*.h $RPM_BUILD_ROOT%{_includedir}/libisofs
 
 %find_lang %{name} --all-name --with-kde
@@ -468,6 +479,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.158  2007/04/19 06:37:50  arekm
+- rel 2; add i18n
+
 Revision 1.157  2007/04/16 15:01:55  wolvverine
 - partial revert last commit
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/k3b.spec?r1=1.157&r2=1.158&f=u



More information about the pld-cvs-commit mailing list