source: projects/specs/trunk/g/goocanvas/goocanvas-vl.spec @ 7818

Revision 7818, 4.0 KB checked in by Takemikaduchi, 11 years ago (diff)

new upstream release

Line 
1Summary:        A new canvas widget for GTK+ that uses cairo for drawing
2Summary(ja):    Cairo を用いた GTK+ 用の新しいキャンバスウィジェット
3
4Name:           goocanvas
5Version:        2.0.1
6Release:        1%{?_dist_release}
7
8Group:          System Environment/Libraries
9License:        LGPLv2+
10URL:            http://live.gnome.org/GooCanvas
11
12Source0:        ftp://ftp.gnome.org/pub/GNOME/sources/2.0/%{name}/%{name}-%{version}.tar.xz
13
14Patch0:                 goocanvas-2.0.1-git20130820.patch
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17
18BuildRequires:  pkgconfig, gettext
19BuildRequires:  gtk3-devel >= 3.0.0
20BuildRequires:  cairo-devel >= 1.10.0
21
22%description
23GooCanvas is a new canvas widget for GTK+ that uses the cairo 2D library for
24drawing. It has a model/view split, and uses interfaces for canvas items and
25views, so you can easily turn any application object into canvas items.
26
27
28%package devel
29Group:          Development/Libraries
30Summary:        A new canvas widget for GTK+ that uses cairo for drawing
31Summary(ja):    Cairo を用いた GTK+ 用の新しいキャンバスウィジェット
32Requires:       %{name} = %{version}-%{release} pkgconfig
33
34%description devel
35GooCanvas is a new canvas widget for GTK+ that uses the cairo 2D library for
36drawing. It has a model/view split, and uses interfaces for canvas items and
37views, so you can easily turn any application object into canvas items.
38
39These are the files used for development.
40
41
42%prep
43%setup -q
44%patch0 -p1
45
46# demo application does not compile properly
47sed -i -e 's/ demo / /g' Makefile.am
48sed -i -e 's/ demo / /g' Makefile.in
49
50%build
51%configure --disable-static
52make %{?_smp_mflags}
53
54
55%install
56rm -rf $RPM_BUILD_ROOT
57make install DESTDIR=$RPM_BUILD_ROOT
58
59# remove static libraries and libtool droppings
60find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
61
62%find_lang %{name}2
63
64%clean
65rm -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
Note: See TracBrowser for help on using the repository browser.