File libkexiv2-3.spec of Package libkexiv2-3

#
# spec file for package libkexiv2-3 (Version 0.1.7)
#
# 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:           libkexiv2-3
Url:            http://www.kipi-plugins.org/
BuildRequires:  kdelibs3-devel libexiv2-devel
License:        GPL v2 or later
Group:          Development/Libraries/KDE
Summary:        Library to manipulate picture meta data
Version:        0.1.7
Release:        49
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        libkexiv2-%{version}.tar.bz2

%description
Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures
metadata.



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

%package -n libkexiv2-3-devel
License:        GPL v2 or later
Summary:        Library to manipulate picture meta data
Group:          Development/Libraries/KDE
Requires:       %name = %version
Requires:       libexiv2-devel kdelibs3-devel

%description -n libkexiv2-3-devel
Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures
metadata.



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

%prep
%setup -q -n libkexiv2-%{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

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files -n libkexiv2-3-devel
%defattr(-,root,root)
%doc COPYING AUTHORS ChangeLog README 
%dir /opt/kde3/%_lib/pkgconfig
/opt/kde3/%_lib/pkgconfig/libkexiv2.pc
/opt/kde3/include/libkexiv2
/opt/kde3/%_lib/libkexiv2.so
/opt/kde3/%_lib/libkexiv2.la

%files
%defattr(-,root,root)
/opt/kde3/%_lib/libkexiv2.so.*

%changelog
* Wed Nov 05 2008 dmueller@suse.de
- rename libkexiv2-devel to libkexiv2-3-devel
* Tue May 06 2008 dmueller@suse.de
- update to 0.1.7:
  API changes: Added a version method to get runtime library version.
  kde#157552: negative altitudes are not shown in metadata GPS sidebar
* Sun Dec 30 2007 coolo@suse.de
- update to 0.1.6
  * rename package to libkexiv2-3 after soname change
  * API Changed : Kexiv2 destructor is now virtual
* Mon Sep 03 2007 dmueller@suse.de
- backport important crash fixes
* Mon Jun 18 2007 stbinner@suse.de
- update to 0.1.5:
  * added 4 new static methods to get Exif/Iptc tags description/title.
  moved depreceate protected methods used by digiKam core to private.
  * bug fixes
* Thu Apr 19 2007 dmueller@suse.de
- split into -devel subpackage
* Sat Apr 14 2007 dmueller@suse.de
- update to 0.1.2:
  * support for libexiv2 0.14
  * various bugfixes
* Tue Mar 06 2007 stbinner@suse.de
- initial package of version 0.1.1
openSUSE Build Service is sponsored by