File libkdeedu4.spec of Package libkdeedu4
#
# spec file for package libkdeedu4
#
# 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/
#
Name: libkdeedu4
Version: 15.08.1
Release: 0
Summary: Library for KDE Education Applications
License: GPL-2.0+
Group: System/GUI/KDE
Url: http://edu.kde.org
Source0: libkdeedu-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: libkde4-devel
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains the library which is required by the KDE education
applications.
%prep
%setup -q -n libkdeedu-%{version}
%build
%ifarch ppc ppc64
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%endif
%cmake_kde4 -d build
%make_jobs
%install
%kde4_makeinstall -C build
%kde_post_install
%fdupes -s %{buildroot}
%package -n libkeduvocdocument4
Summary: Library for KDE Education Applications
Group: System/GUI/KDE
Requires: kdeedu-data = %{version}
Obsoletes: %{name} < %{version}
Obsoletes: kdeedu4 <= 4.6.80
Provides: %{name} = %{version}
Provides: kdeedu4 = %{version}
%description -n libkeduvocdocument4
This package contains the library which is required by the KDE education
applications.
%post -n libkeduvocdocument4 -p /sbin/ldconfig
%postun -n libkeduvocdocument4 -p /sbin/ldconfig
%files -n libkeduvocdocument4
%defattr(-,root,root)
%doc README
%{_kde4_libdir}/libkeduvocdocument.so.*
%package devel
Summary: Library for KDE Education Applications: Build Environment
Group: Development/Libraries/KDE
Requires: libkde4-devel
Requires: libkeduvocdocument4 = %{version}
%description devel
This package contains all necessary files and libraries needed to
develop KDE education applications.
%files devel
%defattr(-,root,root)
%doc README
%{_kde4_includedir}/libkdeedu/
%{_kde4_libdir}/cmake/libkdeedu/
%{_kde4_libdir}/libkeduvocdocument.so
%{_kde4_libdir}/libqtmmlwidget.a
%changelog