File kdebindings-smokeqt.spec of Package kdebindings-smokeqt
#
# spec file for package kdebindings-smokeqt
#
# Copyright (c) 2014 SUSE LINUX Products 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: kdebindings-smokeqt
Version: 4.14.3
Release: 0
Summary: SMOKE-Qt library for kdebindings
License: LGPL-2.1+
Group: Development/Libraries/KDE
Url: https://projects.kde.org/projects/kde/kdebindings/smoke/smokeqt
Source0: smokeqt-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: kde4-filesystem
BuildRequires: libQtWebKit-devel
BuildRequires: libqimageblitz-devel
BuildRequires: libqscintilla-devel
BuildRequires: libsmokegen-devel
BuildRequires: phonon-devel
BuildRequires: qwt-devel
BuildRequires: sqlite-devel
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
SMOKE bindings for the Qt libraries. Used by language bindings.
%package -n libsmokeqt
Summary: SMOKE-Qt library for kdebindings
Group: Development/Libraries/KDE
%description -n libsmokeqt
SMOKE bindings for the Qt libraries. Used by language bindings.
%package -n libsmokeqt-devel
Summary: Development files for libsmokeqt
Group: Development/Libraries/KDE
Requires: libsmokeqt = %{version}
%description -n libsmokeqt-devel
SMOKE bindings for the Qt libraries. Used by language bindings.
This package provides files needed to build programs against
libsmokeqt.
%prep
%setup -q -n smokeqt-%{version}
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%kde4_makeinstall
%post -n libsmokeqt -p /sbin/ldconfig
%postun -n libsmokeqt -p /sbin/ldconfig
%files -n libsmokeqt
%defattr(-,root,root)
%_kde4_libdir/libsmoke*.so.*
%files -n libsmokeqt-devel
%defattr(-,root,root)
%_kde4_libdir/libsmoke*.so
%{_includedir}/smoke/
%{_datadir}/smokegen/
%{_datadir}/smoke/
%changelog