rawstudio-vl.spec 6.5 KB

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