1 | Summary: Library for reading RAW files obtained from digital photo cameras |
---|
2 | Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ |
---|
3 | Name: LibRaw |
---|
4 | Version: 0.16.0 |
---|
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 | BuildRequires: gcc libtool make |
---|
11 | BuildRequires: lcms2-devel |
---|
12 | BuildRequires: jasper-devel |
---|
13 | |
---|
14 | Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz |
---|
15 | |
---|
16 | Vendor: Project Vine |
---|
17 | Distribution: Vine Linux |
---|
18 | |
---|
19 | %description |
---|
20 | LibRaw is a library for reading RAW files obtained from digital photo |
---|
21 | cameras (CRW/CR2, NEF, RAF, DNG, and others). |
---|
22 | |
---|
23 | LibRaw is based on the source codes of the dcraw utility, where part of |
---|
24 | drawbacks have already been eliminated and part will be fixed in future. |
---|
25 | |
---|
26 | %package devel |
---|
27 | Summary: LibRaw development libraries |
---|
28 | Summary(ja): LibRaw の開発ライブラリ |
---|
29 | Group: Development/Libraries |
---|
30 | License: LGPLv2 or CDDL o LibRaw Software License |
---|
31 | Requires: %{name} = %{version}-%{release} |
---|
32 | Requires: pkgconfig |
---|
33 | |
---|
34 | %description devel |
---|
35 | LibRaw development libraries |
---|
36 | |
---|
37 | This package contains static libraries that applications can use to build |
---|
38 | against libraw. LibRaw does not provide dynamic libraries. |
---|
39 | |
---|
40 | %package static |
---|
41 | Summary: LibRaw static libraries |
---|
42 | Summary(ja): LibRaw の静的ライブラリ |
---|
43 | Group: Development/Libraries |
---|
44 | License: LGPLv2 or CDDL o LibRaw Software License |
---|
45 | |
---|
46 | Requires: %{name}-devel = %{version}-%{release} |
---|
47 | |
---|
48 | %description static |
---|
49 | This package contains the static library for %{name}. |
---|
50 | |
---|
51 | %prep |
---|
52 | %setup -q -n %{name}-%{version} |
---|
53 | |
---|
54 | %build |
---|
55 | # This is not the autotools generated configure script |
---|
56 | CFLAGS="%{optflags}" sh configure --prefix=/usr --disable-examples \ |
---|
57 | --disable-demosaic-pack-gpl2 --disable-demosaic-pack-gpl3 \ |
---|
58 | --enable-lcms --enable-jasper |
---|
59 | make %{?_smp_mflags} |
---|
60 | |
---|
61 | %install |
---|
62 | rm -rf %{buildroot} |
---|
63 | cp -pr doc manual |
---|
64 | cp -pr doc manual |
---|
65 | chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus |
---|
66 | chmod 644 manual/*.html |
---|
67 | |
---|
68 | # The Libraries |
---|
69 | #make install DESTDIR=%{buildroot} LIBDIR=%{_lib} |
---|
70 | %makeinstall |
---|
71 | |
---|
72 | rm -rf %{buildroot}%{_libdir}/*.la |
---|
73 | |
---|
74 | %files |
---|
75 | %defattr(-,root,root,-) |
---|
76 | %doc LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus |
---|
77 | %{_libdir}/*.so.* |
---|
78 | |
---|
79 | %files devel |
---|
80 | %defattr(-,root,root,-) |
---|
81 | %doc manual samples |
---|
82 | %exclude %{_docdir}/libraw/ |
---|
83 | %dir %{_includedir}/libraw |
---|
84 | %{_includedir}/libraw/*.h |
---|
85 | %{_libdir}/*.so |
---|
86 | %{_libdir}/pkgconfig/*.pc |
---|
87 | |
---|
88 | %files static |
---|
89 | %defattr(-,root,root,-) |
---|
90 | %{_libdir}/*.a |
---|
91 | |
---|
92 | %post -p /sbin/ldconfig |
---|
93 | %postun -p /sbin/ldconfig |
---|
94 | |
---|
95 | %changelog |
---|
96 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.0-1 |
---|
97 | - new upstream release |
---|
98 | |
---|
99 | * Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15.4-1 |
---|
100 | - new upstream release |
---|
101 | |
---|
102 | * Sun May 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.8-1 |
---|
103 | - new upstream release |
---|
104 | |
---|
105 | * Fri Jun 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.7-1 |
---|
106 | - new upstream release |
---|
107 | |
---|
108 | * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.14.6-1 |
---|
109 | - new upstream release |
---|
110 | - change BuildRequires: lcms2-devel instead of lcms-devel |
---|
111 | |
---|
112 | * Sun Jan 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.5-1 |
---|
113 | - new upstream release |
---|
114 | |
---|
115 | * Sat Dec 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.4-1 |
---|
116 | - new upstream release |
---|
117 | |
---|
118 | * Fri Dec 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.3-1 |
---|
119 | - new upstream release |
---|
120 | - added BuildRequires: jasper-devel |
---|
121 | - fixed configure option |
---|
122 | - deleted --enable-shared=no, --enable-static=no |
---|
123 | - added --enable-jasper |
---|
124 | - fixed %%files in -devel |
---|
125 | - run ldconfig in %%post, %%postun |
---|
126 | |
---|
127 | * Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-3 |
---|
128 | - added BuildRequires: lcms-devel |
---|
129 | - added configure option --enable-lcms |
---|
130 | |
---|
131 | * Sun Jun 05 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-2 |
---|
132 | - added BuildRequires: gcc libtool make |
---|
133 | - fixed %%install |
---|
134 | - deleted library archive |
---|
135 | - fixed %%doc in -devel package |
---|
136 | |
---|
137 | * Sat Jun 04 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-1 |
---|
138 | - new upstream release |
---|
139 | - dropt Patch0 |
---|
140 | - fixed configure option |
---|
141 | - fixed %%files |
---|
142 | - splitted -static package |
---|
143 | |
---|
144 | * Mon Dec 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.3-1 |
---|
145 | - new upstream release |
---|
146 | - added License: LibRaw Software License |
---|
147 | - dropt patch1,2 |
---|
148 | - replaced patch0 by Fedora development patch |
---|
149 | |
---|
150 | * Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1 |
---|
151 | - new upstream release |
---|
152 | |
---|
153 | * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1 |
---|
154 | - initial build for VineSeed |
---|
155 | |
---|
156 | * Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1 |
---|
157 | - New package |
---|