]> git.pld-linux.org Git - packages/dict-mueller7.git/commitdiff
- dictionary is in ru_RU.koi8r locale - let's test new locale BR idea
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 23 Aug 2004 21:59:18 +0000 (21:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dict-mueller7.spec -> 1.8

dict-mueller7.spec

index 92797818f5e86a6a70f9620e6cc85e046bc1e4bf..4909d9208f439c9158bea1ed9a70fca9fd327449 100644 (file)
@@ -15,6 +15,10 @@ Source1:     http://www.math.sunysb.edu/~comech/tools/to-dict
 URL:           http://mueller-dic.chat.ru/
 BuildRequires: dictfmt
 BuildRequires: dictzip
+%if "%(locale -a | grep '^ru_RU.koi8r$')" == ""
+BuildRequires: glibc-localedb-all
+%endif
+BuildRequires: sed >= 4.0
 Requires:      dictd
 Requires:      %{_sysconfdir}/dictd
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -30,8 +34,10 @@ Muellera.
 %prep
 %setup -q -c
 
-%build
 cp %{SOURCE1} .
+sed -i -e 's/dictfmt -p/dictfmt --locale ru_RU.koi8r/' to-dict
+
+%build
 chmod +x ./to-dict
 ./to-dict --no-trans usr/local/share/dict/Mueller7GPL.koi mueller7.notr
 ./to-dict --src-data mueller7.notr mueller7.data && rm -f mueller7.notr
This page took 0.067799 seconds and 4 git commands to generate.