1 | Summary: Library for reading RAW files obtained from digital photo cameras |
---|
2 | Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ |
---|
3 | Name: LibRaw |
---|
4 | Version: 0.13.5 |
---|
5 | Release: 3%{?_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 | BuildRequires: gcc libtool make |
---|
11 | BuildRequires: lcms-devel |
---|
12 | |
---|
13 | Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz |
---|
14 | |
---|
15 | %description |
---|
16 | LibRaw is a library for reading RAW files obtained from digital photo |
---|
17 | cameras (CRW/CR2, NEF, RAF, DNG, and others). |
---|
18 | |
---|
19 | LibRaw is based on the source codes of the dcraw utility, where part of |
---|
20 | drawbacks have already been eliminated and part will be fixed in future. |
---|
21 | |
---|
22 | %package devel |
---|
23 | Summary: LibRaw development libraries |
---|
24 | Summary(ja): LibRaw の開発ライブラリ |
---|
25 | Group: Development/Libraries |
---|
26 | License: LGPLv2 or CDDL o LibRaw Software License |
---|
27 | |
---|
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 | %package static |
---|
35 | Summary: LibRaw static libraries |
---|
36 | Summary(ja): LibRaw の静的ライブラリ |
---|
37 | Group: Development/Libraries |
---|
38 | License: LGPLv2 or CDDL o LibRaw Software License |
---|
39 | |
---|
40 | Requires: %{name}-devel = %{version}-%{release} |
---|
41 | |
---|
42 | %description static |
---|
43 | This package contains the static library for %{name}. |
---|
44 | |
---|
45 | %prep |
---|
46 | %setup -q -n %{name}-%{version} |
---|
47 | |
---|
48 | %build |
---|
49 | # This is not the autotools generated configure script |
---|
50 | CFLAGS="%{optflags}" sh configure --prefix=/usr --disable-examples \ |
---|
51 | --disable-demosaic-pack-gpl2 --disable-demosaic-pack-gpl3 \ |
---|
52 | --enable-static=no --enable-shared=no --enable-lcms |
---|
53 | make %{?_smp_mflags} |
---|
54 | |
---|
55 | %install |
---|
56 | rm -rf %{buildroot} |
---|
57 | cp -pr doc manual |
---|
58 | |
---|
59 | # The source tree has these with execute permissions for some reason |
---|
60 | chmod 644 LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf |
---|
61 | |
---|
62 | # The Libraries |
---|
63 | #make install DESTDIR=%{buildroot} LIBDIR=%{_lib} |
---|
64 | %makeinstall |
---|
65 | |
---|
66 | rm -rf %{buildroot}%{_libdir}/*.la |
---|
67 | |
---|
68 | %files devel |
---|
69 | %defattr(-,root,root,-) |
---|
70 | |
---|
71 | %doc Changelog.rus |
---|
72 | %doc manual samples |
---|
73 | |
---|
74 | %{_docdir}/libraw/ |
---|
75 | %dir %{_includedir}/libraw |
---|
76 | %{_includedir}/libraw/*.h |
---|
77 | %{_libdir}/pkgconfig/*.pc |
---|
78 | |
---|
79 | %files static |
---|
80 | %defattr(-,root,root,-) |
---|
81 | %{_libdir}/libraw.a |
---|
82 | %{_libdir}/libraw_r.a |
---|
83 | |
---|
84 | %changelog |
---|
85 | * Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-3 |
---|
86 | - added BuildRequires: lcms-devel |
---|
87 | - added configure option --enable-lcms |
---|
88 | |
---|
89 | * Sun Jun 05 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-2 |
---|
90 | - added BuildRequires: gcc libtool make |
---|
91 | - fixed %%install |
---|
92 | - deleted library archive |
---|
93 | - fixed %%doc in -devel package |
---|
94 | |
---|
95 | * Sat Jun 04 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-1 |
---|
96 | - new upstream release |
---|
97 | - dropt Patch0 |
---|
98 | - fixed configure option |
---|
99 | - fixed %%files |
---|
100 | - splitted -static package |
---|
101 | |
---|
102 | * Mon Dec 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.3-1 |
---|
103 | - new upstream release |
---|
104 | - added License: LibRaw Software License |
---|
105 | - dropt patch1,2 |
---|
106 | - replaced patch0 by Fedora development patch |
---|
107 | |
---|
108 | * Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1 |
---|
109 | - new upstream release |
---|
110 | |
---|
111 | * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1 |
---|
112 | - initial build for VineSeed |
---|
113 | |
---|
114 | * Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1 |
---|
115 | - New package |
---|