Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
desktop-translations
desktop-translations.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File desktop-translations.spec of Package desktop-translations
# # spec file for package desktop-translations (Version 11.1) # # Copyright (c) 2009 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: desktop-translations Version: 11.1 Release: 6.<RELEASE4> Summary: Desktop Files Translation updates License: BSD 3-Clause Group: System/GUI/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on Source0: desktop-translations.tar.bz2 Source99: PREPARE_PACKAGE BuildArch: noarch Supplements: kdelibs3 Supplements: libkde4 Supplements: yast2-control-center Supplements: libglib-2_0-0 Provides: locale(af;ar;bg;bn;bs;ca;cs;cy;da;de;el;en_GB;en_US;es;et;fi;fr;gl;gu;he;hi;hr;hu;id;it;ja;ka;km;ko;lo;lt;mk;mr;nb;nl;pa;pl;pt;ro;ru;si;sk;sl;sr;sr@Latn;sv;ta;tr;uk;vi;wa;xh;zh_CN;zh_TW;zu) %description This package provides further translations for installed desktop files. Authors: -------- Adrian Schroeter <adrian@suse.de> %prep %setup -q -c %name %build %install pushd po for lang in *; do if test "$lang" = "nb_no"; then continue fi if test -f $lang; then rm $lang else mkdir -p $RPM_BUILD_ROOT/usr/share/locale/$lang/LC_MESSAGES for f in $lang/*.po; do msgfmt -o $RPM_BUILD_ROOT/usr/share/locale/$lang/LC_MESSAGES/desktop_translations.mo $f msgunfmt --no-wrap $RPM_BUILD_ROOT/usr/share/locale/$lang/LC_MESSAGES/desktop_translations.mo | \ grep -v '^"[A-Z][^ ]*: ' | grep '[^\][\]n"' && exit 1 done fi done popd %find_lang desktop_translations %clean rm -rf $RPM_BUILD_ROOT %files -f desktop_translations.lang %defattr(-,root,root) %changelog * Tue Feb 17 2009 ke@suse.de - General post-GA translation update (bnc#464470). * Sat Nov 29 2008 coolo@suse.de - update translations. * Fri Nov 14 2008 ke@suse.de - update translations. * Sat Nov 08 2008 coolo@suse.de - update translations * Fri Nov 07 2008 ke@suse.de - update translations. * Thu Nov 06 2008 coolo@suse.de - update translations * Mon Oct 27 2008 coolo@suse.de - initial package split out of update-desktop-files
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