rawstudio-vl.spec 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. Name: rawstudio
  2. Version: 2.0
  3. Release: 9%{?_dist_release}
  4. Summary: Read, manipulate and convert digital camera raw images
  5. Group: Applications/Multimedia
  6. License: GPLv2+
  7. URL: http://rawstudio.org
  8. Source0: http://rawstudio.org/files/release/%{name}-%{version}.tar.gz
  9. # Packaging a snapshot created with
  10. # svn export -r 3521 https://rawstudio.org/svn/rawstudio/trunk/ rawstudio
  11. #Source0: rawstudio.tar.gz
  12. Patch0: rawstudio-2.0-makefile.patch
  13. Patch1: rawstudio-2.0-lensfun-0.3.x.patch
  14. Patch2: rawstudio-2.0-libpng-1.6.x.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  16. BuildRequires: gtk2-devel, libxml2-devel, GConf2-devel, dbus-devel
  17. BuildRequires: lcms-devel, libjpeg-devel, libtiff-devel, exiv2-devel
  18. BuildRequires: flickcurl-devel, lensfun-devel, fftw3-devel, curl-devel
  19. BuildRequires: sqlite3-devel, openssl-devel, libgphoto2-devel
  20. BuildRequires: desktop-file-utils
  21. BuildRequires: intltool
  22. BuildRequires: libtool
  23. Distribution: Vine Linux
  24. Vendor: Project Vine
  25. Packager: iwaim
  26. %description
  27. Rawstudio is a highly specialized application for processing RAW images
  28. from digital cameras. It is not a fully featured image editing application.
  29. The RAW format is often recommended to get the best quality out of digital
  30. camera images. The format is specific to cameras and cannot be read by most
  31. image editing applications.
  32. Rawstudio makes it possible to read and manipulate RAW images, experiment
  33. with the controls to see how they affect the image, and finally export into
  34. JPEG, PNG or TIF format images from most digital cameras.
  35. %package -n librawstudio-devel
  36. Summary: librawstudio development files
  37. Requires: librawstudio = %{version}-%{release}
  38. Group: Development/Libraries
  39. %description -n librawstudio-devel
  40. Development files for rawstudio backend library
  41. %package -n librawstudio
  42. Summary: Rawstudio backend library
  43. Group: System Environment/Libraries
  44. %description -n librawstudio
  45. Rawstudio backend library
  46. %prep
  47. %setup -q
  48. %patch0 -p1
  49. %patch1 -p1
  50. %patch2 -p1
  51. %build
  52. rm configure
  53. NOCONFIGURE=1 ./autogen.sh
  54. %configure --disable-static
  55. make %{?_smp_mflags}
  56. %install
  57. rm -rf $RPM_BUILD_ROOT
  58. make install DESTDIR=$RPM_BUILD_ROOT
  59. %find_lang %{name}
  60. # Remove useless files
  61. find %{buildroot} -name '*.la' -delete
  62. # Fix desktop file warning
  63. # Note: the Encoding tag seems to be deprecated in desktop entry specs v1.0
  64. # so this has probably to go away in the future
  65. echo "Encoding=UTF-8" >> ${RPM_BUILD_ROOT}%{_datadir}/applications/rawstudio.desktop
  66. desktop-file-install --vendor vine \
  67. --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
  68. --remove-category Application \
  69. --delete-original \
  70. ${RPM_BUILD_ROOT}%{_datadir}/applications/rawstudio.desktop
  71. %clean
  72. rm -rf $RPM_BUILD_ROOT
  73. %post
  74. update-desktop-database &> /dev/null ||:
  75. %postun
  76. update-desktop-database &> /dev/null ||:
  77. %files -f %{name}.lang
  78. %defattr(-,root,root,-)
  79. %doc README NEWS COPYING AUTHORS
  80. %{_bindir}/rawstudio
  81. %{_datadir}/rawstudio
  82. %{_datadir}/rawspeed
  83. %{_datadir}/pixmaps/rawstudio
  84. %{_datadir}/applications/vine-rawstudio.desktop
  85. %{_datadir}/icons/rawstudio.png
  86. %files -n librawstudio
  87. %{_libdir}/librawstudio-2.0.so.*
  88. %files -n librawstudio-devel
  89. %{_includedir}/rawstudio-2.0
  90. %{_libdir}/librawstudio-2.0.so
  91. %{_libdir}/pkgconfig/rawstudio-2.0.pc
  92. %changelog
  93. * Sun Jul 03 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-9
  94. - rebuild with gcc-5.4.0
  95. * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-8
  96. - rebuild with openssl-1.0.2
  97. * Wed Nov 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-7
  98. - rebuild with exiv2-0.25
  99. * Mon Feb 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-6
  100. - rebuild with ligphoto2-2.5.7
  101. - add Patch1 (rawstudio-2.0-lensfun-0.3.x.patch)
  102. - add Patch2 (rawstudio-2.0-libpng-1.6.x.patch)
  103. * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-5
  104. - rebuild with exiv2-0.24
  105. * Fri Jan 11 2013 IWAI, Masaharu <iwai@alib.jp> 2.0-4
  106. - build with libgphoto2 2.5.0-1
  107. - update BR: gphoto2-devel -> libgphoto2-devel
  108. - fix vendor in desktop-update-install option: fedora -> vine
  109. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-3
  110. - rebuild with exiv2-0.23
  111. * Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-2
  112. - rebuild with exiv2-0.22
  113. - add Patch0 (rawstudio-2.0-makefile.patch)
  114. * Sun Sep 4 2011 IWAI, Masaharu <iwai@alib.jp> 2.0-1
  115. - build for Vine Linux: based Fedora 2.0-1
  116. * Fri Apr 8 2011 Gianluca Sforna <giallu@gmail.com> - 2.0-1
  117. - Update to final release
  118. - remove upstreamed patch
  119. * Sat Mar 26 2011 Gianluca Sforna <giallu@gmail.com> - 2.0-0.1.beta1
  120. - Update to released beta
  121. - Split librawstudio library in own package
  122. * Mon Mar 14 2011 Gianluca Sforna <giallu@gmail.com> - 1.2-10
  123. - update to newer snapshot, another fixed crash
  124. * Mon Feb 21 2011 Gianluca Sforna <giallu@gmail.com> - 1.2-9
  125. - update to newer snapshot, includes fixes for #635964 and #636919
  126. - remove upstreamed patch, add new one to remove -Werror
  127. - require gphoto2
  128. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8.20100907svn3521
  129. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  130. * Sun Jan 02 2011 Rex Dieter <rdieter@fedoraproject.org> - 1.2-7.20100907svn3521
  131. - rebuild (exiv2)
  132. * Wed Sep 8 2010 Gianluca Sforna <giallu gmail com>
  133. - Fix BuildRequires
  134. - Add updated patch for X11 link issue
  135. * Tue Sep 7 2010 Gianluca Sforna <giallu gmail com>
  136. - move to a snapshot
  137. - drop upstreamed patches
  138. - add find-lang
  139. - remove .la files
  140. - disable static library build
  141. * Mon May 31 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.2-5
  142. - rebuild (exiv2)
  143. * Sat Feb 13 2010 Gianluca Sforna <giallu gmail com> - 1.2-4
  144. - Add explicit link to libX11 (#564638)
  145. * Mon Jan 04 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.2-3
  146. - rebuild (exiv2)
  147. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
  148. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  149. * Fri Apr 10 2009 Gianluca Sforna <giallu gmail com> - 1.2-1
  150. - New upstream release
  151. * Thu Feb 26 2009 Gianluca Sforna <giallu gmail com> - 1.1.1-4
  152. - Fix build with newer glibc
  153. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
  154. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  155. * Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.1.1-2
  156. - respin (eviv2)
  157. * Mon Oct 13 2008 Gianluca Sforna <giallu gmail com> - 1.1.1-1
  158. - new upstream release
  159. * Tue Sep 16 2008 Gianluca Sforna <giallu gmail com> - 1.1-1
  160. - new upstream release
  161. * Thu May 1 2008 Gianluca Sforna <giallu gmail com> - 1.0-1
  162. - new upstream release
  163. - drop upstreamed patch
  164. - slightly improved summary
  165. * Sun Feb 24 2008 Gianluca Sforna <giallu gmail com> - 0.7-2
  166. - rebuild with gcc 4.3
  167. * Thu Jan 24 2008 Gianluca Sforna <giallu gmail com> - 0.7-1
  168. - New upstream release
  169. - Improved package description
  170. - Add fix for PPC build
  171. * Sun Aug 19 2007 Gianluca Sforna <giallu gmail com> 0.6-1
  172. - New upstream release
  173. - Updated License field
  174. - Include new pixmaps directory
  175. * Wed Feb 21 2007 Gianluca Sforna <giallu gmail com> 0.5.1-1
  176. - New upstream release
  177. - Fix desktop-file-install warnings
  178. * Tue Feb 06 2007 Gianluca Sforna <giallu gmail com> 0.5-1
  179. - new upstream version
  180. - add libtiff-devel BR
  181. - drop upstreamed patch
  182. - drop dcraw runtime Require
  183. * Wed Sep 27 2006 Gianluca Sforna <giallu gmail com> 0.4.1-1
  184. - new upstream version
  185. - Add DESTDIR patch (and BR: automake)
  186. - New .desktop file and icon
  187. * Fri Jul 28 2006 Gianluca Sforna <giallu gmail com> 0.3-1
  188. - Initial package. Adapted from fedora-rpmdevtools template.