sodipodi-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Summary: A Vector Drawing Application
  2. Summary(ja): ベクタ型ドローイングプログラム
  3. Name: sodipodi
  4. Version: 0.34
  5. Release: 2%{?_dist_release}
  6. Group: Applications/Graphics
  7. License: GPL
  8. #URL: http://sodipodi.sourceforge.net/
  9. URL: http://sourceforge.net/projects/sodipodi/
  10. Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
  11. Patch0: sodipodi-0.34-amd64.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildPreReq: freetype2-devel
  14. BuildPreReq: gtk2-devel libart_lgpl-devel libxml2-devel
  15. BuildPreReq: libgnomeprint-devel libgnomeprintui-devel
  16. BuildRequires: xorg-x11-devel desktop-file-utils
  17. Requires: freetype2
  18. Requires: gtk2 libart_lgpl libxml2
  19. Requires: libgnomeprint libgnomeprintui
  20. %description
  21. Sodipodi is a SVG based generic vector-drawing program.
  22. %description -l ja
  23. Sodipodi は SVG ベースのベクタ型ドローイングプログラムです。
  24. %prep
  25. %setup -q
  26. %patch0 -p1 -b .amd64
  27. %build
  28. %configure --with-gnome-print --disable-mmx
  29. make %{?_smp_mflags}
  30. %install
  31. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  32. %makeinstall
  33. rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/libxmleditor.la
  34. %find_lang %{name}
  35. %clean
  36. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  37. %post
  38. %{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
  39. %postun
  40. %{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
  41. %files -f %{name}.lang
  42. %defattr(-, root, root)
  43. %doc AUTHORS COPYING ChangeLog HACKING NEWS README TODO samples/
  44. %{_bindir}/sodipodi
  45. %{_libdir}/sodipodi/*
  46. %{_datadir}/sodipodi/*
  47. %{_datadir}/pixmaps/sodipodi.png
  48. %{_datadir}/applications/*
  49. %{_mandir}/man1/sodipodi.1*
  50. %changelog
  51. * Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 0.34-2vl5
  52. - added sodipodi-0.34-amd64.patch by shredzone
  53. * Wed Jun 25 2008 Shu KONNO <owa@bg.wakwak.com> 0.34-1vl5
  54. - applied new versioning policy and spec in utf-8
  55. - added BuildRequires: xorg-x11-devel desktop-file-utils
  56. - added japanese summary and description
  57. - changed url
  58. * Sun Jun 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.34-0vl1
  59. - new upstream release
  60. - dropped unneeded patch
  61. - updated Summary and Description
  62. * Sun Jun 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.32-0vl1
  63. - rebuild with new toolchains and Gnome2
  64. - changed Requires and BuildPreReq
  65. * Thu Oct 24 2002 IWAI Masaharu <iwai@alib.jp> 0.27-0vl1
  66. - add gnome-print, libgnomeprint15 and libgal19 in Requires
  67. - add ORBit-devel, libglade-devel and libpng in BuildPreReq
  68. - add gtk+-devel >= 1.2.0 in BuildPreReq
  69. - eliminate bonobo-devel in BuildPreReq
  70. - drop sodipodi-cvs.patch(Patch0) and sodipodi-0.24.1-build.patch(Patch1)
  71. * Tue Jan 15 2002 Akira TAGOH <tagoh@gnome.gr.jp> 0.24.1-0vl2
  72. - Build against with new gal.
  73. * Tue Dec 25 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.24.1
  74. - New upstream release.
  75. - Use the appropriate rpmmacros.
  76. * Wed Jul 11 2001 Jun Nishii <jun@vinelinux.org>
  77. - 0.23-0vl1
  78. - minor fix of spec file
  79. * Mon Mar 27 2000 Lauris Kaplinski <lauris@ariman.ee>
  80. - First RPM version