aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavid_david <david.david@mageialinux-online.org>2013-11-23 21:59:28 +0100
committerdavid_david <david.david@mageialinux-online.org>2013-11-23 21:59:28 +0100
commitd02ea774d6018b904aa2d4bf3942917191b18793 (patch)
tree00a1aec0c368a6e843315f1475360ed322c37a5e
parent88bdd160f16ca7befc857b4f6e08998f38c989c7 (diff)
downloadisodumper-d02ea774d6018b904aa2d4bf3942917191b18793.tar
isodumper-d02ea774d6018b904aa2d4bf3942917191b18793.tar.gz
isodumper-d02ea774d6018b904aa2d4bf3942917191b18793.tar.bz2
isodumper-d02ea774d6018b904aa2d4bf3942917191b18793.tar.xz
isodumper-d02ea774d6018b904aa2d4bf3942917191b18793.zip
Update release isodumper.spec0.12
release 0.12
-rw-r--r--isodumper.spec13
1 files changed, 6 insertions, 7 deletions
diff --git a/isodumper.spec b/isodumper.spec
index 3ed26e7..967e865 100644
--- a/isodumper.spec
+++ b/isodumper.spec
@@ -1,5 +1,5 @@
Name: isodumper
-Version: 0.11
+Version: 0.12
Release: %mkrel 1
Summary: Tool for writing ISO images on a USB stick
Summary(fr_FR): Outil pour écrire des images ISO sur une clé USB
@@ -57,13 +57,12 @@ install -m 755 lib/find_devices %{buildroot}%{_usr}/lib/%{name}/find_devices
install -m 755 lib/%{name}.py %{buildroot}%{_usr}/lib/%{name}/%{name}.py
# isodumper.mo translations
-pushd share/locale
-for f in *;
+pushd ./share/locale/
+for locale in *
do
- poname=${f:0:5}
- mkdir -p %{buildroot}%{_datadir}/locale/$poname/LC_MESSAGES
- install -m 644 $poname/LC_MESSAGES/%{name}.mo \
- "%{buildroot}%{_datadir}/locale/$poname/LC_MESSAGES/"
+ mkdir -p %{buildroot}%{_datadir}/locale/$locale/LC_MESSAGES
+ install -m 644 $locale/LC_MESSAGES/%{name}.mo \
+ "%{buildroot}%{_datadir}/locale/$locale/LC_MESSAGES/"
done
popd