File kde-susetranslations.spec of Package kde-susetranslations

#
# spec file for package kde-susetranslations
#
# Copyright (c) 2011 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/
#



Name:           kde-susetranslations
Version:        12.1
Release:        10
License:        GPL-2.0+
Summary:        SUSE KDE Translations
Url:            http://www.opensuse.org
Group:          System/GUI/KDE
Source0:        kde-susetranslations.tar.bz2
Source1:        COPYING
Source2:        fill_po.sh
Source3:        update_rpm
BuildRequires:  kdelibs3-devel
BuildRequires:  libkde4-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This package contains SUSE-specific translations of KDE3 libraries and
applications.

%prep
%setup -q -n kde-susetranslations

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %make_install
  cd ..
  %find_lang susetranslations susetranslations.lang
  rm %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/simple-ccsm-kde.mo
  install -D -m644 %{SOURCE1} %{buildroot}%{_datadir}/doc/packages/kde-susetranslations/COPYING

%files -f susetranslations.lang
%defattr(-,root,root)
/opt/kde3/share/locale/*
%{_datadir}/doc/packages/kde-susetranslations

%changelog
openSUSE Build Service is sponsored by