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