File kdeedu4-noarch.spec of Package kdeedu4.import4997

#
# spec file for package kdeedu4-noarch
#
# 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:           kdeedu4-noarch
BuildRequires:  boost-devel freeglut-devel libeigen2-devel libkde4-devel
BuildRequires:  libopenbabel-devel
%if %suse_version > 1020
BuildRequires:  fdupes
%endif
License:        GPLv2+
Group:          System/GUI/KDE
Summary:        General Data for KDE Education Applications
Url:            http://edu.kde.org
Version:        4.6.0
Release:        1.<RELEASE2>
Source0:        kdeedu-%version.tar.bz2
Patch0:         4_6_BRANCH.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
BuildArch:      noarch

%description
This package contains data which is required by the KDE education
library.



Authors:
--------
    The KDE Team <kde@kde.org>

%prep
%setup -q -n kdeedu-%version
%patch0 -p0

%build
  %cmake_kde4 -d build
  pushd marble/src/tilecreator
    %make_jobs
  popd

%install
  for d in build/marble/data build/marble/src/tilecreator; do
    pushd $d
    %makeinstall
    popd
  done
  rm $RPM_BUILD_ROOT/usr/share/icons/hicolor/*/apps/marble.*
  pushd build/kstars/kstars/data
  %makeinstall
  popd
  %if %suse_version > 1020
  %fdupes -s $RPM_BUILD_ROOT/usr/share
  %endif
  # some crap from marble
  rm -rf $RPM_BUILD_ROOT/usr/bin

%clean
  rm -rf $RPM_BUILD_ROOT
  rm -rf filelists

%package -n marble-data
License:        LGPLv2.1+
Group:          Amusements/Teaching/Other
Summary:        Generic map viewer data
Provides:       kde4-marble-data = 4.3.0
Obsoletes:      kde4-marble-data < 4.3.0

%description -n marble-data
Marble is a viewer of map data. This package contains its data.



Authors:
--------
    The KDE Team <kde@kde.org>

%files -n marble-data
%defattr(-,root,root)
%doc COPYING COPYING.DOC README
%dir /usr/share/kde4/apps/marble
%_kde_share_dir/apps/marble/data

%package -n kstars-data
License:        GPLv2+
Group:          Productivity/Scientific/Astronomy
Summary:        Desktop Planetarium
Provides:       kde4-kstars-data = 4.3.0
Obsoletes:      kde4-kstars-data < 4.3.0

%description -n kstars-data
KStars is a desktop planetarium for KDE. This package contains its
datafiles.



Authors:
--------
    The KDE Team <kde@kde.org>

%files -n kstars-data
%defattr(-,root,root)
%doc COPYING COPYING.DOC README
/usr/share/kde4/apps/kstars

%files
%defattr(-,root,root)
%doc COPYING COPYING.DOC README

%changelog
openSUSE Build Service is sponsored by