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/
#
# norootforbuild
Name: kde-susetranslations
BuildRequires: kdelibs3-devel libkde4-devel
License: GPLv2+
Group: System/GUI/KDE
Summary: SUSE KDE Translations
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 11.4
Release: 4.<RELEASE3>
Source0: kde-susetranslations.tar.bz2
Source1: COPYING
Source2: fill_po.sh
Source3: update_rpm
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
%makeinstall
cd ..
%find_lang susetranslations susetranslations.lang
rm $RPM_BUILD_ROOT/usr/share/locale/*/LC_MESSAGES/simple-ccsm-kde.mo
install -D -m644 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/doc/packages/kde-susetranslations/COPYING
%files -f susetranslations.lang
%defattr(-,root,root)
/usr/share/doc/packages/kde-susetranslations
%changelog