File libkipi.spec of Package libkipi
#
# spec file for package libkipi
#
# 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: libkipi
BuildRequires: OpenEXR-devel fribidi-devel libkde4-devel net-snmp-devel
BuildRequires: chmlib-devel libexiv2-devel libgphoto2-devel libqimageblitz-devel oxygen-icon-theme-large
BuildRequires: libdjvulibre-devel texlive texlive-devel texlive-latex
BuildRequires: libspectre-devel
BuildRequires: libepub-devel libpoppler-qt4-devel libqca2-devel libsoprano-devel soprano-backend-redland
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ ; MIT License (or similar)
Group: Development/Libraries/KDE
Summary: KDE Image Plugin Interface
Url: http://www.kde.org
Version: 4.7.2
Release: 1
Source0: %{name}-%version.tar.bz2
Patch0: 4_6_BRANCH.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
This package provides a generic KDE Image Plug-in Interface used by
some KDE image applications. Plug-ins for this interface are in the
kipi-plugins package.
%prep
%setup -q -n %{name}-%version
%patch0
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%makeinstall
%kde_post_install
%clean
rm -rf $RPM_BUILD_ROOT
%package -n libkipi8
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ ; MIT License (or similar)
Group: Development/Libraries/KDE
Summary: KDE Image Plug-In Interface
%requires_ge libqt4-x11
%description -n libkipi8
This package provides a generic KDE image plug-in interface used by
some KDE image applications. Plug-ins for this interface are in the
kipi-plugins package.
%files -n libkipi8
%defattr(-,root,root)
%_kde4_appsdir/kipi/
%_kde4_libdir/libkipi.so.*
%_datadir/icons/hicolor/*/apps/kipi.png
%_kde4_servicetypes/kipiplugin.desktop
%post -n libkipi8 -p /sbin/ldconfig
%postun -n libkipi8 -p /sbin/ldconfig
%package devel
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ ; MIT License (or similar)
Group: Development/Libraries/KDE
Summary: KDE Image Plugin Interface
Provides: libkipi6-devel = %version
Obsoletes: libkipi6-devel <= 4.1.87
Requires: libkipi8 = %version
Requires: libkde4-devel
%description devel
This package provides a generic KDE Image Plug-in Interface used by
some KDE image applications. Plug-ins for this interface are in the
kipi-plugins package.
%files devel
%defattr(-,root,root)
%doc COPYING README
%_kde4_libdir/libkipi.so
/usr/include/libkipi/
%_kde4_libdir/pkgconfig/libkipi.pc
%changelog