File perl-kde4.spec of Package perl-kde4
#
# spec file for package perl-kde4 (Version 4.7.2)
#
# Copyright (c) 2011 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: perl-kde4
Version: 4.7.2
Release: 1
License: LGPLv2.1+
Summary: Kdebindings Perl-KDE library
Url: https://projects.kde.org/projects/kde/kdebindings/perl/perlkde
Group: Development/Libraries/KDE
Source0: perlkde-%{version}.tar.bz2
BuildRequires: kate-devel
BuildRequires: libjasper-devel
BuildRequires: libkdepimlibs4-devel
BuildRequires: libqimageblitz-devel
BuildRequires: libsmokegen-devel
BuildRequires: libsmokekde-devel
BuildRequires: libsmokeqt-devel
BuildRequires: okular-devel
BuildRequires: perl
BuildRequires: perl-qt4-devel
BuildRequires: sqlite-devel
Requires: perl-qt4 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1130
%perl_requires
%else
Requires: perl-base
%endif
%kde4_runtime_requires
%description
Perl bindings for libraries created by the KDE community.
%prep
%setup -q -n perlkde-%{version}
%build
EXTRA_FLAGS="-DCUSTOM_PERL_SITE_ARCH_DIR=`perl -MConfig -e 'print $Config{vendorarch}'`"
%cmake_kde4 -d build -- $EXTRA_FLAGS
%make_jobs
%install
cd build
%make_install
%files
%defattr(-,root,root)
%{_kde4_modulesdir}/kperlpluginfactory.so
%{perl_vendorarch}/*.pm
%{perl_vendorarch}/auto/
%changelog