File exempi.spec of Package exempi

#
# spec file for package exempi (Version 2.0.2)
#
# 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

BuildRequires:  boost-devel >= 1.33.0
BuildRequires:  gcc-c++
BuildRequires:  libexpat-devel

Name:           exempi
Url:            http://libopenraw.freedesktop.org/wiki/Exempi
Version:        2.0.2
Release:        2
Summary:        XMP support library
License:        BSD 3-Clause
Group:          Development/Libraries/C and C++
Source0:        http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libexempi3 = %{version}-%{release}

%description
XMP parsing and IO library



Authors:
--------
    Hubert Figuiere <hub@figuiere.net>
    Adobe Systems Incorporated (XMP SDK)
    Ian Jacobi
    Jason Kivlighn

%package -n libexempi3
License:        BSD 3-Clause
Summary:        XMP support library
Group:          Development/Libraries/C and C++

%description -n libexempi3
XMP parsing and IO library



Authors:
--------
    Hubert Figuiere <hub@figuiere.net>
    Adobe Systems Incorporated (XMP SDK)
    Ian Jacobi
    Jason Kivlighn

%package -n libexempi-devel
License:        BSD 3-Clause
Summary:        XMP support library
Requires:       libexempi3 = %{version} libexpat-devel
Group:          Development/Libraries/C and C++

%description -n libexempi-devel
XMP parsing and IO library



Authors:
--------
    Hubert Figuiere <hub@figuiere.net>
    Adobe Systems Incorporated (XMP SDK)
    Ian Jacobi
    Jason Kivlighn

%prep
%setup -q

%build
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
%__make %{?jobs:-j%jobs}    

%install
%makeinstall

%post -n libexempi3 -p /sbin/ldconfig

%postun -n libexempi3 -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files -n libexempi3
%defattr(-,root,root)
%doc README COPYING ChangeLog
%{_libdir}/lib*.so.*

%files -n libexempi-devel
%defattr(-,root,root)
%doc README COPYING ChangeLog
%{_libdir}/lib*.so
%{_libdir}/lib*.*a
%{_includedir}/exempi-2.0
%{_libdir}/pkgconfig/*.pc

%changelog
* Wed Oct 22 2008 maw@suse.de
- Make debug packages require a specific %%{version}-%%{release}.
* Wed Aug 13 2008 hfiguiere@suse.de
- New upstream version 2.0.2
  + Fix bug fdo#16598: TLS detection.
  + Better error management
  + Bugs fdo#14612 and fdo#14613
* Wed Aug 06 2008 mauro@suse.de
-Update to 2.0.1
  + bgo#14612: no stdbool.h for Sun compilers.
  + bgo#14613: check for iconv() const-ness.
  + Make the error checking more robust.
  + Make error code thread-safe (ie local to the thread).
* Fri Aug 01 2008 ro@suse.de
- fix requires for debuginfo package
* Wed Apr 02 2008 vuntz@suse.de
- New upstream version 2.0.0:
  + Bug fdo#14614, Bug fdo#15263: endian detection in configure.
  + Bug fdo#14615: missing includes for Solaris.
* Fri Mar 14 2008 hfiguiere@suse.de
- New upstream version 1.99.9
  + Typo fix in API
  + Buffer overflow fix in GIF handler (bgo #484105)
* Fri Jan 18 2008 jpr@suse.de
- Initial checkin
openSUSE Build Service is sponsored by