Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
koffice2-l10n
koffice2-l10n.spec.in
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File koffice2-l10n.spec.in of Package koffice2-l10n
# # spec file for package koffice2-l10n (Version 2.3.0) # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://www.suse.de/feedback/ # # norootforbuild # icecream 0 Name: koffice2-l10n BuildRequires: kdelibs4-doc libkde4-devel fdupes Url: http://i18n.kde.org/ License: GPL v2 or later Group: System/GUI/KDE Summary: Translations for KOffice2 Version: 2.3.1 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch #@SOURCES@ Source200: update_spec.pl Source201: attributes %define build_languages @LANGUAGES@ %description description #@PACKAGES@ %prep %setup -q -n koffice-l10n-de-%version @EXTRACT@ %build cd .. for i in %build_languages; do pushd koffice-l10n-$i-%version || exit 1 %cmake_kde4 -d build %make_jobs popd done %install cd .. for i in %build_languages; do pushd koffice-l10n-$i-%version/build || exit 1 %makeinstall popd # work-around for bnc#457908 mkdir -p $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/$i/common done for i in %build_languages; do filename=$i case $i in sr@Latn) filename=srLatn ;; esac { echo "%defattr(-,root,root)" if test -d $RPM_BUILD_ROOT/usr/share/locale/$i; then echo "%lang($i) /usr/share/locale/$i/LC_MESSAGES/*" fi if test -f $RPM_BUILD_ROOT/usr/share/kde4/apps/koffice/autocorrect/$i.xml; then echo "%dir /usr/share/kde4/apps/koffice" echo "%dir /usr/share/kde4/apps/koffice/autocorrect" echo "%lang($i) /usr/share/kde4/apps/koffice/autocorrect/$i.xml" fi } > files.$filename { echo "%defattr(-,root,root)" if test -d $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/$i; then echo "%lang($i) %doc /usr/share/doc/kde/HTML/$i" fi } > files.doc.$filename cat files.$filename files.doc.$filename >files.both.$filename done %fdupes -s $RPM_BUILD_ROOT #@FILES@ %changelog -n koffice2-l10n
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