goocanvas-vl.spec 3.6 KB

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