Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
translation-update
translation-update.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File translation-update.spec of Package translation-update
# # spec file for package translation-update (Version 10.3) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: translation-update BuildRequires: gettext Version: 10.3 Release: 46 License: GPL v2 or later Group: System/Base BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: translation-update.tar.bz2 Source1: README Source2: COPYING Source3: AUTHORS Prefix: /usr BuildArch: noarch Summary: Translation Updates %description This is a set of translation updates that are installed into the preferred directory, /usr/share/locale-langpack/<locale>/LC_MESSAGES/. Applications that use gettext correctly can then pick up overridden or updated translations from this location. Authors: -------- Gary Ekker <gekker@novell.com> %package -n translation-update-cs License: GPL v2 or later Summary: Translation Updates for Czech Group: System/Localization Provides: locale(translation-update:cs) Requires: translation-update %description -n translation-update-cs This is a set of translation updates that are installed into the preferred directory, /usr/share/locale-langpack/<locale>/LC_MESSAGES/. Applications that use gettext correctly can then pick up overridden or updated translations from this location. Authors: -------- Gary Ekker <gekker@novell.com> Stanislav Brabec <sbrabec@suse.cz> %package -n translation-update-de License: GPL v2 or later Summary: Translation Updates for German Group: System/Localization Provides: locale(translation-update:de) Requires: translation-update %description -n translation-update-de This is a set of translation updates that are installed into the preferred directory, /usr/share/locale-langpack/<locale>/LC_MESSAGES/. Applications that use gettext correctly can then pick up overridden or updated translations from this location. Authors: -------- Gary Ekker <gekker@novell.com> Stanislav Brabec <sbrabec@suse.cz> %package -n translation-update-es License: GPL v2 or later Summary: Translation Updates for Spanish Group: System/Localization Provides: locale(translation-update:es) Requires: translation-update %description -n translation-update-es This is a set of translation updates that are installed into the preferred directory, /usr/share/locale-langpack/<locale>/LC_MESSAGES/. Applications that use gettext correctly can then pick up overridden or updated translations from this location. Authors: -------- Gary Ekker <gekker@novell.com> Stanislav Brabec <sbrabec@suse.cz> %package -n translation-update-fi License: GPL v2 or later Summary: Translation Updates for Finnish Group: System/Localization Provides: locale(translation-update:fi) Requires: translation-update %description -n translation-update-fi This is a set of translation updates that are installed into the preferred directory, /usr/share/locale-langpack/<locale>/LC_MESSAGES/. Applications that use gettext correctly can then pick up overridden or updated translations from this location. Authors: -------- Gary Ekker <gekker@novell.com> Stanislav Brabec <sbrabec@suse.cz> %package -n translation-update-ja License: GPL v2 or later Summary: Translation Updates for Japanese Group: System/I18n/Japanese Provides: locale(translation-update:ja) Requires: translation-update %description -n translation-update-ja This is a set of translation updates that are installed into the preferred directory, /usr/share/locale-langpack/<locale>/LC_MESSAGES/. Applications that use gettext correctly can then pick up overridden or updated translations from this location. Authors: -------- Gary Ekker <gekker@novell.com> Stanislav Brabec <sbrabec@suse.cz> %package -n translation-update-pl License: GPL v2 or later Summary: Translation Updates for Polish Group: System/Localization Provides: locale(translation-update:pl) Requires: translation-update %description -n translation-update-pl This is a set of translation updates that are installed into the preferred directory, /usr/share/locale-langpack/<locale>/LC_MESSAGES/. Applications that use gettext correctly can then pick up overridden or updated translations from this location. Authors: -------- Gary Ekker <gekker@novell.com> Stanislav Brabec <sbrabec@suse.cz> %package -n translation-update-pt_BR License: GPL v2 or later Summary: Translation Updates for Brasilian Portuguese Group: System/Localization Provides: locale(translation-update:pt_BR) Requires: translation-update %description -n translation-update-pt_BR This is a set of translation updates that are installed into the preferred directory, /usr/share/locale-langpack/<locale>/LC_MESSAGES/. Applications that use gettext correctly can then pick up overridden or updated translations from this location. Authors: -------- Gary Ekker <gekker@novell.com> Stanislav Brabec <sbrabec@suse.cz> %prep %setup -n translation-update # # These were updated on SLE10 SP1 resp. separately as yast2-trans-{??,??_??} # rm -fr yast-trans/{ar,bn,ca,cs,de,es,fi,fr,hi,hu,it,ja,ko,nb,nl,pl,pt_BR,ru,sk,ta,zh_CN,zh_TW} %build %install for PACKAGE in `ls` ; do cd $PACKAGE for LANG in `ls` ; do cd $LANG for PO in `ls *.po` ; do if [ `basename $PO .po` == $LANG ] ; then msgfmt -c -o $PACKAGE.mo $PO else msgfmt -c -o `basename $PO .$LANG.po`.mo $PO fi if [ -d ${RPM_BUILD_ROOT}%{_datadir}/locale-langpack/$LANG ] ; then install -m 644 *.mo ${RPM_BUILD_ROOT}%{_datadir}/locale-langpack/$LANG/LC_MESSAGES else install -d ${RPM_BUILD_ROOT}%{_datadir}/locale-langpack/$LANG/LC_MESSAGES install -m 644 *.mo ${RPM_BUILD_ROOT}%{_datadir}/locale-langpack/$LANG/LC_MESSAGES fi done cd .. done cd .. done install -d ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name} install -m 644 %{S:1} ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name} install -m 644 %{S:2} ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name} install -m 644 %{S:3} ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name} # For empty subpackages install -m 644 %{S:2} . %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %{_defaultdocdir}/%{name} %files -n translation-update-cs %defattr(-,root,root) %doc COPYING %files -n translation-update-de %defattr(-,root,root) %doc COPYING %files -n translation-update-es %defattr(-,root,root) %doc COPYING %files -n translation-update-fi %defattr(-,root,root) %doc COPYING %files -n translation-update-ja %defattr(-,root,root) %doc COPYING %files -n translation-update-pl %defattr(-,root,root) %doc COPYING %files -n translation-update-pt_BR %defattr(-,root,root) %doc COPYING %changelog * Mon Aug 18 2008 ke@suse.de - Also reset cs and pl (for 11.1); see bnc#404073, bnc#399561. bnc#402551, bnc#402885, and bnc#407285. * Fri Jan 11 2008 ke@suse.de - Reset translations for openSUSE 11.0; see #353229. * Fri Jan 11 2008 ke@suse.de - Update translations: de, es, fi, ja, and pt_BR; #350693. * Wed Aug 22 2007 ro@suse.de - completely comment out disabled subpacks * Fri Aug 03 2007 ke@suse.de - Add Arabian (ar), African (af, xh, and zu), and Indian (bn, gu, hi, mr, and ta) and Polish (pl); #281412 and SWAMPID 11144. - Remove outdated yast translatations. * Thu Oct 19 2006 jhargadon@suse.de - added french translations for yelp and zen-updater for bug [#204335] * Thu Oct 05 2006 jhargadon@suse.de - initial submission of package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor