]> git.pld-linux.org Git - packages/k3b.git/commitdiff
- rel 2; add i18n auto/th/k3b-1_0-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 19 Apr 2007 06:37:50 +0000 (06:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    k3b.spec -> 1.158

k3b.spec

index 5789a7ad098f4c307abec4c64fa78d7b700fa62e..13add72de12be0d0db05e7c1bae5376fb45b6fa2 100644 (file)
--- a/k3b.spec
+++ b/k3b.spec
@@ -10,11 +10,13 @@ Summary:    The CD Kreator
 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
@@ -290,27 +292,33 @@ Dodatkowe wtyczki z grupy projekt: Audio Metainfo Renamer, Cddb Audio
 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
@@ -322,6 +330,9 @@ install -d $RPM_BUILD_ROOT%{_includedir}/libisofs
        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
This page took 0.069832 seconds and 4 git commands to generate.