SHA256
1
0
forked from pool/marble

Accepting request 80123 from KDE:Distro:Factory

split the shared library libmarblewidget off in a separate package. This would reduce the requirements for digikam and kipi-plugins on the live-cd as requested by coolo. Part 1 of 3

OBS-URL: https://build.opensuse.org/request/show/80123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/marble?expand=0&rev=5
This commit is contained in:
Sascha Peilicke 2011-08-30 08:17:10 +00:00 committed by Git OBS Bridge
parent 77362a8162
commit 7b70aaa6dc
2 changed files with 25 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 29 18:20:41 UTC 2011 - tittiatcoke@gmail.com
- Split out the shared library libmarblewidget.
-------------------------------------------------------------------
Mon Aug 1 14:15:36 UTC 2011 - idonmez@novell.com

View File

@ -32,6 +32,7 @@ BuildRequires: libkdeedu4-devel
BuildRequires: perl
Requires: libkeduvocdocument4
Requires: marble-data = %{version}
Requires: libmarblewidget12 = %{version}
Suggests: libkeduvocdocument4
Provides: kde4-marble = 4.3.0
Obsoletes: kde4-marble < 4.3.0
@ -63,7 +64,7 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
License: LGPLv2.1+
Summary: A generic map viewer: Build Environment
Group: Amusements/Teaching/Other
Requires: marble
Requires: marble = %{version}
Provides: kde4-marble-devel = 4.3.0
Obsoletes: kde4-marble-devel < 4.3.0
@ -78,9 +79,23 @@ Summary: Generic map viewer data
Provides: kde4-marble-data = 4.3.0
Obsoletes: kde4-marble-data < 4.3.0
%package -n libmarblewidget12
License: LGPLv2.1+
Group: Amusements/Teaching/Other
Summary: A generic map viewer: Shared Library
Recommends: %{name} = %{version}
%description -n libmarblewidget12
The shared library for the MarbleWidget shared library.
%description data
Marble is a viewer of map data. This package contains its data.
%post -n libmarblewidget12 -p /sbin/ldconfig
%postun -n libmarblewidget12 -p /sbin/ldconfig
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@ -96,6 +111,10 @@ Marble is a viewer of map data. This package contains its data.
%dir %{_datadir}/kde4/apps/marble
%_kde_share_dir/apps/marble/data
%files -n libmarblewidget12
%defattr(-,root,root)
%_libdir/libmarblewidget.so.*
%files
%defattr(-,root,root)
%exclude %_kde_share_dir/apps/marble/data
@ -106,7 +125,6 @@ Marble is a viewer of map data. This package contains its data.
%_kde4_modulesdir/libmarble_part.so
%_kde4_modulesdir/plasma_applet_worldclock.so
%_kde4_modulesdir/plugins/designer/*
%_kde4_libdir/libmarblewidget.so.*
%_kde4_appsdir/marble/
%_kde4_modulesdir/plugins/marble/
%_kde4_applicationsdir/marble.desktop