sodipodi-vl.spec 3.4 KB

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