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