2008-01-23 04:34:35 +01:00
|
|
|
#
|
2009-02-06 22:44:14 +01:00
|
|
|
# spec file for package exempi (Version 2.1.0)
|
2008-01-23 04:34:35 +01:00
|
|
|
#
|
2009-01-12 01:50:52 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-01-23 04:34:35 +01:00
|
|
|
#
|
2008-08-14 02:20:03 +02:00
|
|
|
# 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.
|
|
|
|
|
2008-01-23 04:34:35 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-14 17:35:43 +01:00
|
|
|
|
2008-01-23 04:34:35 +01:00
|
|
|
Name: exempi
|
2008-08-14 02:20:03 +02:00
|
|
|
Url: http://libopenraw.freedesktop.org/wiki/Exempi
|
2009-02-06 22:44:14 +01:00
|
|
|
Version: 2.1.0
|
2009-05-04 18:09:33 +02:00
|
|
|
Release: 2
|
2009-02-06 22:44:14 +01:00
|
|
|
BuildRequires: boost-devel >= 1.33.0
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: zlib-devel
|
2008-01-23 04:34:35 +01:00
|
|
|
Summary: XMP support library
|
|
|
|
License: BSD 3-Clause
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
|
2009-02-06 22:44:14 +01:00
|
|
|
# PATCH-FIX-UPSTREAM
|
|
|
|
Patch0: exempi-rpmlint.diff
|
2009-05-04 18:09:33 +02:00
|
|
|
# PATCH-FIX-UPSTREAM exempi-gcc44.patch vuntz@novell.com -- Taken from git
|
|
|
|
Patch1: exempi-gcc44.patch
|
2008-01-23 04:34:35 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-02-06 22:44:14 +01:00
|
|
|
%define debug_package_requires libexempi3 = %{version}
|
2008-01-23 04:34:35 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
XMP parsing and IO library
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Hubert Figuiere <hub@figuiere.net>
|
|
|
|
Adobe Systems Incorporated (XMP SDK)
|
|
|
|
Ian Jacobi
|
|
|
|
Jason Kivlighn
|
|
|
|
|
|
|
|
%package -n libexempi3
|
2008-04-02 22:43:46 +02:00
|
|
|
License: BSD 3-Clause
|
2008-01-23 04:34:35 +01:00
|
|
|
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
|
2008-04-02 22:43:46 +02:00
|
|
|
License: BSD 3-Clause
|
2008-01-23 04:34:35 +01:00
|
|
|
Summary: XMP support library
|
2009-01-12 01:50:52 +01:00
|
|
|
Requires: libexempi3 = %{version} glibc-devel
|
2008-01-23 04:34:35 +01:00
|
|
|
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
|
2009-02-06 22:44:14 +01:00
|
|
|
%patch0 -p1
|
2009-05-04 18:09:33 +02:00
|
|
|
%patch1 -p1
|
2008-01-23 04:34:35 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
2009-02-06 22:44:14 +01:00
|
|
|
%configure --disable-static
|
2008-01-23 04:34:35 +01:00
|
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2009-01-12 01:50:52 +01:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2008-01-23 04:34:35 +01:00
|
|
|
|
|
|
|
%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
|
2009-05-04 18:09:33 +02:00
|
|
|
* Tue Apr 28 2009 vuntz@novell.com
|
|
|
|
- Add exempi-gcc44.patch to fix build with gcc 4.4.
|
|
|
|
- Remove AutoReqProv: it's default now.
|
2009-01-12 01:50:52 +01:00
|
|
|
* Fri Jan 09 2009 crrodriguez@suse.de
|
|
|
|
- remove static libraries and "la" files
|
|
|
|
- correct -devel package deps
|
2009-02-06 22:44:14 +01:00
|
|
|
* 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
|
2008-10-23 00:56:04 +02:00
|
|
|
* Wed Oct 22 2008 maw@suse.de
|
|
|
|
- Make debug packages require a specific %%{version}-%%{release}.
|
2008-08-21 22:58:02 +02:00
|
|
|
* 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
|
2008-08-14 02:20:03 +02:00
|
|
|
* 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).
|
2008-08-02 03:27:32 +02:00
|
|
|
* Fri Aug 01 2008 ro@suse.de
|
|
|
|
- fix requires for debuginfo package
|
2008-04-02 22:43:46 +02:00
|
|
|
* 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.
|
2008-03-14 17:35:43 +01:00
|
|
|
* 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)
|
2008-01-23 04:34:35 +01:00
|
|
|
* Fri Jan 18 2008 jpr@suse.de
|
|
|
|
- Initial checkin
|