goocanvas015-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. Summary: A new canvas widget for GTK+ that uses cairo for drawing
  2. Summary(ja): Cairo を用いた GTK+ 用の新しいキャンバスウィジェット
  3. Name: goocanvas015
  4. Version: 0.15
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://live.gnome.org/GooCanvas
  9. Source0: ftp://ftp.gnome.org/pub/GNOME/sources/0.14/goocanvas/goocanvas-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: pkgconfig, gettext, gtk2-devel
  12. BuildRequires: cairo-devel >= 1.4.0
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. %description
  16. GooCanvas is a new canvas widget for GTK+ that uses the cairo 2D library for
  17. drawing. It has a model/view split, and uses interfaces for canvas items and
  18. views, so you can easily turn any application object into canvas items.
  19. %prep
  20. %setup -q -n goocanvas-%{version}
  21. # demo application does not compile properly
  22. sed -i -e 's/ demo / /g' Makefile.am
  23. sed -i -e 's/ demo / /g' Makefile.in
  24. %build
  25. %configure
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make install DESTDIR=$RPM_BUILD_ROOT
  30. # remove static libraries and libtool droppings
  31. rm -f $RPM_BUILD_ROOT/%{_libdir}/libgoocanvas.{a,la}
  32. %find_lang goocanvas
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %post -p /sbin/ldconfig
  36. %postun -p /sbin/ldconfig
  37. %files -f goocanvas.lang
  38. %defattr(-,root,root,-)
  39. %doc AUTHORS ChangeLog COPYING NEWS README TODO
  40. %{_libdir}/libgoocanvas.so.*
  41. %package devel
  42. Group: Development/Libraries
  43. Summary: A new canvas widget for GTK+ that uses cairo for drawing
  44. Summary(ja): Cairo を用いた GTK+ 用の新しいキャンバスウィジェット
  45. Requires: %{name} = %{version}-%{release} pkgconfig
  46. %description devel
  47. GooCanvas is a new canvas widget for GTK+ that uses the cairo 2D library for
  48. drawing. It has a model/view split, and uses interfaces for canvas items and
  49. views, so you can easily turn any application object into canvas items.
  50. These are the files used for development.
  51. %files devel
  52. %defattr(-,root,root,-)
  53. %{_includedir}/goocanvas-1.0
  54. %{_libdir}/libgoocanvas.so
  55. %{_libdir}/pkgconfig/goocanvas.pc
  56. %{_datadir}/gtk-doc/html/goocanvas
  57. %changelog
  58. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.15-2
  59. - rename package (goocanvas015)
  60. * Sun Oct 3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15-1
  61. - updated to 0.15
  62. - built with rpm-4.8.1 for pkg-config
  63. * Mon Oct 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.14-1
  64. - initial build for Vine Linux
  65. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-2
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  67. * Thu Apr 23 2009 Denis <denis@poolshark.org> - 0.14-1
  68. - Update to upstream 0.14
  69. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  71. * Sat Jan 17 2009 Denis Leroy <denis@poolshark.org> - 0.13-1
  72. - Update to upstream 0.13
  73. - Updated URLs to gnome.org
  74. * Tue Sep 30 2008 Bernard Johnson <bjohnson@symetrix.com> - 0.10-2
  75. - demo application does not build; remove it
  76. * Sun Jun 29 2008 Bernard Johnson <bjohnson@symetrix.com> - 0.10-1
  77. - v 0.10
  78. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9-4
  79. - Autorebuild for GCC 4.3
  80. * Mon Aug 27 2007 Bernard Johnson <bjohnson@symetrix.com> - 0.9-3
  81. - don't explicitely require gtk2; no special versioning needed since FC6+
  82. * Sun Aug 26 2007 Bernard Johnson <bjohnson@symetrix.com> - 0.9-2
  83. - require gtk2 not gtk2-devel (bz #254239)
  84. * Sun Aug 19 2007 Bernard Johnson <bjohnson@symetrix.com> - 0.9-1
  85. - 0.9
  86. - update license tag to LGPLv2+
  87. * Sat May 05 2007 Bernard Johnson <bjohnson@symetrix.com> - 0.6-2
  88. - bump for incorrect tag in buildsys
  89. * Mon Mar 19 2007 Bernard Johnson <bjohnson@symetrix.com> - 0.6-1
  90. - initial release