libopenraw-vl.spec 7.1 KB

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