2010-09-03 16:24:55 +02:00
|
|
|
#
|
2010-11-20 12:24:11 +01:00
|
|
|
# spec file for package libraw (Version 0.11.2)
|
2010-09-03 16:24:55 +02:00
|
|
|
#
|
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define fake_name LibRaw
|
|
|
|
|
|
|
|
Name: libraw
|
2010-12-13 00:23:38 +01:00
|
|
|
Version: 0.12.0
|
2010-12-13 00:30:34 +01:00
|
|
|
Release: 0
|
2010-09-03 16:24:55 +02:00
|
|
|
License: CDDLv1.0 | LGPLv2.1
|
|
|
|
Summary: Library for reading RAW files obtained from digital photo cameras
|
|
|
|
Url: http://www.libraw.org/
|
|
|
|
Group: System/Libraries
|
2010-11-16 15:24:23 +01:00
|
|
|
Source0: http://www.libraw.org/data/%{fake_name}-%{version}.tar.bz2
|
2010-09-03 16:24:55 +02:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: make
|
2010-12-13 00:23:38 +01:00
|
|
|
BuildRequires: liblcms-devel libjpeg-devel
|
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
|
|
|
|
License: CDDLv1.0 | LGPLv2.1
|
|
|
|
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.
|
|
|
|
|
2010-09-03 16:24:55 +02:00
|
|
|
%package devel
|
|
|
|
License: CDDLv1.0 | LGPLv2.1
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries/Other
|
|
|
|
|
|
|
|
%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
|
|
|
|
License: CDDLv1.0 | LGPLv2.1
|
|
|
|
Summary: Library for reading RAW files obtained from digital photo cameras
|
|
|
|
Group: Development/Libraries/Other
|
|
|
|
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
|
2010-09-20 16:02:20 +02:00
|
|
|
%setup -q -n %{fake_name}-%{version}
|
2010-12-13 00:30:34 +01:00
|
|
|
|
2010-09-03 16:24:55 +02:00
|
|
|
|
|
|
|
%build
|
2010-12-13 00:30:34 +01:00
|
|
|
|
2010-12-13 00:23:38 +01:00
|
|
|
|
|
|
|
%configure
|
|
|
|
|
|
|
|
|
2010-12-13 00:30:34 +01:00
|
|
|
###%__make %{?_smp_mflags}
|
|
|
|
%__make
|
2010-09-03 16:24:55 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
mv doc manual
|
|
|
|
# The source tree has these with execute permissions for some reason
|
|
|
|
%{__chmod} -x Changelog.txt LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
|
|
|
|
# The Libraries
|
|
|
|
%makeinstall LIBDIR=%{_lib}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%__rm -rf %{buildroot}
|
|
|
|
|
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
|
|
|
|
|
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}/
|
|
|
|
|
|
|
|
%files devel-static
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libraw.a
|
|
|
|
%{_libdir}/libraw_r.a
|
|
|
|
|
|
|
|
%changelog
|