123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- Summary: A new canvas widget for GTK+ that uses cairo for drawing
- Summary(ja): Cairo を用いた GTK+ 用の新しいキャンバスウィジェット
- Name: goocanvas
- Version: 2.0.1
- Release: 1%{?_dist_release}
- Group: System Environment/Libraries
- License: LGPLv2+
- URL: http://live.gnome.org/GooCanvas
- Source0: ftp://ftp.gnome.org/pub/GNOME/sources/2.0/%{name}/%{name}-%{version}.tar.xz
- Patch0: goocanvas-2.0.1-git20130820.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: pkgconfig, gettext
- BuildRequires: gtk3-devel >= 3.0.0
- BuildRequires: cairo-devel >= 1.10.0
- %description
- GooCanvas is a new canvas widget for GTK+ that uses the cairo 2D library for
- drawing. It has a model/view split, and uses interfaces for canvas items and
- views, so you can easily turn any application object into canvas items.
- %package devel
- Group: Development/Libraries
- Summary: A new canvas widget for GTK+ that uses cairo for drawing
- Summary(ja): Cairo を用いた GTK+ 用の新しいキャンバスウィジェット
- Requires: %{name} = %{version}-%{release} pkgconfig
- %description devel
- GooCanvas is a new canvas widget for GTK+ that uses the cairo 2D library for
- drawing. It has a model/view split, and uses interfaces for canvas items and
- views, so you can easily turn any application object into canvas items.
- These are the files used for development.
- %prep
- %setup -q
- %patch0 -p1
- # demo application does not compile properly
- sed -i -e 's/ demo / /g' Makefile.am
- sed -i -e 's/ demo / /g' Makefile.in
- %build
- %configure --disable-static
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- # remove static libraries and libtool droppings
- find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
- %find_lang %{name}2
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files -f %{name}2.lang
- %defattr(-,root,root,-)
- %doc AUTHORS ChangeLog COPYING NEWS README TODO
- %{_libdir}/lib%{name}-2.0.so.*
- %{_libdir}/girepository-1.0/GooCanvas-2.0.typelib
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/%{name}-2.0
- %{_libdir}/lib%{name}-2.0.so
- %{_libdir}/pkgconfig/%{name}-2.0.pc
- %{_datadir}/gir-1.0/GooCanvas-2.0.gir
- %{_datadir}/gtk-doc/html/%{name}2
- %changelog
- * Sat Sep 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-1
- - update to 2.0.1
- - change BuildRequires: gtk3-devel instead of gtk2-devel
- - add Patch0 (goocanvas-2.0.1-git20130820.patch)
- * Sun Oct 3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15-1
- - updated to 0.15
- - built with rpm-4.8.1 for pkg-config
- * Mon Oct 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.14-1
- - initial build for Vine Linux
- * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Thu Apr 23 2009 Denis <denis@poolshark.org> - 0.14-1
- - Update to upstream 0.14
- * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Sat Jan 17 2009 Denis Leroy <denis@poolshark.org> - 0.13-1
- - Update to upstream 0.13
- - Updated URLs to gnome.org
- * Tue Sep 30 2008 Bernard Johnson <bjohnson@symetrix.com> - 0.10-2
- - demo application does not build; remove it
- * Sun Jun 29 2008 Bernard Johnson <bjohnson@symetrix.com> - 0.10-1
- - v 0.10
- * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9-4
- - Autorebuild for GCC 4.3
- * Mon Aug 27 2007 Bernard Johnson <bjohnson@symetrix.com> - 0.9-3
- - don't explicitely require gtk2; no special versioning needed since FC6+
- * Sun Aug 26 2007 Bernard Johnson <bjohnson@symetrix.com> - 0.9-2
- - require gtk2 not gtk2-devel (bz #254239)
- * Sun Aug 19 2007 Bernard Johnson <bjohnson@symetrix.com> - 0.9-1
- - 0.9
- - update license tag to LGPLv2+
- * Sat May 05 2007 Bernard Johnson <bjohnson@symetrix.com> - 0.6-2
- - bump for incorrect tag in buildsys
- * Mon Mar 19 2007 Bernard Johnson <bjohnson@symetrix.com> - 0.6-1
- - initial release
|