libopenraw-vl.spec 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. Summary: Decode camera RAW files
  2. Name: libopenraw
  3. Version: 0.0.9
  4. Release: 3%{?_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 --update-cache || :
  84. %postun pixbuf-loader
  85. gdk-pixbuf-query-loaders --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. * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.9-3
  115. - build with gcc-5.4.0
  116. * Fri Jan 3 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.0.9-2
  117. - build with current VineSeed
  118. * Mon Jan 14 2013 IWAI, Masaharu <iwai@alib.jp> 0.0.9-1
  119. - new upstream release
  120. - update pixbuf loader directory patch (Patch2)
  121. - drop patches
  122. - Support-partially-PEF-from-Pentax-K20D.patch (Patch0)
  123. - Properly-decompress-CFA-from-Canon-7D-5DMkII-500D-1D patch (Patch1)
  124. * Mon Jun 13 2011 IWAI, Masaharu <iwai@alib.jp> 0.0.8-1
  125. - initial build for Vine Linux
  126. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-5
  127. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  128. * Sun Oct 24 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-4
  129. - fix %%post and %%postun scripts and install directory for
  130. pixbuf-loader
  131. * Sun Oct 24 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-3
  132. - add upstream patch 22287584fbfa4657098ee997957a6c4fc972a53b to
  133. properly decompress CFA from certain cameras (BZ 624283)
  134. * Wed Sep 08 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-2
  135. - add upstream patch 1b15acdcfdc4664bc6c0be473cb6e096071a4e62
  136. to support certain PEF files and to fix a crash when opening
  137. such files (BZ 606898)
  138. * Sat Dec 05 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.0.8-1
  139. - Version bump to 0.0.8.
  140. * Fixed a huge memory leak. (FreeDesktop Bugzilla #21435)
  141. * cfa output should write the data in PGM as big endian.
  142. * Better handling of Canon CR2 "slices" to fix crasher with Canon
  143. 450D/Digital Rebel XSi files (and possibly others).
  144. * Added new API or_rawfile_new_from_memory() to load a Raw file from a
  145. memory buffer.
  146. * Added new API or_rawfile_get_typeid() and the associated consts.
  147. * Added new API or_rawdata_get_minmax().
  148. * Added new API or_get_file_extensions().
  149. * Added new API or_rawfile_get_rendered_image() to get a rendered image.
  150. * Added new API or_bitmapdata_*().
  151. * New GdkPixbuf loader.
  152. * Decompress NEF files.
  153. - License changed to LGPLv3 or later.
  154. - Missing includes fixed by upstream.
  155. - Replaced 'BuildRequires: chrpath glib2-devel' with 'BuildRequires:
  156. exempi-devel libcurl-devel'.
  157. - Added 'Requires: gtk2' to pixbuf-loader for directory ownership.
  158. - Added a %%check stanza.
  159. * Fri Jul 24 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.0.5-4
  160. - Autorebuild for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  161. * Wed Feb 25 2009 Caolán McNamara <caolanm@redhat.com> - 0.0.5-3
  162. - add stdio.h for fopen and friends
  163. * Wed Feb 25 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.0.5-2
  164. - Autorebuild for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  165. * Tue Mar 04 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.5-1
  166. - New upstream version.
  167. * Wed Feb 20 2008 Release Engineering <rel-eng@fedoraproject.org> - 0.0.4-3
  168. - Autorebuild for GCC 4.3
  169. * Wed Jan 30 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.4-2
  170. - Added missing dependency on libxml
  171. * Wed Jan 30 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.4-1
  172. - New upstream version.
  173. * Fri Dec 28 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.3-1
  174. - New upstream version.
  175. - Updated license tag.
  176. - Fixed rpath error.
  177. * Thu May 03 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-5
  178. - Added unowned directory to list of files.
  179. - Changed license from GPL to LGPL.
  180. * Wed May 02 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-4
  181. - Moved gui components to a separate package.
  182. * Tue May 01 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-3
  183. - Added missing BuildRequirement.
  184. * Mon Apr 30 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-2
  185. - Added missing BuildRequirement.
  186. * Sun Apr 29 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-1
  187. - Inital version.