Mageia Bugzilla – Attachment 4077 Details for
Bug 10364
Missing i18n and libquazip1 for sankore
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch for spec for fix this bug
sankore_spec.patch (text/plain), 1.03 KB, created by
Alex Loginov
on 2013-05-30 10:59:10 CEST
(
hide
)
Description:
Patch for spec for fix this bug
Filename:
MIME Type:
Creator:
Alex Loginov
Created:
2013-05-30 10:59:10 CEST
Size:
1.03 KB
patch
obsolete
>--- ./sankore.spec 2013-05-30 12:55:27.000000000 +0400 >+++ ./sankore.spec.new 2013-05-30 12:40:49.000000000 +0400 >@@ -4,7 +4,7 @@ > %define destdir %{_datadir}/%{name} > Name: sankore > Version: 3.1 >-Release: %mkrel 3 >+Release: %mkrel 5 > Summary: The open-source software suite for digital teachers > License: GPLv3+ or LGPLv3+ > Group: Education >@@ -13,6 +13,8 @@ > Patch0: Sankore_3.1.pro.patch > Patch1: gethostbyname.patch > >+Requires: libquazip1 >+ > BuildRequires: qt4-devel > BuildRequires: zlib-devel > BuildRequires: xpdf-devel >@@ -76,6 +78,13 @@ > cp -r build/linux/release/product/* %{buildroot}/%{destdir} > #mv %{buildroot}/%{destdir}/Sankore\ %{version} %{buildroot}/%{destdir}/sankore > >+# internalization >+lrelease -removeidentical Sankore_3.1.pro >+mkdir -p %{buildroot}%{destdir}/i18n/ >+cp -R resources/i18n/sankore*.qm %{buildroot}%{destdir}/i18n/ >+#Fix Russian >+mv -f %{buildroot}%{destdir}/i18n/sankore_ru.qm %{buildroot}%{destdir}/i18n/sankore_ru_RU.qm >+ > %files > %defattr(-,root,root,-) > %doc *gpl.txt README.txt
--- ./sankore.spec 2013-05-30 12:55:27.000000000 +0400 +++ ./sankore.spec.new 2013-05-30 12:40:49.000000000 +0400 @@ -4,7 +4,7 @@ %define destdir %{_datadir}/%{name} Name: sankore Version: 3.1 -Release: %mkrel 3 +Release: %mkrel 5 Summary: The open-source software suite for digital teachers License: GPLv3+ or LGPLv3+ Group: Education @@ -13,6 +13,8 @@ Patch0: Sankore_3.1.pro.patch Patch1: gethostbyname.patch +Requires: libquazip1 + BuildRequires: qt4-devel BuildRequires: zlib-devel BuildRequires: xpdf-devel @@ -76,6 +78,13 @@ cp -r build/linux/release/product/* %{buildroot}/%{destdir} #mv %{buildroot}/%{destdir}/Sankore\ %{version} %{buildroot}/%{destdir}/sankore +# internalization +lrelease -removeidentical Sankore_3.1.pro +mkdir -p %{buildroot}%{destdir}/i18n/ +cp -R resources/i18n/sankore*.qm %{buildroot}%{destdir}/i18n/ +#Fix Russian +mv -f %{buildroot}%{destdir}/i18n/sankore_ru.qm %{buildroot}%{destdir}/i18n/sankore_ru_RU.qm + %files %defattr(-,root,root,-) %doc *gpl.txt README.txt
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10364
: 4077