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
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
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