2010-09-03 16:24:55 +02:00
|
|
|
#
|
2011-03-14 16:51:53 +01:00
|
|
|
# spec file for package libraw
|
2010-09-03 16:24:55 +02:00
|
|
|
#
|
- updated to 0.16.0:
* removed 0001-build-fix-return-of-random-data.patch (upstreamed)
* Support for new cameras:
Baumer TXG14
Blackmagic Cinema
Canon EOS 70D, C500, S120, G16
Fujifilm X-M1, X-A1, XE2, XQ1
Hasselblad Lunar, Stellar
Leica C, X VARIO
Nikon D5200, P7800, D5300, D610, Df, 1 AW1
Nokia Lumia 1020, 1520
Olympus E-P5,E-M1, STYLUS1
OmniVision OV5647 (Raspberry Pi)
Panasonic LF1, GX7, GF6, GM1
Pentax K-50, K-500, Q7,K-3
Richon GR
Samsung NX300, NX1100, NX2000, Galaxy NX (EK-GN120)
OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=67
2014-01-30 14:55:49 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-09-03 16:24: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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-08-10 13:17:01 +02:00
|
|
|
%define tar_name LibRaw
|
2010-09-03 16:24:55 +02:00
|
|
|
|
|
|
|
Name: libraw
|
- updated to 0.16.0:
* removed 0001-build-fix-return-of-random-data.patch (upstreamed)
* Support for new cameras:
Baumer TXG14
Blackmagic Cinema
Canon EOS 70D, C500, S120, G16
Fujifilm X-M1, X-A1, XE2, XQ1
Hasselblad Lunar, Stellar
Leica C, X VARIO
Nikon D5200, P7800, D5300, D610, Df, 1 AW1
Nokia Lumia 1020, 1520
Olympus E-P5,E-M1, STYLUS1
OmniVision OV5647 (Raspberry Pi)
Panasonic LF1, GX7, GF6, GM1
Pentax K-50, K-500, Q7,K-3
Richon GR
Samsung NX300, NX1100, NX2000, Galaxy NX (EK-GN120)
OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=67
2014-01-30 14:55:49 +01:00
|
|
|
%define lnum 10
|
|
|
|
Version: 0.16.0
|
2012-03-15 17:38:33 +01:00
|
|
|
Release: 0
|
2010-09-03 16:24:55 +02:00
|
|
|
Summary: Library for reading RAW files obtained from digital photo cameras
|
2012-03-15 17:38:33 +01:00
|
|
|
License: CDDL-1.0 or LGPL-2.1
|
2013-06-11 15:52:33 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2012-03-15 17:38:33 +01:00
|
|
|
Url: http://www.libraw.org/
|
2013-01-10 22:51:04 +01:00
|
|
|
|
2013-06-11 15:52:33 +02:00
|
|
|
#Freecode-URL: http://freecode.com/projects/libraw
|
2013-01-10 22:51:04 +01:00
|
|
|
#Git-Clone: git://github.com/LibRaw/LibRaw
|
2011-08-24 13:53:34 +02:00
|
|
|
Source: http://www.libraw.org/data/%{tar_name}-%{version}.tar.gz
|
2013-01-10 22:51:04 +01:00
|
|
|
BuildRequires: fdupes
|
2010-09-03 16:24:55 +02:00
|
|
|
BuildRequires: gcc-c++
|
2012-07-11 18:21:03 +02:00
|
|
|
BuildRequires: libjasper-devel
|
2011-08-10 13:17:01 +02:00
|
|
|
BuildRequires: libjpeg-devel
|
2011-01-07 15:16:57 +01:00
|
|
|
BuildRequires: liblcms2-devel
|
2010-12-13 16:29:09 +01:00
|
|
|
BuildRequires: pkg-config
|
2010-09-03 16:24:55 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
2010-11-16 15:24:23 +01:00
|
|
|
%package tools
|
|
|
|
Summary: Library for reading RAW files obtained from digital photo cameras -- Tools
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
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.
|
|
|
|
|
- updated to 0.16.0:
* removed 0001-build-fix-return-of-random-data.patch (upstreamed)
* Support for new cameras:
Baumer TXG14
Blackmagic Cinema
Canon EOS 70D, C500, S120, G16
Fujifilm X-M1, X-A1, XE2, XQ1
Hasselblad Lunar, Stellar
Leica C, X VARIO
Nikon D5200, P7800, D5300, D610, Df, 1 AW1
Nokia Lumia 1020, 1520
Olympus E-P5,E-M1, STYLUS1
OmniVision OV5647 (Raspberry Pi)
Panasonic LF1, GX7, GF6, GM1
Pentax K-50, K-500, Q7,K-3
Richon GR
Samsung NX300, NX1100, NX2000, Galaxy NX (EK-GN120)
OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=67
2014-01-30 14:55:49 +01:00
|
|
|
%package -n libraw%{lnum}
|
2011-03-14 09:57:30 +01:00
|
|
|
Summary: Library for reading RAW files obtained from digital photo cameras
|
|
|
|
Group: System/Libraries
|
|
|
|
|
- updated to 0.16.0:
* removed 0001-build-fix-return-of-random-data.patch (upstreamed)
* Support for new cameras:
Baumer TXG14
Blackmagic Cinema
Canon EOS 70D, C500, S120, G16
Fujifilm X-M1, X-A1, XE2, XQ1
Hasselblad Lunar, Stellar
Leica C, X VARIO
Nikon D5200, P7800, D5300, D610, Df, 1 AW1
Nokia Lumia 1020, 1520
Olympus E-P5,E-M1, STYLUS1
OmniVision OV5647 (Raspberry Pi)
Panasonic LF1, GX7, GF6, GM1
Pentax K-50, K-500, Q7,K-3
Richon GR
Samsung NX300, NX1100, NX2000, Galaxy NX (EK-GN120)
OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=67
2014-01-30 14:55:49 +01:00
|
|
|
%description -n libraw%{lnum}
|
2011-03-14 09:57:30 +01:00
|
|
|
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.
|
|
|
|
|
2010-09-03 16:24:55 +02:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
2013-06-11 15:52:33 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
- updated to 0.16.0:
* removed 0001-build-fix-return-of-random-data.patch (upstreamed)
* Support for new cameras:
Baumer TXG14
Blackmagic Cinema
Canon EOS 70D, C500, S120, G16
Fujifilm X-M1, X-A1, XE2, XQ1
Hasselblad Lunar, Stellar
Leica C, X VARIO
Nikon D5200, P7800, D5300, D610, Df, 1 AW1
Nokia Lumia 1020, 1520
Olympus E-P5,E-M1, STYLUS1
OmniVision OV5647 (Raspberry Pi)
Panasonic LF1, GX7, GF6, GM1
Pentax K-50, K-500, Q7,K-3
Richon GR
Samsung NX300, NX1100, NX2000, Galaxy NX (EK-GN120)
OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=67
2014-01-30 14:55:49 +01:00
|
|
|
Requires: libraw%{lnum} = %{version}
|
2010-09-03 16:24:55 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
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-static
|
|
|
|
Summary: Library for reading RAW files obtained from digital photo cameras
|
2013-06-11 15:52:33 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2010-09-03 16:24:55 +02:00
|
|
|
Requires: %{name}-devel = %{version}
|
|
|
|
|
|
|
|
%description devel-static
|
|
|
|
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.
|
|
|
|
|
|
|
|
This package contains static libraries that applications can use to build
|
|
|
|
against LibRaw. LibRaw does not provide dynamic libraries.
|
|
|
|
|
|
|
|
%prep
|
2011-08-10 13:17:01 +02:00
|
|
|
%setup -q -n %{tar_name}-%{version}
|
2010-12-13 00:30:34 +01:00
|
|
|
|
2010-09-03 16:24:55 +02:00
|
|
|
%build
|
2011-08-10 13:17:01 +02:00
|
|
|
CXXFLAGS="%{optflags} -fPIC" \
|
2010-12-13 00:23:38 +01:00
|
|
|
%configure
|
2011-01-07 15:16:57 +01:00
|
|
|
# build env is too broken for parallel build
|
2012-07-11 18:21:03 +02:00
|
|
|
make %{?_smp_mflags}
|
2010-09-03 16:24:55 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
mv doc manual
|
|
|
|
# The source tree has these with execute permissions for some reason
|
2011-08-10 13:17:01 +02:00
|
|
|
chmod -x Changelog.txt LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
|
|
|
|
chmod -x manual/index.html
|
2010-09-03 16:24:55 +02:00
|
|
|
# The Libraries
|
2013-01-10 22:51:04 +01:00
|
|
|
make install DESTDIR="%buildroot"
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
2011-01-07 23:01:23 +01:00
|
|
|
# duplicated files
|
2011-08-10 13:17:01 +02:00
|
|
|
rm -rf %{buildroot}%{_datadir}/doc
|
2013-01-10 22:51:04 +01:00
|
|
|
%fdupes %buildroot/%_prefix
|
2010-12-14 11:38:11 +01:00
|
|
|
|
- updated to 0.16.0:
* removed 0001-build-fix-return-of-random-data.patch (upstreamed)
* Support for new cameras:
Baumer TXG14
Blackmagic Cinema
Canon EOS 70D, C500, S120, G16
Fujifilm X-M1, X-A1, XE2, XQ1
Hasselblad Lunar, Stellar
Leica C, X VARIO
Nikon D5200, P7800, D5300, D610, Df, 1 AW1
Nokia Lumia 1020, 1520
Olympus E-P5,E-M1, STYLUS1
OmniVision OV5647 (Raspberry Pi)
Panasonic LF1, GX7, GF6, GM1
Pentax K-50, K-500, Q7,K-3
Richon GR
Samsung NX300, NX1100, NX2000, Galaxy NX (EK-GN120)
OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=67
2014-01-30 14:55:49 +01:00
|
|
|
%post -n libraw%{lnum} -p /sbin/ldconfig
|
2011-03-14 09:57:30 +01:00
|
|
|
|
- updated to 0.16.0:
* removed 0001-build-fix-return-of-random-data.patch (upstreamed)
* Support for new cameras:
Baumer TXG14
Blackmagic Cinema
Canon EOS 70D, C500, S120, G16
Fujifilm X-M1, X-A1, XE2, XQ1
Hasselblad Lunar, Stellar
Leica C, X VARIO
Nikon D5200, P7800, D5300, D610, Df, 1 AW1
Nokia Lumia 1020, 1520
Olympus E-P5,E-M1, STYLUS1
OmniVision OV5647 (Raspberry Pi)
Panasonic LF1, GX7, GF6, GM1
Pentax K-50, K-500, Q7,K-3
Richon GR
Samsung NX300, NX1100, NX2000, Galaxy NX (EK-GN120)
OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=67
2014-01-30 14:55:49 +01:00
|
|
|
%postun -n libraw%{lnum} -p /sbin/ldconfig
|
2010-09-03 16:24:55 +02:00
|
|
|
|
2010-11-16 15:24:23 +01:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/4channels
|
|
|
|
%{_bindir}/dcraw_emu
|
|
|
|
%{_bindir}/dcraw_half
|
|
|
|
%{_bindir}/half_mt
|
|
|
|
%{_bindir}/mem_image
|
|
|
|
%{_bindir}/raw-identify
|
|
|
|
%{_bindir}/simple_dcraw
|
|
|
|
%{_bindir}/unprocessed_raw
|
2012-07-11 18:21:03 +02:00
|
|
|
%{_bindir}/multirender_test
|
|
|
|
%{_bindir}/postprocessing_benchmark
|
2010-12-13 15:11:12 +01:00
|
|
|
|
2010-09-03 16:24:55 +02:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changelog.txt COPYRIGHT LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
|
|
|
|
%doc manual
|
|
|
|
%{_includedir}/%{name}/
|
2010-12-13 00:37:50 +01:00
|
|
|
%{_libdir}/pkgconfig/libraw.pc
|
|
|
|
%{_libdir}/pkgconfig/libraw_r.pc
|
2011-03-14 09:57:30 +01:00
|
|
|
%{_libdir}/libraw.so
|
|
|
|
%{_libdir}/libraw_r.so
|
|
|
|
|
- updated to 0.16.0:
* removed 0001-build-fix-return-of-random-data.patch (upstreamed)
* Support for new cameras:
Baumer TXG14
Blackmagic Cinema
Canon EOS 70D, C500, S120, G16
Fujifilm X-M1, X-A1, XE2, XQ1
Hasselblad Lunar, Stellar
Leica C, X VARIO
Nikon D5200, P7800, D5300, D610, Df, 1 AW1
Nokia Lumia 1020, 1520
Olympus E-P5,E-M1, STYLUS1
OmniVision OV5647 (Raspberry Pi)
Panasonic LF1, GX7, GF6, GM1
Pentax K-50, K-500, Q7,K-3
Richon GR
Samsung NX300, NX1100, NX2000, Galaxy NX (EK-GN120)
OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=67
2014-01-30 14:55:49 +01:00
|
|
|
%files -n libraw%{lnum}
|
2011-03-14 09:57:30 +01:00
|
|
|
%defattr(-,root,root,-)
|
- updated to 0.16.0:
* removed 0001-build-fix-return-of-random-data.patch (upstreamed)
* Support for new cameras:
Baumer TXG14
Blackmagic Cinema
Canon EOS 70D, C500, S120, G16
Fujifilm X-M1, X-A1, XE2, XQ1
Hasselblad Lunar, Stellar
Leica C, X VARIO
Nikon D5200, P7800, D5300, D610, Df, 1 AW1
Nokia Lumia 1020, 1520
Olympus E-P5,E-M1, STYLUS1
OmniVision OV5647 (Raspberry Pi)
Panasonic LF1, GX7, GF6, GM1
Pentax K-50, K-500, Q7,K-3
Richon GR
Samsung NX300, NX1100, NX2000, Galaxy NX (EK-GN120)
OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=67
2014-01-30 14:55:49 +01:00
|
|
|
%{_libdir}/libraw.so.%{lnum}*
|
|
|
|
%{_libdir}/libraw_r.so.%{lnum}*
|
2010-09-03 16:24:55 +02:00
|
|
|
|
|
|
|
%files devel-static
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libraw.a
|
|
|
|
%{_libdir}/libraw_r.a
|
|
|
|
|
|
|
|
%changelog
|