exempi/exempi.spec

167 lines
4.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package exempi (Version 2.1.0)
#
# Copyright (c) 2009 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: exempi
Url: http://libopenraw.freedesktop.org/wiki/Exempi
Version: 2.1.0
Release: 2
BuildRequires: boost-devel >= 1.33.0
BuildRequires: gcc-c++
BuildRequires: libexpat-devel
BuildRequires: zlib-devel
Summary: XMP support library
License: BSD 3-Clause
Group: Development/Libraries/C and C++
Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM
Patch0: exempi-rpmlint.diff
# PATCH-FIX-UPSTREAM exempi-gcc44.patch vuntz@novell.com -- Taken from git
Patch1: exempi-gcc44.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libexempi3 = %{version}
%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} glibc-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
%patch0 -p1
%patch1 -p1
%build
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure --disable-static
%__make %{?jobs:-j%jobs}
%install
%makeinstall
%{__rm} -f %{buildroot}%{_libdir}/*.la
%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
%{_includedir}/exempi-2.0
%{_libdir}/pkgconfig/*.pc
%changelog
* Tue Apr 28 2009 vuntz@novell.com
- Add exempi-gcc44.patch to fix build with gcc 4.4.
- Remove AutoReqProv: it's default now.
* Fri Jan 09 2009 crrodriguez@suse.de
- remove static libraries and "la" files
- correct -devel package deps
* Wed Dec 24 2008 hfiguiere@suse.de
- New upstream version 2.1.0
+ Upgrade XMPCore to Adobe XMP 4.4.2
+ New: NS_PDF namespace for PDF.
+ New: API xmp_prefix_namespace_uri() and xmp_namespace_prefix(). fdo#14962.
+ Bug: make sure boost >1.35 does not fail test with system().
+ Bug: unit test now use boost/test/minimal.hpp to work with more boost
install. (known boost.test bug)
+ Bug: fix a typo in a CHECK_PTR call causing warnings on gcc < 4.
+ Bug: no longer define UNIX_ENV in exempi.cpp and let CPPFLAGS do it.
+ Bug fdo#16139: the list of exported symbols was too large.
+ Bug fdo#18635: fix crasher.
- Added patch exempi-rpmlint.diff to make rpmlint happy. fdo#19312
- Added zlib-devel as a dependency
- Remove .la and disable static
* 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