1 | Summary: Decode camera RAW files |
---|
2 | Name: libopenraw |
---|
3 | Version: 0.0.9 |
---|
4 | Release: 2%{?_dist_release} |
---|
5 | License: LGPLv3+ |
---|
6 | Group: System Environment/Libraries |
---|
7 | URL: http://libopenraw.freedesktop.org/wiki |
---|
8 | Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2 |
---|
9 | # https://bugs.freedesktop.org/show_bug.cgi?id=31088 |
---|
10 | Patch2: libopenraw-0.0.9-pixbufloaderdir.patch |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
13 | |
---|
14 | BuildRequires: libtool autoconf automake |
---|
15 | BuildRequires: libboost-devel |
---|
16 | BuildRequires: libboost-test |
---|
17 | BuildRequires: exempi-devel >= 1.99.5 |
---|
18 | BuildRequires: gtk2-devel |
---|
19 | BuildRequires: curl-devel |
---|
20 | BuildRequires: libjpeg-devel |
---|
21 | BuildRequires: libxml2-devel |
---|
22 | |
---|
23 | Vendor: Project Vine |
---|
24 | Distribution: Vine Linux |
---|
25 | |
---|
26 | %description |
---|
27 | libopenraw is an ongoing project to provide a free software |
---|
28 | implementation for camera RAW files decoding. One of the main reason is |
---|
29 | that dcraw is not suited for easy integration into applications, and |
---|
30 | there is a need for an easy to use API to build free software digital |
---|
31 | image processing application. |
---|
32 | |
---|
33 | %package gnome |
---|
34 | Summary: GUI components of %{name} |
---|
35 | Group: System Environment/Libraries |
---|
36 | |
---|
37 | Requires: %{name} = %{version}-%{release} |
---|
38 | |
---|
39 | %description gnome |
---|
40 | The %{name}-gnome package contains gui components of %{name}. |
---|
41 | |
---|
42 | %package devel |
---|
43 | Summary: Development files for %{name} |
---|
44 | Group: Development/Libraries |
---|
45 | |
---|
46 | Requires: %{name} = %{version}-%{release} |
---|
47 | Requires: pkgconfig |
---|
48 | |
---|
49 | %description devel |
---|
50 | The %{name}-devel package contains libraries and header files for |
---|
51 | developing applications that use %{name}. |
---|
52 | |
---|
53 | %package gnome-devel |
---|
54 | Summary: Development files for %{name}-gnome |
---|
55 | Group: Development/Libraries |
---|
56 | |
---|
57 | Requires: %{name}-gnome = %{version}-%{release} |
---|
58 | Requires: %{name}-devel = %{version}-%{release} |
---|
59 | Requires: pkgconfig |
---|
60 | |
---|
61 | %description gnome-devel |
---|
62 | The %{name}-gnome-devel package contains libraries and header files for |
---|
63 | developing applications that use %{name}-gnome. |
---|
64 | |
---|
65 | %package pixbuf-loader |
---|
66 | Summary: RAW image loader for GTK+ applications |
---|
67 | Group: System Environment/Libraries |
---|
68 | |
---|
69 | Requires: gtk2 |
---|
70 | Requires: %{name} = %{version}-%{release} |
---|
71 | Requires(post): gdk-pixbuf2 |
---|
72 | Requires(postun): gdk-pixbuf2 |
---|
73 | |
---|
74 | %description pixbuf-loader |
---|
75 | %{name}-pixbuf-loader contains a plugin to load RAW images, as created by |
---|
76 | digital cameras, in GTK+ applications. |
---|
77 | |
---|
78 | %prep |
---|
79 | %setup -q |
---|
80 | %patch2 -p1 -b pixbufloaderdir |
---|
81 | |
---|
82 | %build |
---|
83 | autoreconf -i -f |
---|
84 | %configure --disable-static --enable-gnome |
---|
85 | |
---|
86 | # Omit unused direct shared library dependencies. |
---|
87 | sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool |
---|
88 | |
---|
89 | make %{?_smp_mflags} |
---|
90 | |
---|
91 | %check |
---|
92 | make check |
---|
93 | |
---|
94 | %install |
---|
95 | rm -rf $RPM_BUILD_ROOT |
---|
96 | |
---|
97 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
98 | find $RPM_BUILD_ROOT -type f -name "*.la" -delete |
---|
99 | |
---|
100 | %clean |
---|
101 | rm -rf $RPM_BUILD_ROOT |
---|
102 | |
---|
103 | %post -p /sbin/ldconfig |
---|
104 | |
---|
105 | %postun -p /sbin/ldconfig |
---|
106 | |
---|
107 | %post gnome -p /sbin/ldconfig |
---|
108 | |
---|
109 | %postun gnome -p /sbin/ldconfig |
---|
110 | |
---|
111 | %post pixbuf-loader |
---|
112 | gdk-pixbuf-query-loaders-%{__isa_bits} --update-cache || : |
---|
113 | |
---|
114 | |
---|
115 | %postun pixbuf-loader |
---|
116 | gdk-pixbuf-query-loaders-%{__isa_bits} --update-cache || : |
---|
117 | |
---|
118 | %files |
---|
119 | %defattr(-,root,root,-) |
---|
120 | %doc AUTHORS |
---|
121 | %doc ChangeLog |
---|
122 | %doc COPYING |
---|
123 | %doc NEWS |
---|
124 | %doc README |
---|
125 | %doc TODO |
---|
126 | %{_libdir}/%{name}.so.* |
---|
127 | |
---|
128 | %files gnome |
---|
129 | %defattr(-,root,root,-) |
---|
130 | %{_libdir}/%{name}gnome.so.* |
---|
131 | |
---|
132 | %files devel |
---|
133 | %defattr(-,root,root,-) |
---|
134 | %{_libdir}/%{name}.so |
---|
135 | %{_libdir}/pkgconfig/%{name}-1.0.pc |
---|
136 | |
---|
137 | %dir %{_includedir}/%{name}-1.0 |
---|
138 | %{_includedir}/%{name}-1.0/%{name}/*.h |
---|
139 | |
---|
140 | %files gnome-devel |
---|
141 | %defattr(-,root,root,-) |
---|
142 | %{_libdir}/%{name}gnome.so |
---|
143 | %{_libdir}/pkgconfig/%{name}-gnome-1.0.pc |
---|
144 | |
---|
145 | %dir %{_includedir}/%{name}-1.0/%{name}-gnome |
---|
146 | %{_includedir}/%{name}-1.0/%{name}-gnome/gdkpixbuf.h |
---|
147 | |
---|
148 | %files pixbuf-loader |
---|
149 | %defattr(-,root,root,-) |
---|
150 | %{_libdir}/gdk-pixbuf-2.0/*/loaders/*.so |
---|
151 | |
---|
152 | %changelog |
---|
153 | * Fri Jan 3 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.0.9-2 |
---|
154 | - build with current VineSeed |
---|
155 | |
---|
156 | * Mon Jan 14 2013 IWAI, Masaharu <iwai@alib.jp> 0.0.9-1 |
---|
157 | - new upstream release |
---|
158 | - update pixbuf loader directory patch (Patch2) |
---|
159 | - drop patches |
---|
160 | - Support-partially-PEF-from-Pentax-K20D.patch (Patch0) |
---|
161 | - Properly-decompress-CFA-from-Canon-7D-5DMkII-500D-1D patch (Patch1) |
---|
162 | |
---|
163 | * Mon Jun 13 2011 IWAI, Masaharu <iwai@alib.jp> 0.0.8-1 |
---|
164 | - initial build for Vine Linux |
---|
165 | |
---|
166 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-5 |
---|
167 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
168 | |
---|
169 | * Sun Oct 24 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-4 |
---|
170 | - fix %%post and %%postun scripts and install directory for |
---|
171 | pixbuf-loader |
---|
172 | |
---|
173 | * Sun Oct 24 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-3 |
---|
174 | - add upstream patch 22287584fbfa4657098ee997957a6c4fc972a53b to |
---|
175 | properly decompress CFA from certain cameras (BZ 624283) |
---|
176 | |
---|
177 | * Wed Sep 08 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-2 |
---|
178 | - add upstream patch 1b15acdcfdc4664bc6c0be473cb6e096071a4e62 |
---|
179 | to support certain PEF files and to fix a crash when opening |
---|
180 | such files (BZ 606898) |
---|
181 | |
---|
182 | * Sat Dec 05 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.0.8-1 |
---|
183 | - Version bump to 0.0.8. |
---|
184 | * Fixed a huge memory leak. (FreeDesktop Bugzilla #21435) |
---|
185 | * cfa output should write the data in PGM as big endian. |
---|
186 | * Better handling of Canon CR2 "slices" to fix crasher with Canon |
---|
187 | 450D/Digital Rebel XSi files (and possibly others). |
---|
188 | * Added new API or_rawfile_new_from_memory() to load a Raw file from a |
---|
189 | memory buffer. |
---|
190 | * Added new API or_rawfile_get_typeid() and the associated consts. |
---|
191 | * Added new API or_rawdata_get_minmax(). |
---|
192 | * Added new API or_get_file_extensions(). |
---|
193 | * Added new API or_rawfile_get_rendered_image() to get a rendered image. |
---|
194 | * Added new API or_bitmapdata_*(). |
---|
195 | * New GdkPixbuf loader. |
---|
196 | * Decompress NEF files. |
---|
197 | - License changed to LGPLv3 or later. |
---|
198 | - Missing includes fixed by upstream. |
---|
199 | - Replaced 'BuildRequires: chrpath glib2-devel' with 'BuildRequires: |
---|
200 | exempi-devel libcurl-devel'. |
---|
201 | - Added 'Requires: gtk2' to pixbuf-loader for directory ownership. |
---|
202 | - Added a %%check stanza. |
---|
203 | |
---|
204 | * Fri Jul 24 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.0.5-4 |
---|
205 | - Autorebuild for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
206 | |
---|
207 | * Wed Feb 25 2009 Caolán McNamara <caolanm@redhat.com> - 0.0.5-3 |
---|
208 | - add stdio.h for fopen and friends |
---|
209 | |
---|
210 | * Wed Feb 25 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.0.5-2 |
---|
211 | - Autorebuild for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
212 | |
---|
213 | * Tue Mar 04 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.5-1 |
---|
214 | - New upstream version. |
---|
215 | |
---|
216 | * Wed Feb 20 2008 Release Engineering <rel-eng@fedoraproject.org> - 0.0.4-3 |
---|
217 | - Autorebuild for GCC 4.3 |
---|
218 | |
---|
219 | * Wed Jan 30 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.4-2 |
---|
220 | - Added missing dependency on libxml |
---|
221 | |
---|
222 | * Wed Jan 30 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.4-1 |
---|
223 | - New upstream version. |
---|
224 | |
---|
225 | * Fri Dec 28 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.3-1 |
---|
226 | - New upstream version. |
---|
227 | - Updated license tag. |
---|
228 | - Fixed rpath error. |
---|
229 | |
---|
230 | * Thu May 03 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-5 |
---|
231 | - Added unowned directory to list of files. |
---|
232 | - Changed license from GPL to LGPL. |
---|
233 | |
---|
234 | * Wed May 02 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-4 |
---|
235 | - Moved gui components to a separate package. |
---|
236 | |
---|
237 | * Tue May 01 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-3 |
---|
238 | - Added missing BuildRequirement. |
---|
239 | |
---|
240 | * Mon Apr 30 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-2 |
---|
241 | - Added missing BuildRequirement. |
---|
242 | |
---|
243 | * Sun Apr 29 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-1 |
---|
244 | - Inital version. |
---|