From 56541708908c5f8a12d1b1e78c8e3da9d736d6b0373d52bb70b7c71d4c38367d Mon Sep 17 00:00:00 2001 From: Raymond Wooninck Date: Mon, 21 Dec 2015 08:34:33 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/marble?expand=0&rev=78 --- libmarblewidget.spec | 117 ------------------------------------------- 1 file changed, 117 deletions(-) delete mode 100644 libmarblewidget.spec diff --git a/libmarblewidget.spec b/libmarblewidget.spec deleted file mode 100644 index e2b5144..0000000 --- a/libmarblewidget.spec +++ /dev/null @@ -1,117 +0,0 @@ -# -# spec file for package libmarblewidget -# -# Copyright (c) 2015 SUSE LINUX 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/ -# - -%define _so 22 - -Name: libmarblewidget -Version: 15.12.0 -Release: 0 -Summary: Generic map viewer library for libkgeomapr -License: LGPL-2.1+ -Group: Amusements/Teaching/Other -Url: http://edu.kde.org -Source0: marble-%{version}.tar.xz -BuildRequires: fdupes -BuildRequires: gpsd-devel -BuildRequires: perl -BuildRequires: libkde4-devel -BuildRequires: quazip-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%description -The shared library for the MarbleWidget shared library. - -%package devel -Summary: Generic map viewer: Build Environment -Group: Development/Libraries/KDE -Requires: libmarblewidget%{_so} = %{version} -Requires: libastro1 = %{version} -Conflicts: marble-devel - -%description devel -Development headers and libraries for Marble. - -%package -n libmarblewidget%{_so} -Summary: Generic map viewer: Shared Library -Group: Development/Libraries/KDE - -%description -n libmarblewidget%{_so} -The shared library for the MarbleWidget shared library. - -%package -n libastro1 -Summary: Astronomy: Shared Library -Group: Development/Libraries/KDE - -%description -n libastro1 -The Astronomy shared library for the MarbleWidget shared library. - -%prep -%setup -q -n marble-%{version} - -%build -%ifarch ppc ppc64 -export RPM_OPT_FLAGS="%{optflags} -mminimal-toc" -%endif -%cmake_kde4 -d build -- -DQT5BUILD=OFF -pushd src/lib/marble -make -popd -pushd src/lib/astro -make - - -%install - pushd build/src/lib/marble - %kde4_makeinstall - popd - pushd build/src/lib/astro - %kde4_makeinstall - popd - mkdir -p %{buildroot}%{_kde4_appsdir}/cmake/modules - cp build/FindMarble.cmake %{buildroot}%{_kde4_appsdir}/cmake/modules/ - %fdupes -s %{buildroot} - -%post -n libmarblewidget%{_so} -p /sbin/ldconfig - -%postun -n libmarblewidget%{_so} -p /sbin/ldconfig - - -%post -n libastro1 -p /sbin/ldconfig - -%postun -n libastro1 -p /sbin/ldconfig - -%files devel -%defattr(-,root,root) -%doc BUGS CODING -%{_includedir}/marble/ -%{_includedir}/astro/ -%{_libdir}/libmarblewidget.so -%{_libdir}/libastro.so -%{_kde4_appsdir}/cmake/modules/FindMarble.cmake - -%files -n libmarblewidget%{_so} -%defattr(-,root,root) -%doc CREDITS ChangeLog COPYING* LICENSE* MANIFESTO.txt -%{_libdir}/libmarblewidget.so.* - -%files -n libastro1 -%defattr(-,root,root) -%doc CREDITS ChangeLog COPYING* LICENSE* MANIFESTO.txt -%{_libdir}/libastro.so.* - - -%changelog