File libkdcraw3.spec of Package libkdcraw3

#
# spec file for package libkdcraw3 (Version 0.1.4)
#
# Copyright (c) 2008 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/
#

# norootforbuild


Name:           libkdcraw3
Url:            http://www.digikam.org/
BuildRequires:  kdelibs3-devel
License:        GPL v2 or later
Group:          Development/Libraries/KDE
Summary:        Shared library interface around dcraw
Version:        0.1.4
Release:        49
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        libkdcraw-%{version}.tar.bz2

%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.



Authors:
--------
    Caulier Gilles <caulier dot gilles at gmail dot com>
    Marcel Wiesweg <marcel dot wiesweg at gmx dot de>

%package -n libkdcraw3-devel
License:        LGPL v2.1 or later
Summary:        Shared library interface around dcraw
Group:          Development/Libraries/KDE
Requires:       %name = %version
Requires:       kdelibs3-devel

%description -n libkdcraw3-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.



Authors:
--------
    Caulier Gilles <caulier dot gilles at gmail dot com>
    Marcel Wiesweg <marcel dot wiesweg at gmx dot de>

%lang_package
%prep
%setup -q -n libkdcraw-%{version}
. /etc/opt/kde3/common_options
update_admin

%build
. /etc/opt/kde3/common_options
./configure $configkde
make

%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
%find_lang libkdcraw

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files -n libkdcraw3-devel
%defattr(-,root,root)
%doc COPYING AUTHORS ChangeLog README 
%dir /opt/kde3/%_lib/pkgconfig
/opt/kde3/%_lib/pkgconfig/libkdcraw.pc
/opt/kde3/include/libkdcraw
/opt/kde3/%_lib/libkdcraw.so
/opt/kde3/%_lib/libkdcraw.la
%if %suse_version > 1020

%files lang -f libkdcraw.lang

%files
%else

%files -f libkdcraw.lang
%endif
%defattr(-,root,root)
/opt/kde3/%_lib/libkdcraw.so.*
/opt/kde3/%_lib/libkdcraw3
/opt/kde3/share/icons/hicolor/*x*/apps/kdcraw.png

%changelog
* Wed Nov 05 2008 dmueller@suse.de
- rename libkdcraw-devel to libkdcraw3-devel
* Tue May 06 2008 dmueller@suse.de
- update to 0.1.4:
  - updated dcraw to 8.83
  new cameras: Apple QuickTake 200, Fuji IS-1, Sony DSLR-A350, Pentax K20D,
  Nokia N95, Canon PowerShots A460, Canon PowerShots A530,
  Canon PowerShots A650.
  Sony DSLR-A200, Sony DSLR-A700, Sony XCD-SX910CR, STV680 VGA
  no new options introduced.
* Sun Dec 30 2007 coolo@suse.de
- update to version 0.1.3
  Updated dcraw to 8.80
  New cameras: Hasselblad H3D, Olympus E-3, Canon EOS 40D,
  Canon PowerShot G9, Canon EOS-1Ds Mark III, AVT F-080C,
  Nikon D3, Nikon D300, Nikon Coolpix S6, Panasonic DMC-FZ18,
  Sony DSLR-A700
  Updated dcraw to 8.81
  New cameras: Canon G7, Fuji FinePix S9100/S9600,
  Olympus SP560UZ, Panasonic DMC-L10
* Mon Oct 29 2007 dmueller@suse.de
- rename package after so version bump in last checkin
* Sun Oct 21 2007 coolo@suse.de
- update to version 0.1.2:
  * updated internal dcraw from 8.60 to 8.77. API changed
  * add new chromatic aberration reduction options
* Mon Aug 06 2007 dmueller@suse.de
- fix package name
* Mon Jun 18 2007 stbinner@suse.de
- update to version 0.1.1:
  * KDcraw destructor is now virtual.
  * Added DcrawSettingsContainer destructor.
  * Separate embedded JPEG preview extraction and half decoding
  methods to get a preview of RAW pictures.
* Thu Apr 19 2007 dmueller@suse.de
- Initial package (0.0.0svn655772)
openSUSE Build Service is sponsored by