LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libkdcraw.spec of Package libkdcraw (Project KDE:Unstable:SC)

#
# spec file for package libkdcraw
#
# Copyright (c) 2012 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:           libkdcraw
Version:        4.9.40_20121027
Release:        0
Summary:        Shared library interface around dcraw
License:        LGPL-2.1+
Group:          Development/Libraries/KDE
Url:            http://www.kde.org
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  OpenEXR-devel
BuildRequires:  chmlib-devel
BuildRequires:  fribidi-devel
BuildRequires:  libdjvulibre-devel
BuildRequires:  libepub-devel
BuildRequires:  libexiv2-devel
BuildRequires:  libgphoto2-devel
BuildRequires:  libkde4-devel
BuildRequires:  libpoppler-qt4-devel
BuildRequires:  libqca2-devel
BuildRequires:  libqimageblitz-devel
BuildRequires:  libraw-devel
BuildRequires:  libsoprano-devel
BuildRequires:  libspectre-devel
BuildRequires:  net-snmp-devel
BuildRequires:  oxygen-icon-theme-large
BuildRequires:  soprano-backend-redland
BuildRequires:  texlive
BuildRequires:  texlive-devel
BuildRequires:  texlive-latex
BuildRequires:  xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires

%description
Libkdcraw is a C++ interface around dcraw binary program used to decode
RAW picture files.  The library documentation is available on header
files.

This library is used by kipi-plugins, digiKam and others kipi host
programs.

%prep
%setup -q -n %{name}-%{version}

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
%make_install
  %kde_post_install

%clean
  rm -rf %{buildroot}

%package -n libkdcraw22
Summary:        Shared library interface around dcraw
Group:          Development/Libraries/KDE
%requires_ge  libqt4-x11

%description -n libkdcraw22
Libkdcraw is a C++ interface around dcraw binary program used to decode
RAW picture files.  The library documentation is available on header
files.

This library is used by kipi-plugins, digiKam and others kipi host
programs.

%files -n libkdcraw22
%defattr(-,root,root)
%_kde4_appsdir/libkdcraw/
%_kde4_libdir/libkdcraw.so.*
%{_datadir}/icons/hicolor/*/apps/kdcraw.png

%post -n libkdcraw22 -p /sbin/ldconfig

%postun -n libkdcraw22 -p /sbin/ldconfig

%package devel
Summary:        Shared library interface around dcraw
Group:          Development/Libraries/KDE
Requires:       libkdcraw22 = %{version}
Requires:       libkde4-devel

%description devel
Libkdcraw is a C++ interface around dcraw binary program used to decode
RAW picture files.  The library documentation is available on header
files.

This library is used by kipi-plugins, digiKam and others kipi host
programs.

%files devel
%defattr(-,root,root)
%doc COPYING README
%{_includedir}/libkdcraw/
%_kde4_libdir/libkdcraw.so
%_kde4_libdir/pkgconfig/libkdcraw.pc

%changelog