2008-04-09 04:41:35 +02:00
|
|
|
#
|
2009-05-25 00:50:57 +02:00
|
|
|
# spec file for package libopenraw (Version 0.0.8)
|
2008-04-09 04:41:35 +02:00
|
|
|
#
|
2009-01-12 02:03:41 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-04-09 04:41:35 +02:00
|
|
|
#
|
2008-10-23 01:16:55 +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-04-09 04:41:35 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Url: http://libopenraw.freedesktop.org/
|
|
|
|
Summary: A library to decode digtal camera RAW files
|
|
|
|
|
|
|
|
Name: libopenraw
|
2009-05-25 00:50:57 +02:00
|
|
|
Version: 0.0.8
|
|
|
|
Release: 1
|
|
|
|
License: LGPL v3 or later
|
2008-04-09 04:41:35 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Source0: http://libopenraw.freedesktop.org/download/%name-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-10-23 01:16:55 +02:00
|
|
|
%define debug_package_requires libopenraw1 = %{version}-%{release}
|
2008-04-09 04:41:35 +02:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: boost-devel >= 1.33.1
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: libxml2-devel >= 2.5.0
|
|
|
|
|
|
|
|
%description
|
|
|
|
libopenraw is a library that aim at decoding digital camera RAW files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Hubert Figuiere <hub AT figuiere DOT net>
|
|
|
|
Bradly Broom
|
|
|
|
|
|
|
|
%package -n libopenraw1
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Summary: A library to decode digtal camera RAW files
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description -n libopenraw1
|
|
|
|
libopenraw is a library that aim at decoding digital camera RAW files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Hubert Figuiere <hub AT figuiere DOT net>
|
|
|
|
Bradly Broom
|
|
|
|
|
|
|
|
%package -n libopenraw-devel
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Summary: A library to decode digtal camera RAW files
|
2009-05-25 00:50:57 +02:00
|
|
|
Requires: libopenraw1 = %{version}
|
|
|
|
#include gdk-pixbuf/gdk-pixbuf.h
|
|
|
|
Requires: gtk2-devel
|
2008-04-09 04:41:35 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description -n libopenraw-devel
|
|
|
|
libopenraw is a library that aim at decoding digital camera RAW files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Hubert Figuiere <hub AT figuiere DOT net>
|
|
|
|
Bradly Broom
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2009-05-25 00:50:57 +02:00
|
|
|
%configure --disable-static --with-pic
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2008-04-09 04:41:35 +02:00
|
|
|
|
|
|
|
%install
|
2009-05-25 00:50:57 +02:00
|
|
|
%makeinstall
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2008-04-09 04:41:35 +02:00
|
|
|
|
2009-05-25 00:50:57 +02:00
|
|
|
%post -n libopenraw1 -p /sbin/ldconfig
|
2008-04-09 04:41:35 +02:00
|
|
|
|
2009-05-25 00:50:57 +02:00
|
|
|
%postun -n libopenraw1 -p /sbin/ldconfig
|
2008-04-09 04:41:35 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files -n libopenraw1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README TODO COPYING ChangeLog
|
|
|
|
%{_libdir}/*.so.*
|
2009-05-25 00:50:57 +02:00
|
|
|
%{_libdir}/gtk-2.0/*/*/*.so
|
2008-04-09 04:41:35 +02:00
|
|
|
|
|
|
|
%files -n libopenraw-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%dir %{_includedir}/libopenraw-1.0
|
|
|
|
%{_includedir}/libopenraw-1.0/*
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|
2009-05-25 00:50:57 +02:00
|
|
|
* Fri May 22 2009 vuntz@novell.com
|
|
|
|
- Update to version 0.0.8:
|
|
|
|
+ includes missing for gcc 4.4
|
|
|
|
- Changes from version 0.0.7:
|
|
|
|
+ fix some warnings in the test and demo programs.
|
|
|
|
+ fix a huge memory leak (fdo#21435)
|
|
|
|
- Changes from version 0.0.6:
|
|
|
|
+ LICENSE change to LGPLv3+
|
|
|
|
+ BUG: cfa output should write the data in PGM as big endian.
|
|
|
|
+ BUG: added missing includes breaking on gcc 4.3 and other
|
|
|
|
platforms. (Closes bug fdo#18243).
|
|
|
|
+ BUG: better handling of Canon CR2 "slices" to fix crasher
|
|
|
|
with Canon 450D/Digital Rebel XSi files (and possibly others).
|
|
|
|
+ NEW: API or_rawfile_new_from_memory() to load a Raw file from
|
|
|
|
a memory buffer.
|
|
|
|
+ NEW: API or_rawfile_get_typeid() and the associated consts.
|
|
|
|
+ NEW: API or_rawdata_get_minmax()
|
|
|
|
+ NEW: API or_get_file_extensions()
|
|
|
|
+ NEW: API or_rawfile_get_rendered_image() to get a rendered
|
|
|
|
image.
|
|
|
|
+ NEW: API or_bitmapdata_*()
|
|
|
|
+ NEW: GdkPixbuf loader.
|
|
|
|
+ NEW: Decompress NEF files.
|
|
|
|
+ NEW: Python bindings.
|
|
|
|
+ NEW: testsuite can be overridden with an override file.
|
|
|
|
+ NEW: testsuite can be bootstrapped to download its files off
|
|
|
|
the internet.
|
|
|
|
+ NEW: add shave to the build system for saner output.
|
|
|
|
+ TODO: apply the coefficients.
|
|
|
|
- Drop libopenraw-gcc44.patch: fixed upstream.
|
|
|
|
- Use makeinstall.
|
|
|
|
- Package new GdkPixbuf loader.
|
2009-02-26 12:56:28 +01:00
|
|
|
* Wed Feb 25 2009 coolo@suse.de
|
|
|
|
- update to compile against gcc 4.4
|
2009-01-12 02:03:41 +01:00
|
|
|
* Mon Jan 05 2009 crrodriguez@suse.de
|
|
|
|
- exclude static libraries
|
|
|
|
- fix -devel package dependencies
|
2008-11-23 09:07:30 +01:00
|
|
|
* Fri Nov 21 2008 hfiguiere@suse.de
|
|
|
|
- Disable make check in the mean time until the boost issue is
|
|
|
|
solved.
|
2008-10-23 01:16:55 +02:00
|
|
|
* Wed Oct 22 2008 mrueckert@suse.de
|
|
|
|
- fix debug_packages_requires define
|
2008-08-02 00:02:17 +02:00
|
|
|
* Fri Aug 01 2008 ro@suse.de
|
|
|
|
- fix requires for debuginfo package
|
2009-01-12 02:03:41 +01:00
|
|
|
* Thu Apr 03 2008 hfiguiere@suse.de
|
2008-04-09 04:41:35 +02:00
|
|
|
- Initial checkin
|