summaryrefslogtreecommitdiffstats
path: root/live/draklive-install/draklive-install.spec
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-23 12:50:03 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-23 12:50:03 +0000
commit18b45d04386ef78a2681c682adaab907a3bc4182 (patch)
treea7061db5f8420bfbce93719bcc37f679fbe35576 /live/draklive-install/draklive-install.spec
parentaa274c0cd7d5faa7a215850d0c21b31732425c81 (diff)
downloaddrakx-18b45d04386ef78a2681c682adaab907a3bc4182.tar
drakx-18b45d04386ef78a2681c682adaab907a3bc4182.tar.gz
drakx-18b45d04386ef78a2681c682adaab907a3bc4182.tar.bz2
drakx-18b45d04386ef78a2681c682adaab907a3bc4182.tar.xz
drakx-18b45d04386ef78a2681c682adaab907a3bc4182.zip
build and include po files
Diffstat (limited to 'live/draklive-install/draklive-install.spec')
-rw-r--r--live/draklive-install/draklive-install.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/live/draklive-install/draklive-install.spec b/live/draklive-install/draklive-install.spec
index b658fd2a9..7aab6b14b 100644
--- a/live/draklive-install/draklive-install.spec
+++ b/live/draklive-install/draklive-install.spec
@@ -21,9 +21,14 @@ This tool allows to install Mandriva from a running live system.
%prep
%setup -q
+%build
+%make -C po
+
%install
rm -rf $RPM_BUILD_ROOT
+%makeinstall -C po
+
for d in %_datadir/nautilus/default-desktop %_datadir/apps/kdesktop/DesktopLinks; do
install -D -m 0644 %name.desktop %buildroot/$d/%name.desktop
done
@@ -44,6 +49,8 @@ install theme/IC-installone-32.png %buildroot%_iconsdir/%iconname
install theme/IC-installone-32.png %buildroot%_miconsdir/%iconname
install theme/IM-INSTALLCDONE2.png %buildroot%_datadir/libDrakX/pixmaps/%imgname
+%find_lang %name
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -53,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT
%postun
%clean_menus
-%files
+%files -f %name.lang
%defattr(-,root,root)
%_sbindir/%name
%_datadir/%name