2011-07-27 12:58:42 +02:00
|
|
|
#
|
2011-07-27 12:58:51 +02:00
|
|
|
# spec file for package marble
|
2011-07-27 12:58:42 +02:00
|
|
|
#
|
2012-01-30 12:27:04 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-07-27 12:58:42 +02:00
|
|
|
#
|
|
|
|
# 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: marble
|
2012-01-30 12:27:04 +01:00
|
|
|
Version: 4.8.0
|
2011-12-08 12:12:57 +01:00
|
|
|
Release: 0
|
2011-09-19 21:41:22 +02:00
|
|
|
Summary: Generic map viewer
|
2011-12-08 12:12:57 +01:00
|
|
|
License: LGPL-2.1+
|
2011-08-02 08:57:37 +02:00
|
|
|
Group: Amusements/Teaching/Other
|
2011-12-08 12:12:57 +01:00
|
|
|
Url: http://edu.kde.org
|
2011-08-02 08:57:37 +02:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2011-07-27 12:58:42 +02:00
|
|
|
Patch1: marble-designer-plugin.diff
|
2012-02-14 11:24:57 +01:00
|
|
|
Patch2: 79c39f45.patch
|
|
|
|
Patch3: b89ff577.patch
|
2011-08-02 08:57:37 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: kdebase4-workspace-devel
|
|
|
|
BuildRequires: libkdeedu4-devel
|
|
|
|
BuildRequires: perl
|
2011-09-19 21:41:22 +02:00
|
|
|
Requires: %{name}-data = %{version}
|
2011-07-27 12:58:42 +02:00
|
|
|
Requires: libkeduvocdocument4
|
2012-01-30 12:27:04 +01:00
|
|
|
Requires: libmarblewidget13 = %{version}
|
2011-09-19 21:41:22 +02:00
|
|
|
Suggests: %{name}-doc = %{version}
|
2011-07-27 12:58:42 +02:00
|
|
|
Suggests: libkeduvocdocument4
|
|
|
|
Provides: kde4-marble = 4.3.0
|
|
|
|
Obsoletes: kde4-marble < 4.3.0
|
2011-08-02 08:57:37 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%kde4_runtime_requires
|
2011-07-27 12:58:42 +02:00
|
|
|
|
|
|
|
%description
|
2011-09-19 21:41:22 +02:00
|
|
|
Marble is a viewer of map data.
|
2011-07-27 12:58:42 +02:00
|
|
|
|
|
|
|
%prep
|
2011-09-19 21:41:22 +02:00
|
|
|
%setup -q
|
2011-07-27 12:58:42 +02:00
|
|
|
%patch1 -p1
|
2012-02-14 11:24:57 +01:00
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
2011-07-27 12:58:42 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%ifarch ppc ppc64
|
2011-08-02 08:57:37 +02:00
|
|
|
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
2011-07-27 12:58:42 +02:00
|
|
|
%endif
|
|
|
|
%cmake_kde4 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
cd build
|
2011-09-19 21:41:22 +02:00
|
|
|
%make_install
|
2011-07-27 12:58:42 +02:00
|
|
|
%suse_update_desktop_file %{name} Education Geography
|
|
|
|
%kde_post_install
|
2011-08-02 08:57:37 +02:00
|
|
|
%fdupes -s %{buildroot}
|
2011-07-27 12:58:42 +02:00
|
|
|
|
2011-09-19 21:41:22 +02:00
|
|
|
%package data
|
|
|
|
Summary: Generic map viewer: data
|
2011-08-02 08:57:37 +02:00
|
|
|
Group: Amusements/Teaching/Other
|
2011-09-19 21:41:22 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Provides: kde4-marble-data = 4.3.0
|
|
|
|
Obsoletes: kde4-marble-data < 4.3.0
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description data
|
|
|
|
Marble is a viewer of map data. This package contains its data.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Generic map viewer: Build Environment
|
|
|
|
Group: Development/Libraries/KDE
|
2011-08-30 10:17:10 +02:00
|
|
|
Requires: marble = %{version}
|
2011-07-27 12:58:42 +02:00
|
|
|
Provides: kde4-marble-devel = 4.3.0
|
|
|
|
Obsoletes: kde4-marble-devel < 4.3.0
|
|
|
|
|
|
|
|
%description devel
|
2011-08-02 08:57:37 +02:00
|
|
|
Development headers and libraries for Marble.
|
2011-07-27 12:58:42 +02:00
|
|
|
|
2011-09-19 21:41:22 +02:00
|
|
|
%package doc
|
|
|
|
Summary: Marble documentation
|
2011-08-02 08:57:37 +02:00
|
|
|
Group: Amusements/Teaching/Other
|
2011-09-19 21:41:22 +02:00
|
|
|
Requires: %{name} = %{version}
|
2011-08-02 08:57:37 +02:00
|
|
|
Provides: kde4-marble-data = 4.3.0
|
|
|
|
Obsoletes: kde4-marble-data < 4.3.0
|
2011-09-19 21:41:22 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Marble is a viewer of map data. This package contains its documentation.
|
2011-08-02 08:57:46 +02:00
|
|
|
|
2012-01-30 12:27:04 +01:00
|
|
|
%package -n libmarblewidget13
|
2011-09-19 21:41:22 +02:00
|
|
|
Summary: Generic map viewer: Shared Library
|
|
|
|
Group: Development/Libraries/KDE
|
2011-08-30 10:17:10 +02:00
|
|
|
Recommends: %{name} = %{version}
|
|
|
|
|
2012-01-30 12:27:04 +01:00
|
|
|
%description -n libmarblewidget13
|
2011-08-30 10:17:10 +02:00
|
|
|
The shared library for the MarbleWidget shared library.
|
|
|
|
|
2011-09-19 21:41:22 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2011-10-06 16:43:20 +02:00
|
|
|
|
2011-09-19 21:41:22 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2011-08-30 10:17:10 +02:00
|
|
|
|
2012-01-30 12:27:04 +01:00
|
|
|
%post -n libmarblewidget13 -p /sbin/ldconfig
|
2011-10-06 16:43:20 +02:00
|
|
|
|
2012-01-30 12:27:04 +01:00
|
|
|
%postun -n libmarblewidget13 -p /sbin/ldconfig
|
2011-08-30 10:17:10 +02:00
|
|
|
|
2011-07-27 12:58:42 +02:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2011-08-02 08:57:37 +02:00
|
|
|
%{_includedir}/marble/
|
2011-09-19 21:41:22 +02:00
|
|
|
%{_kde4_libdir}/libmarblewidget.so
|
|
|
|
%{_kde4_appsdir}/cmake/modules/FindMarble.cmake
|
2011-07-27 12:58:42 +02:00
|
|
|
|
2011-08-02 08:57:37 +02:00
|
|
|
%files data
|
|
|
|
%defattr(-,root,root)
|
2011-09-19 21:41:22 +02:00
|
|
|
%{_kde4_appsdir}/marble/data
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_kde4_htmldir}/en/marble/
|
2011-07-27 12:58:42 +02:00
|
|
|
|
2012-01-30 12:27:04 +01:00
|
|
|
%files -n libmarblewidget13
|
2011-08-30 10:17:10 +02:00
|
|
|
%defattr(-,root,root)
|
2011-09-19 21:41:22 +02:00
|
|
|
%{_kde4_libdir}/libmarblewidget.so.*
|
2011-08-30 10:17:10 +02:00
|
|
|
|
2011-07-27 12:58:42 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2011-09-19 21:41:22 +02:00
|
|
|
%exclude %{_kde4_appsdir}/marble/data
|
|
|
|
%{_kde4_appsdir}/marble/
|
|
|
|
%{_kde4_applicationsdir}/marble.desktop
|
|
|
|
%{_kde4_bindir}/marble
|
2012-01-30 12:27:04 +01:00
|
|
|
%{_kde4_bindir}/marble-touch
|
2011-09-19 21:41:22 +02:00
|
|
|
%{_kde4_bindir}/routing-instructions
|
|
|
|
%{_kde4_bindir}/tilecreator
|
|
|
|
%{_kde4_configkcfgdir}/marble.kcfg
|
|
|
|
%{_kde4_iconsdir}/hicolor/*/apps/marble.*
|
|
|
|
%{_kde4_modulesdir}/libmarble_part.so
|
|
|
|
%{_kde4_modulesdir}/plasma_applet_worldclock.so
|
2012-01-30 12:27:04 +01:00
|
|
|
%{_kde4_modulesdir}/plasma_runner_marble.so
|
|
|
|
# fixme: we need to figure out a better way to handle common QML directories like this
|
|
|
|
%dir %{_kde4_modulesdir}/imports/org/kde/edu/
|
|
|
|
%{_kde4_modulesdir}/imports/org/kde/edu/marble/
|
2011-09-19 21:41:22 +02:00
|
|
|
%{_kde4_modulesdir}/plugins/designer/*
|
|
|
|
%{_kde4_modulesdir}/plugins/marble/
|
|
|
|
%{_kde4_servicesdir}/*.desktop
|
2011-07-27 12:58:42 +02:00
|
|
|
|
|
|
|
%changelog
|