Accepting request 64037 from home:coolo:branches:openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/64037
OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=38
This commit is contained in:
Adrian Schröter 2011-03-14 08:57:30 +00:00 committed by Git OBS Bridge
parent c10342cae9
commit 82e1c341aa
4 changed files with 58 additions and 13 deletions

View File

@ -1,14 +1,13 @@
<?xml version="1.0" ?>
<services>
<service name="download_url">
<param name="protocol">http</param>
<param name="host">www.libraw.org</param>
<param name="path">/data/LibRaw-0.12.2.tar.gz</param>
<param name="path">/data/LibRaw-0.13.2.tar.gz</param>
</service>
<service name="verify_file">
<param name="file">_service:download_url:LibRaw-0.12.2.tar.gz</param>
<param name="file">_service:download_url:LibRaw-0.13.2.tar.gz</param>
<param name="verifier">sha256</param>
<param name="checksum">b7f99d794282067cb1e6b174510032df57e25933f3508a1ef75b8be3d238fc7a</param>
<param name="checksum">8977a0a147fd811f62012bcf792611e6f5a160ac31ed1e86ad5731c69bb4f95a</param>
</service>
<service name="recompress">
<param name="compression">bz2</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d1f2305d63a5a8f056a1226ede2a114c515e20d5a78b5f6185c41ac18fc5427
size 645041

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Sun Mar 13 12:50:34 UTC 2011 - coolo@novell.com
- update to 0.13.2
* This version contains several big changes, improvements and bug fixes:
New low-level buffering code for Huffman decompression. Canon CR2
files are opened about 1.5x times faster than on LibRaw 0.12, other
huffman-comressed files unpacks in 1.2-1.3 times faster.
Exposure correction code based on linear-cubic root combination.
Correction range is from 0.25 (-2 stops) to 8 (+3 stops)
All 0.12.x features, including new cameras support and half-size/green-matching fixes.
Changes and additions in demosaic-packs:
Banding suppression code.
High-frequency noise suppression.
Green channels local averaging to suppress maze artifacts.
OpenMP speed-up in median filters and green equilibration.
Bug fixes and improvements:
Better parsing of unknown command-line params in dcraw_emu sample
Brigtness table in ahd_demosaic is calculated in reversed order to prevent
possible (very unlikely) multithreaded app problem.
Fixed file extension in half_mt.c sample.
Fixed incomplete data fields reset in LibRaw::recycle()
Patches for ./configure system for better LCMS2 support
- now provides shared library
-------------------------------------------------------------------
Fri Jan 7 19:53:50 UTC 2011 - andreas.hanke@gmx-topmail.de

View File

@ -1,5 +1,5 @@
#
# spec file for package libraw (Version 0.12.0)
# spec file for package libraw (Version 0.12.2)
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -19,14 +19,13 @@
%define fake_name LibRaw
Name: libraw
Version: 0.12.2
Release: 2
Version: 0.13.2
Release: 1
License: CDDLv1.0 | LGPLv2.1
Summary: Library for reading RAW files obtained from digital photo cameras
Url: http://www.libraw.org/
Group: System/Libraries
Source0: http://www.libraw.org/data/%{fake_name}-%{version}.tar.bz2
Patch0: %{name}-lcms2-build.patch
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: liblcms2-devel
@ -53,10 +52,23 @@ cameras (CRW/CR2, NEF, RAF, DNG, and others).
LibRaw is based on the source codes of the dcraw utility, where part of
drawbacks have already been eliminated and part will be fixed in future.
%package -n libraw2
License: CDDLv1.0 | LGPLv2.1
Summary: Library for reading RAW files obtained from digital photo cameras
Group: System/Libraries
%description -n libraw2
LibRaw is a library for reading RAW files obtained from digital photo
cameras (CRW/CR2, NEF, RAF, DNG, and others).
LibRaw is based on the source codes of the dcraw utility, where part of
drawbacks have already been eliminated and part will be fixed in future.
%package devel
License: CDDLv1.0 | LGPLv2.1
Summary: Development files for %{name}
Group: Development/Libraries/Other
Requires: libraw2 = %{version}
%description devel
LibRaw is a library for reading RAW files obtained from digital photo
@ -83,8 +95,7 @@ against LibRaw. LibRaw does not provide dynamic libraries.
%prep
%setup -q -n %{fake_name}-%{version}
%patch0
autoreconf -fi
#autoreconf -fi
%build
CXXFLAGS="$RPM_OPT_FLAGS -fPIC" \
@ -101,6 +112,9 @@ mv doc manual
# duplicated files
%__rm -rf %{buildroot}%{_datadir}/doc
%post -n libraw2 -p /sbin/ldconfig
%postun -n libraw2 -p /sbin/ldconfig
%clean
%__rm -rf %{buildroot}
@ -122,6 +136,15 @@ mv doc manual
%{_includedir}/%{name}/
%{_libdir}/pkgconfig/libraw.pc
%{_libdir}/pkgconfig/libraw_r.pc
%{_libdir}/libraw.so
%{_libdir}/libraw_r.so
%{_libdir}/libraw.la
%{_libdir}/libraw_r.la
%files -n libraw2
%defattr(-,root,root,-)
%_libdir/libraw.so.*
%_libdir/libraw_r.so.*
%files devel-static
%defattr(-,root,root,-)