Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
libraw
libraw.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libraw.spec of Package libraw
# # spec file for package libraw # # Copyright (c) 2013 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 tar_name LibRaw Name: libraw %define lname libraw5 Version: 0.14.7 Release: 0 Summary: Library for reading RAW files obtained from digital photo cameras License: CDDL-1.0 or LGPL-2.1 Group: System/Libraries Url: http://www.libraw.org/ #Git-Clone: git://github.com/LibRaw/LibRaw Source: http://www.libraw.org/data/%{tar_name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM libraw-gcc47.patch dimstar@opensuse.org -- Fix build with gcc 4.7. Patch0: libraw-gcc47.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libjasper-devel BuildRequires: libjpeg-devel BuildRequires: liblcms2-devel BuildRequires: pkg-config 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. %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. %package -n %lname Summary: Library for reading RAW files obtained from digital photo cameras Group: System/Libraries %description -n %lname 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 Summary: Development files for %{name} Group: Development/Libraries/Other Requires: %lname = %version %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 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 %setup -q -n %{tar_name}-%{version} %patch0 -p1 %build CXXFLAGS="%{optflags} -fPIC" \ %configure # build env is too broken for parallel build make %{?_smp_mflags} %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 chmod -x manual/index.html # The Libraries make install DESTDIR="%buildroot" rm -f "%buildroot/%_libdir"/*.la # duplicated files rm -rf %{buildroot}%{_datadir}/doc %fdupes %buildroot/%_prefix %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %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 %{_bindir}/multirender_test %{_bindir}/postprocessing_benchmark %files devel %defattr(-,root,root,-) %doc Changelog.txt COPYRIGHT LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf %doc manual %{_includedir}/%{name}/ %{_libdir}/pkgconfig/libraw.pc %{_libdir}/pkgconfig/libraw_r.pc %{_libdir}/libraw.so %{_libdir}/libraw_r.so %files -n %lname %defattr(-,root,root,-) %{_libdir}/libraw.so.5* %{_libdir}/libraw_r.so.5* %files devel-static %defattr(-,root,root,-) %{_libdir}/libraw.a %{_libdir}/libraw_r.a %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor