1 Summary: LibRaw is a library for reading RAW files
5 License: LGPL 2.1 / CDDL 1.0 / LibRaw Software License
7 Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz
8 # Source0-md5: 8b622d82c927d8975c22ee4316584ebd
9 URL: http://www.libraw.org
10 BuildRequires: libstdc++-devel
11 BuildRequires: libgomp-devel
12 BuildRequires: jasper-devel
13 BuildRequires: libjpeg-devel
14 BuildRequires: lcms2-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 LibRaw is a library for reading RAW files obtained from digital photo
19 cameras (CRW/CR2, NEF, RAF, DNG, and others).
21 LibRaw is based on the source codes of the dcraw utility, where part
22 of drawbacks have already been eliminated and part will be fixed in
23 future. The users of the library are provided with API to be built
24 into their software programs.
27 Summary: libraw sample programs
31 LibRaw sample programs.
34 Summary: Header files for LibRaw
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
39 Static libraries and header files for LibRaw.
42 Summary: Static libraw library
43 Group: Development/Libraries
44 Requires: %{name}-devel = %{version}-%{release}
47 Static libraw library.
50 %setup -q -n LibRaw-%{version}
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT
63 rm -r $RPM_BUILD_ROOT/%{_docdir}/%{name}
66 rm -rf $RPM_BUILD_ROOT
68 %post -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
72 %defattr(644,root,root,755)
73 %doc README* COPYRIGHT
74 %ghost %attr(755,root,root) %{_libdir}/libraw.so.5
75 %attr(755,root,root) %{_libdir}/libraw.so.5.*
76 %ghost %attr(755,root,root) %{_libdir}/libraw_r.so.5
77 %attr(755,root,root) %{_libdir}/libraw_r.so.5.*
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_bindir}/*
84 %defattr(644,root,root,755)
87 %{_pkgconfigdir}/libraw.pc
88 %{_pkgconfigdir}/libraw_r.pc
90 %{_libdir}/libraw_r.la
92 %{_libdir}/libraw_r.so
95 %defattr(644,root,root,755)