shotwell-vl.spec 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. Name: shotwell
  2. Version: 0.23.2
  3. Release: 1%{?_dist_release}
  4. Summary: A photo manager for the GNOME desktop
  5. Summary(ja): GNOME デスクトップ向けの写真管理ツール
  6. Group: Applications/Graphics
  7. # LGPLv2+ for the code
  8. # CC-BY-SA for some of the icons
  9. License: LGPLv2+ and CC-BY-SA
  10. URL: http://www.yorba.org/shotwell/
  11. Source0: http://www.yorba.org/download/shotwell/stable/shotwell-%{version}.tar.xz
  12. # https://bugzilla.gnome.org/show_bug.cgi?id=715578
  13. Source2: shotwell.1
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: GConf2-devel
  16. BuildRequires: LibRaw-devel
  17. BuildRequires: LibRaw-static
  18. BuildRequires: dbus-glib-devel
  19. BuildRequires: desktop-file-utils
  20. BuildRequires: gettext
  21. BuildRequires: gtk3-devel
  22. #BuildRequires: gstreamer-devel
  23. #BuildRequires: gstreamer-plugins-base-devel
  24. BuildRequires: gstreamer1-devel
  25. BuildRequires: gstreamer1-plugins-base-devel
  26. BuildRequires: json-glib-devel
  27. BuildRequires: libexif-devel
  28. BuildRequires: libgee-devel
  29. BuildRequires: libgee-vala
  30. BuildRequires: libgphoto2-devel
  31. BuildRequires: eudev-libgudev1-devel
  32. BuildRequires: libgexiv2-devel >= 0.2.0
  33. BuildRequires: libsoup-devel
  34. BuildRequires: libxml2-devel
  35. BuildRequires: lcms2-devel
  36. BuildRequires: sqlite3-devel
  37. BuildRequires: unique3-devel
  38. BuildRequires: vala-devel >= 0.9.5
  39. BuildRequires: rest-devel
  40. BuildRequires: gnome-doc-utils
  41. BuildRequires: webkitgtk4-devel
  42. # used by shotwell-settings-migrator
  43. Requires: dconf
  44. Vendor: Project Vine
  45. Distribution: Vine Linux
  46. Packager: kudoh
  47. %description
  48. Shotwell is a new open source photo manager designed for the GNOME desktop
  49. environment. It allows you to import photos from your camera, view and edit
  50. them, and share them with others.
  51. %description -l ja
  52. Shotwell は GNOME デスクトップ環境用に設計された新しいオープンソースの
  53. 画像管理ツールです。
  54. あなたのカメラから写真を取り込んだり、それらを表示・編集したり、
  55. 他の人々と共有するなどができます。
  56. %prep
  57. %setup -q -n %{name}-%{version}
  58. %build
  59. ./configure \
  60. --prefix=%{_prefix} \
  61. --lib=%{_lib} \
  62. --disable-schemas-compile \
  63. --disable-icon-update
  64. #make %{?_smp_mflags}
  65. make
  66. %install
  67. rm -rf $RPM_BUILD_ROOT
  68. export XDG_DISABLE_MAKEFILE_UPDATES=1
  69. # otherwise gettext always returns English text regardless of LANGUAGE asked
  70. export LANG=en_US.utf8
  71. make install DESTDIR=$RPM_BUILD_ROOT
  72. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/shotwell.desktop
  73. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/shotwell-viewer.desktop
  74. # install man page
  75. mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
  76. cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1
  77. %find_lang %{name} --all-name
  78. %clean
  79. rm -rf $RPM_BUILD_ROOT
  80. %post
  81. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  82. update-desktop-database &> /dev/null || :
  83. %postun
  84. if [ $1 -eq 0 ] ; then
  85. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  86. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
  87. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  88. fi
  89. update-desktop-database &> /dev/null || :
  90. %posttrans
  91. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
  92. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  93. %files -f %{name}.lang
  94. %defattr(-,root,root,-)
  95. %license COPYING
  96. %doc README MAINTAINERS NEWS THANKS AUTHORS
  97. %{_bindir}/shotwell
  98. %{_libdir}/*
  99. %{_libexecdir}/shotwell
  100. %{_datadir}/shotwell
  101. %{_datadir}/applications/shotwell.desktop
  102. %{_datadir}/applications/shotwell-viewer.desktop
  103. %{_datadir}/appdata/shotwell.appdata.xml
  104. %{_datadir}/GConf/gsettings/shotwell.convert
  105. %{_datadir}/glib-2.0/schemas/*.xml
  106. %{_datadir}/icons/hicolor/*/apps/shotwell.png
  107. %{_datadir}/icons/hicolor/symbolic/apps/shotwell-symbolic.svg
  108. %{_datadir}/gnome/help/shotwell
  109. %{_mandir}/man1/*
  110. %changelog
  111. * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.23.2-1
  112. - new upstream release.
  113. - remove %%_smp_mflags: Makefile has wrong dependency(?).
  114. * Tue Nov 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.22.0-2
  115. - rebuild with exiv2-0.25
  116. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.22.0-1
  117. - new upstream release
  118. * Mon Feb 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.20.2-2
  119. - rebuild with libgphoto2-2.5.7
  120. * Mon Nov 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.20.2-1
  121. - new upstream release
  122. * Thu Jul 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.18.1-1
  123. - new upstream release
  124. - change BuildRequires: eudev-libgudev1-devel instead of libgudev1-devel
  125. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.18.0-1
  126. - new upstream release
  127. - add BuildRequires: gnome-doc-utils
  128. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.15.1-4
  129. - rebuild with LibRaw-0.16.0
  130. * Sun Jan 19 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15.1-3
  131. - rebuilt with LibRaw-0.15.4
  132. * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.15.1-2
  133. - rebuild with exiv2-0.24
  134. * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.15.1-1
  135. - new upstream release
  136. - remove Patch1 (0001-Port-to-GStreamer-1.0.patch)
  137. - change BuildRequires: libgee-devel instead of libgee06-devel
  138. - add BuildRequires: libgee-vala
  139. * Fri Jan 11 2013 IWAI, Masaharu <iwai@alib.jp> - 0.13.1-2
  140. - build with libgphoto2 2.5.0-1
  141. * Sat Oct 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.1-1
  142. - new upstream release
  143. - changed archive typr to xz
  144. - changed BuildRequires: libgee-devel to libgee06-devel
  145. - changed BuildRequires: gstreamer-devel and gstreamer-plugins-base-devel to
  146. gstreamer1-devel and gstreamer1-plugins-base-devel
  147. - added Requires: dconf
  148. - added Patch0,1 from Fedora
  149. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.3-2
  150. - rebuild with exiv2-0.23
  151. * Thu May 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.12.3-1
  152. - new upstream release
  153. - dropt Source2
  154. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.2-1
  155. - new upstream release
  156. - remove Patch0
  157. - change BuildRequires: gtk3-devel instead of gtk2-devel
  158. - change BuildRequires: WebKit3-gtk-devel instead of WebKit-gtk-devel
  159. - change BuildRequires: unique3-devel instead of unique-devel
  160. - remove BuildRequires: hal-devel
  161. - add BuildRequires: rest-devel, lcms2-devel
  162. * Sun Nov 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.6-1
  163. - new upstream release
  164. * Thu Oct 20 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.5-1
  165. - new upstream release
  166. * Fri Oct 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.4-1
  167. - new upstream release
  168. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.11.2-1
  169. - new upstream release
  170. - add Patch0 (shotwell-0.11.1-vala-0.14.patch)
  171. - add BuildRequires: gstreamer-plugins-base-devel
  172. * Sat Aug 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.1-2
  173. - rebuilt with libgexiv2-0.2.2-2
  174. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.1-1
  175. - new upstream release
  176. * Sat Jun 18 2011 IWAI, Masaharu <iwai@alib.jp> 0.8.1-5
  177. - add ja.po (Source2): fix <BTS:VineLinux:1142>
  178. - update Summary and description
  179. * Fri Jun 10 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.1-4
  180. - add hi-res icons (SOURCE1)
  181. - add LANG=en_US.utf8 to get gettext to actually generate translated strings
  182. * Sat Jun 04 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.1-3
  183. - dropt Patch0
  184. - added BuildRequires: LibRaw-static
  185. * Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.8.1-2
  186. - add Patch1 (shotwell-0.8.1-vala.patch)
  187. * Wed Jan 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.1-1
  188. - new upstream release
  189. - added BuildRequires: gstreamer-devel, json-glib-devel, libsoup-devel, libxml2-devel
  190. * Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.2-2
  191. - rebuilt with rpm-4.8.1 for pkg-config
  192. - fixed %%changelog in Tue Sep 14 2010
  193. * Tue Sep 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.2-1
  194. - new upstream release
  195. - changed source URL
  196. - added Patch0 to work around desktop file incorrect comment
  197. - changed BuildRequires: vala-devel >= 0.9.5
  198. * Fri Aug 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.1-1
  199. - new upstream release
  200. * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.0-1
  201. - new upstream release
  202. - changed BuildRequires: libgexiv2-devel >= 0.2.0
  203. * Thu Jul 22 2010 Shu KONNO <owa@bg.wakwak.com> - 0.6.1-2
  204. - fixed LIB_DIRS in libraw-config (for lib64)
  205. * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.1-1
  206. - new upstream release
  207. - added BuildRequires: LibRaw-devel, libgexiv2-devel
  208. * Wed May 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.2-1
  209. - new upstream release
  210. * Sat Mar 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.0-1
  211. - new upstream release
  212. - added BuildRequires: libgudev1-devel
  213. - applied new naming policy to spec
  214. * Wed Jan 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.3-1
  215. - new upstream release
  216. - proved Japanese description
  217. * Thu Jan 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.2-1
  218. - new upstrema release
  219. * Wed Dec 30 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-1
  220. - intial build for VineSeed
  221. * Fri Dec 18 2009 Matthias Clasen <mclasen@redhat.com> - 0.4.0-0.1.20091218svn
  222. * Thu Nov 12 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.2-1
  223. - Update to 0.3.2
  224. * Tue Nov 3 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.0-1
  225. - Version 0.3.0
  226. * Thu Aug 20 2009 Michel Salim <salimma@fedoraproject.org> - 0.2.0-3
  227. - Rebuild against new libgee
  228. * Wed Aug 12 2009 Matthias Clasen <mclasen@redhat.com> - 0.2.0-2.fc12
  229. - Bring icon cache handling in sync with current guidelines
  230. * Sun Aug 9 2009 Matthias Clasen <mclasen@redhat.com> - 0.2.0-1.fc12
  231. - Initial packaging