zphoto-vl.spec 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. Name: zphoto
  2. Version: 1.2
  3. Release: 2%{?_dist_release}
  4. License: LGPL
  5. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  6. URL: http://www.namazu.org/~satoru/zphoto/
  7. Source0: %{name}-%{version}.tar.gz
  8. Source1: %{name}.desktop
  9. #Patch0: zphoto-1.2-wxgtk26.patch
  10. Summary: a flash-based photo album generator
  11. Summary(ja): Flash ベースのアルバムを作るツール
  12. Group: Applications/Multimedia
  13. Requires: imlib2, ming, zip
  14. #Requires: wx-gtk2, libgcc
  15. BuildRequires: imlib2-devel, ming, popt, gcc-c++
  16. #BuildRequires: imlib2-devel, ming, popt, wx-gtk2-devel, gcc-c++
  17. %description
  18. zphoto is a flash-based photo album generator. You can create
  19. a flash-based on-line album from photos taken by a digital camera.
  20. %description -l ja
  21. zphoto は Flash ベースのフォトアルバムを作るツールです。デジカメ写真
  22. から Flash を用いたフォトアルバム (オンラインアルバム) を簡単に作成
  23. できます。
  24. %prep
  25. %setup -q
  26. #patch0 -p1 -b .wxgtk26
  27. %build
  28. %configure --disable-wx
  29. make
  30. %install
  31. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  32. %makeinstall
  33. [ -d "./zphoto-doc" ] && rm -rf ./zphoto-doc
  34. mv $RPM_BUILD_ROOT%{_datadir}/zphoto/doc ./zphoto-doc
  35. # install icon and .desktop files
  36. # mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/zphoto
  37. # mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
  38. # /usr/bin/install -m644 ./icon/wxzphoto* \
  39. # $RPM_BUILD_ROOT%{_datadir}/pixmaps/zphoto
  40. # /usr/bin/install -m644 %{SOURCE1} \
  41. # $RPM_BUILD_ROOT%{_datadir}/applications
  42. %find_lang %{name}
  43. %clean
  44. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  45. %files -f %{name}.lang
  46. %defattr(-, root, root, 755)
  47. %doc AUTHORS COPYING ChangeLog NEWS README zphoto-doc/*
  48. %{_bindir}/zphoto
  49. #{_bindir}/wxzphoto
  50. #{_datadir}/applications/%{name}.desktop
  51. #{_datadir}/pixmaps/zphoto
  52. %{_datadir}/zphoto
  53. %changelog
  54. * Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 1.2-2vl5
  55. - rebuilt with ming-0.4.2
  56. - spec in utf-8
  57. * Tue May 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-1vl5
  58. - removed wxzphoto (for wxWidgets compatibity)
  59. * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-0vl3
  60. - rebuilt with new toolchain
  61. * Wed Jul 13 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-0vl2
  62. - rebuild with wx-gtk 2.6
  63. - added Patch0 to build with wx-gtk 2.6
  64. * Fri Aug 13 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-0vl1
  65. - new upstream release
  66. - added zphoto.desktop
  67. - added Requires: libgcc, BuildRequires: gcc-c++
  68. * Wed Jun 9 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl3
  69. - fixed Group
  70. * Sat May 29 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl2
  71. - added BuildReqires: wx-gtk2-devel, Requires: wx-gtk2 for wxzphoto
  72. * Sat May 15 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl1
  73. - Initial spec file :-)
  74. - added Japanese summary and description