1 | Summary: Library for reading RAW files obtained from digital photo cameras |
---|
2 | Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ |
---|
3 | Name: LibRaw |
---|
4 | Version: 0.11.3 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: LGPLv2 or CDDL or LibRaw Software License |
---|
7 | Group: System Environment/Libraries |
---|
8 | URL: http://www.libraw.org |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
10 | |
---|
11 | Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz |
---|
12 | |
---|
13 | # Configuration support. Patch sent upstream |
---|
14 | Patch0: %{name}-0.11.3-configure.patch |
---|
15 | |
---|
16 | %description |
---|
17 | LibRaw is a library for reading RAW files obtained from digital photo |
---|
18 | cameras (CRW/CR2, NEF, RAF, DNG, and others). |
---|
19 | |
---|
20 | LibRaw is based on the source codes of the dcraw utility, where part of |
---|
21 | drawbacks have already been eliminated and part will be fixed in future. |
---|
22 | |
---|
23 | %package devel |
---|
24 | Summary: LibRaw development libraries |
---|
25 | Summary(ja): LibRaw の開発ライブラリ |
---|
26 | Group: Development/Libraries |
---|
27 | License: LGPLv2 or CDDL o LibRaw Software License |
---|
28 | %description devel |
---|
29 | LibRaw development libraries |
---|
30 | |
---|
31 | This package contains static libraries that applications can use to build |
---|
32 | against libraw. LibRaw does not provide dynamic libraries. |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q -n %{name}-%{version} |
---|
36 | |
---|
37 | %patch0 -p1 -b .configure |
---|
38 | #%patch1 -p1 -b .configure-optflags |
---|
39 | #%patch2 -p1 -b .configure-default-cflags |
---|
40 | |
---|
41 | %build |
---|
42 | # This is not the autotools generated configure script |
---|
43 | CFLAGS="%{optflags}" sh configure -P %{_prefix} |
---|
44 | make %{?_smp_mflags} library |
---|
45 | |
---|
46 | %install |
---|
47 | rm -rf %{buildroot} |
---|
48 | cp -pr doc manual |
---|
49 | |
---|
50 | # The source tree has these with execute permissions for some reason |
---|
51 | chmod 644 LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf |
---|
52 | |
---|
53 | # The Libraries |
---|
54 | make install-library DESTDIR=%{buildroot} LIBDIR=%{_lib} |
---|
55 | |
---|
56 | %files devel |
---|
57 | %defattr(-,root,root,-) |
---|
58 | |
---|
59 | %doc LICENSE.CDDL LICENSE.LibRaw.pdf LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus |
---|
60 | %doc manual |
---|
61 | %doc samples |
---|
62 | |
---|
63 | %dir %{_includedir}/libraw |
---|
64 | %{_includedir}/libraw/*.h |
---|
65 | %{_libdir}/libraw.a |
---|
66 | %{_libdir}/libraw_r.a |
---|
67 | |
---|
68 | %changelog |
---|
69 | * Mon Dec 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.3-1 |
---|
70 | - new upstream release |
---|
71 | - added License: LibRaw Software License |
---|
72 | - dropt patch1,2 |
---|
73 | - replaced patch0 by Fedora development patch |
---|
74 | |
---|
75 | * Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1 |
---|
76 | - new upstream release |
---|
77 | |
---|
78 | * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1 |
---|
79 | - initial build for VineSeed |
---|
80 | |
---|
81 | * Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1 |
---|
82 | - New package |
---|