goocanvas-vl.spec 4.0 KB

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