forked from pool/marble
Accepting request 77586 from KDE:Distro:Factory
Provide marble-data subpackage again as a noarch. OBS-URL: https://build.opensuse.org/request/show/77586 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/marble?expand=0&rev=3
This commit is contained in:
parent
d68d9471a8
commit
398c0cfb2b
@ -1,7 +0,0 @@
|
|||||||
package: kdeedu-4.2.87svn969966.tar.bz2
|
|
||||||
kdemod: kdeedu
|
|
||||||
--- BRANCH_STATUS
|
|
||||||
+++ BRANCH_STATUS
|
|
||||||
@@ -0,0 +1,2 @@
|
|
||||||
+current HEAD: 970680
|
|
||||||
+svn di between //trunk/KDE/kdeedu@969966 and //trunk/KDE/kdeedu
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 1 14:15:36 UTC 2011 - idonmez@novell.com
|
||||||
|
|
||||||
|
- Provide marble-data subpackage again
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 22 20:28:42 CEST 2011 - dmueller@suse.de
|
Fri Jul 22 20:28:42 CEST 2011 - dmueller@suse.de
|
||||||
|
|
||||||
|
80
marble.spec
80
marble.spec
@ -18,89 +18,87 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: marble
|
Name: marble
|
||||||
BuildRequires: kdebase4-workspace-devel
|
|
||||||
BuildRequires: libkdeedu4-devel
|
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: perl
|
|
||||||
License: LGPLv2.1+
|
|
||||||
Group: Amusements/Teaching/Other
|
|
||||||
Summary: A generic map viewer
|
|
||||||
Url: http://edu.kde.org
|
|
||||||
Version: 4.7.0
|
Version: 4.7.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Source0: %{name}-%version.tar.bz2
|
License: LGPLv2.1+
|
||||||
Patch0: 4_6_BRANCH.diff
|
Summary: A generic map viewer
|
||||||
|
Url: http://edu.kde.org
|
||||||
|
Group: Amusements/Teaching/Other
|
||||||
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Patch1: marble-designer-plugin.diff
|
Patch1: marble-designer-plugin.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: fdupes
|
||||||
%kde4_runtime_requires
|
BuildRequires: kdebase4-workspace-devel
|
||||||
|
BuildRequires: libkdeedu4-devel
|
||||||
|
BuildRequires: perl
|
||||||
Requires: libkeduvocdocument4
|
Requires: libkeduvocdocument4
|
||||||
|
Requires: marble-data = %{version}
|
||||||
Suggests: libkeduvocdocument4
|
Suggests: libkeduvocdocument4
|
||||||
Provides: kde4-marble = 4.3.0
|
Provides: kde4-marble = 4.3.0
|
||||||
Obsoletes: kde4-marble < 4.3.0
|
Obsoletes: kde4-marble < 4.3.0
|
||||||
Provides: marble-data = %{version}
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Obsoletes: marble-data < %{version}
|
%kde4_runtime_requires
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Marble is a viewer of map data
|
Marble is a viewer of map data
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
The KDE Team <kde@kde.org>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%version
|
%setup -q -n %{name}-%{version}
|
||||||
%patch0 -p0
|
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch ppc ppc64
|
%ifarch ppc ppc64
|
||||||
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc"
|
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||||
%endif
|
%endif
|
||||||
%cmake_kde4 -d build
|
%cmake_kde4 -d build
|
||||||
%make_jobs
|
%make_jobs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd build
|
cd build
|
||||||
%makeinstall
|
%make_install
|
||||||
%suse_update_desktop_file %{name} Education Geography
|
%suse_update_desktop_file %{name} Education Geography
|
||||||
%kde_post_install
|
%kde_post_install
|
||||||
%if %suse_version > 1020
|
%fdupes -s %{buildroot}
|
||||||
%fdupes -s $RPM_BUILD_ROOT
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Group: Amusements/Teaching/Other
|
|
||||||
Summary: A generic map viewer: Build Environment
|
Summary: A generic map viewer: Build Environment
|
||||||
|
Group: Amusements/Teaching/Other
|
||||||
Requires: marble
|
Requires: marble
|
||||||
Provides: kde4-marble-devel = 4.3.0
|
Provides: kde4-marble-devel = 4.3.0
|
||||||
Obsoletes: kde4-marble-devel < 4.3.0
|
Obsoletes: kde4-marble-devel < 4.3.0
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Marble is a viewer of map data
|
Development headers and libraries for Marble.
|
||||||
|
|
||||||
|
%package data
|
||||||
|
BuildArch: noarch
|
||||||
|
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 data
|
||||||
Authors:
|
Marble is a viewer of map data. This package contains its data.
|
||||||
--------
|
|
||||||
The KDE Team <kde@kde.org>
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
%defattr(-,root,root)
|
|
||||||
/usr/include/marble/
|
|
||||||
%_kde4_libdir/libmarblewidget.so
|
|
||||||
%_kde4_appsdir/cmake/modules/FindMarble.cmake
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/marble/
|
||||||
|
%_kde4_libdir/libmarblewidget.so
|
||||||
|
%_kde4_appsdir/cmake/modules/FindMarble.cmake
|
||||||
|
|
||||||
|
%files data
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/kde4/apps/marble
|
||||||
|
%_kde_share_dir/apps/marble/data
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%exclude %_kde_share_dir/apps/marble/data
|
||||||
%_kde4_bindir/geodatatest
|
%_kde4_bindir/geodatatest
|
||||||
%_kde4_bindir/marble
|
%_kde4_bindir/marble
|
||||||
%_kde4_bindir/routing-instructions
|
%_kde4_bindir/routing-instructions
|
||||||
|
Loading…
Reference in New Issue
Block a user