[4128] | 1 | Summary: Decode camera RAW files |
---|
| 2 | Name: libopenraw |
---|
[7347] | 3 | Version: 0.0.9 |
---|
[10581] | 4 | Release: 3%{?_dist_release} |
---|
[4128] | 5 | License: LGPLv3+ |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | URL: http://libopenraw.freedesktop.org/wiki |
---|
[7347] | 8 | Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2 |
---|
[4128] | 9 | # https://bugs.freedesktop.org/show_bug.cgi?id=31088 |
---|
[7347] | 10 | Patch2: libopenraw-0.0.9-pixbufloaderdir.patch |
---|
[4128] | 11 | |
---|
[7347] | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[4128] | 13 | |
---|
| 14 | BuildRequires: libtool autoconf automake |
---|
[4130] | 15 | BuildRequires: libboost-devel |
---|
| 16 | BuildRequires: libboost-test |
---|
[4128] | 17 | BuildRequires: exempi-devel >= 1.99.5 |
---|
| 18 | BuildRequires: gtk2-devel |
---|
[4130] | 19 | BuildRequires: curl-devel |
---|
[4128] | 20 | BuildRequires: libjpeg-devel |
---|
| 21 | BuildRequires: libxml2-devel |
---|
| 22 | |
---|
[4130] | 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
| 25 | |
---|
[4128] | 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 |
---|
[10581] | 112 | gdk-pixbuf-query-loaders --update-cache || : |
---|
[4128] | 113 | |
---|
| 114 | |
---|
| 115 | %postun pixbuf-loader |
---|
[10581] | 116 | gdk-pixbuf-query-loaders --update-cache || : |
---|
[4128] | 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 |
---|
[10581] | 153 | * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.9-3 |
---|
| 154 | - build with gcc-5.4.0 |
---|
| 155 | |
---|
[8105] | 156 | * Fri Jan 3 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.0.9-2 |
---|
| 157 | - build with current VineSeed |
---|
| 158 | |
---|
[7347] | 159 | * Mon Jan 14 2013 IWAI, Masaharu <iwai@alib.jp> 0.0.9-1 |
---|
| 160 | - new upstream release |
---|
| 161 | - update pixbuf loader directory patch (Patch2) |
---|
| 162 | - drop patches |
---|
| 163 | - Support-partially-PEF-from-Pentax-K20D.patch (Patch0) |
---|
| 164 | - Properly-decompress-CFA-from-Canon-7D-5DMkII-500D-1D patch (Patch1) |
---|
| 165 | |
---|
[4130] | 166 | * Mon Jun 13 2011 IWAI, Masaharu <iwai@alib.jp> 0.0.8-1 |
---|
| 167 | - initial build for Vine Linux |
---|
| 168 | |
---|
[4128] | 169 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-5 |
---|
| 170 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 171 | |
---|
| 172 | * Sun Oct 24 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-4 |
---|
| 173 | - fix %%post and %%postun scripts and install directory for |
---|
| 174 | pixbuf-loader |
---|
| 175 | |
---|
| 176 | * Sun Oct 24 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-3 |
---|
| 177 | - add upstream patch 22287584fbfa4657098ee997957a6c4fc972a53b to |
---|
| 178 | properly decompress CFA from certain cameras (BZ 624283) |
---|
| 179 | |
---|
| 180 | * Wed Sep 08 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-2 |
---|
| 181 | - add upstream patch 1b15acdcfdc4664bc6c0be473cb6e096071a4e62 |
---|
| 182 | to support certain PEF files and to fix a crash when opening |
---|
| 183 | such files (BZ 606898) |
---|
| 184 | |
---|
| 185 | * Sat Dec 05 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.0.8-1 |
---|
| 186 | - Version bump to 0.0.8. |
---|
| 187 | * Fixed a huge memory leak. (FreeDesktop Bugzilla #21435) |
---|
| 188 | * cfa output should write the data in PGM as big endian. |
---|
| 189 | * Better handling of Canon CR2 "slices" to fix crasher with Canon |
---|
| 190 | 450D/Digital Rebel XSi files (and possibly others). |
---|
| 191 | * Added new API or_rawfile_new_from_memory() to load a Raw file from a |
---|
| 192 | memory buffer. |
---|
| 193 | * Added new API or_rawfile_get_typeid() and the associated consts. |
---|
| 194 | * Added new API or_rawdata_get_minmax(). |
---|
| 195 | * Added new API or_get_file_extensions(). |
---|
| 196 | * Added new API or_rawfile_get_rendered_image() to get a rendered image. |
---|
| 197 | * Added new API or_bitmapdata_*(). |
---|
| 198 | * New GdkPixbuf loader. |
---|
| 199 | * Decompress NEF files. |
---|
| 200 | - License changed to LGPLv3 or later. |
---|
| 201 | - Missing includes fixed by upstream. |
---|
| 202 | - Replaced 'BuildRequires: chrpath glib2-devel' with 'BuildRequires: |
---|
| 203 | exempi-devel libcurl-devel'. |
---|
| 204 | - Added 'Requires: gtk2' to pixbuf-loader for directory ownership. |
---|
| 205 | - Added a %%check stanza. |
---|
| 206 | |
---|
| 207 | * Fri Jul 24 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.0.5-4 |
---|
| 208 | - Autorebuild for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 209 | |
---|
| 210 | * Wed Feb 25 2009 Caolán McNamara <caolanm@redhat.com> - 0.0.5-3 |
---|
| 211 | - add stdio.h for fopen and friends |
---|
| 212 | |
---|
| 213 | * Wed Feb 25 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.0.5-2 |
---|
| 214 | - Autorebuild for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 215 | |
---|
| 216 | * Tue Mar 04 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.5-1 |
---|
| 217 | - New upstream version. |
---|
| 218 | |
---|
| 219 | * Wed Feb 20 2008 Release Engineering <rel-eng@fedoraproject.org> - 0.0.4-3 |
---|
| 220 | - Autorebuild for GCC 4.3 |
---|
| 221 | |
---|
| 222 | * Wed Jan 30 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.4-2 |
---|
| 223 | - Added missing dependency on libxml |
---|
| 224 | |
---|
| 225 | * Wed Jan 30 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.4-1 |
---|
| 226 | - New upstream version. |
---|
| 227 | |
---|
| 228 | * Fri Dec 28 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.3-1 |
---|
| 229 | - New upstream version. |
---|
| 230 | - Updated license tag. |
---|
| 231 | - Fixed rpath error. |
---|
| 232 | |
---|
| 233 | * Thu May 03 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-5 |
---|
| 234 | - Added unowned directory to list of files. |
---|
| 235 | - Changed license from GPL to LGPL. |
---|
| 236 | |
---|
| 237 | * Wed May 02 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-4 |
---|
| 238 | - Moved gui components to a separate package. |
---|
| 239 | |
---|
| 240 | * Tue May 01 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-3 |
---|
| 241 | - Added missing BuildRequirement. |
---|
| 242 | |
---|
| 243 | * Mon Apr 30 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-2 |
---|
| 244 | - Added missing BuildRequirement. |
---|
| 245 | |
---|
| 246 | * Sun Apr 29 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-1 |
---|
| 247 | - Inital version. |
---|