Accepting request 568785 from home:avindra

- updated to 0.18.7:
  * All legacy (RGB raw) image loaders checks for imgdata.image is
    not NULL
  * kodak_radc_load_raw: check image size before processing
  * legacy memory allocator:
    allocate max(widh, raw_width) * max(height, raw_height)
- partial cleanup with spec-cleaner
- other spec fixes:
  * switch to https site
  * remove executable bit from copyright
  * remove outdated comment about build parallelism

OBS-URL: https://build.opensuse.org/request/show/568785
OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=105
This commit is contained in:
Petr Gajdos 2018-01-24 07:59:34 +00:00 committed by Git OBS Bridge
parent 2e65ae6c8b
commit b907e4716c
4 changed files with 28 additions and 21 deletions

View File

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

3
LibRaw-0.18.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:87e347c261a8e87935d9a23afd750d27676b99f540e8552314d40db0ea315771
size 1280935

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Jan 23 23:07:15 UTC 2018 - avindra@opensuse.org
- updated to 0.18.7:
* All legacy (RGB raw) image loaders checks for imgdata.image is
not NULL
* kodak_radc_load_raw: check image size before processing
* legacy memory allocator:
allocate max(widh, raw_width) * max(height, raw_height)
- partial cleanup with spec-cleaner
- other spec fixes:
* switch to https site
* remove executable bit from copyright
* remove outdated comment about build parallelism
-------------------------------------------------------------------
Thu Dec 14 12:11:09 UTC 2017 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libraw
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,28 +17,25 @@
%define tar_name LibRaw
Name: libraw
%define lver 16
%define lname libraw%{lver}
Version: 0.18.6
Name: libraw
Version: 0.18.7
Release: 0
Summary: Library for reading RAW files obtained from digital photo cameras
License: CDDL-1.0 or LGPL-2.1
License: CDDL-1.0 OR LGPL-2.1
Group: Development/Libraries/C and C++
Url: http://www.libraw.org/
Url: https://www.libraw.org/
#Git-Clone: git://github.com/LibRaw/LibRaw
Source: http://www.libraw.org/data/%tar_name-%version.tar.gz
Source: https://www.libraw.org/data/%tar_name-%version.tar.gz
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libjasper-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig
# zlib for deflate DNG support
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
LibRaw is a library for reading RAW files obtained from digital photo
@ -103,18 +100,17 @@ against LibRaw. LibRaw does not provide dynamic libraries.
export CXXFLAGS="%optflags -fPIC -DUSE_ZLIB"
export LIBS="$LIBS -lz"
%configure
# build env is too broken for parallel build
make %{?_smp_mflags}
%install
find doc -type f -name "*.html" -exec chmod a-x "{}" "+"
mv doc manual
# The source tree has these with execute permissions for some reason
chmod -x Changelog.txt LICENSE.CDDL LICENSE.LGPL
chmod -x Changelog.txt LICENSE.CDDL LICENSE.LGPL COPYRIGHT
chmod -x manual/index.html
# The Libraries
make install DESTDIR="%buildroot"
rm -f "%buildroot/%_libdir"/*.la
%make_install
find %buildroot -type f -name "*.la" -delete -print
# duplicated files
rm -rf %buildroot%_datadir/doc
%fdupes %buildroot/%_prefix
@ -123,11 +119,9 @@ rm -rf %buildroot%_datadir/doc
%postun -n %lname -p /sbin/ldconfig
%files tools
%defattr(-,root,root)
%_bindir/*
%files devel
%defattr(-,root,root)
%doc Changelog.txt COPYRIGHT LICENSE.CDDL LICENSE.LGPL
%doc manual
%_includedir/%name/
@ -136,12 +130,10 @@ rm -rf %buildroot%_datadir/doc
%_libdir/libraw_r.so
%files -n %lname
%defattr(-,root,root)
%_libdir/libraw.so.%{lver}*
%_libdir/libraw_r.so.%{lver}*
%files devel-static
%defattr(-,root,root)
%_libdir/libraw.a
%_libdir/libraw_r.a