rawstudio-vl.spec 6.8 KB

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