|
|
|
%define gettext_package libgnomecanvas-2.0
|
|
|
|
|
|
|
|
%define gtk2_version 2.1.2
|
|
|
|
%define libart_lgpl_version 2.3.8
|
|
|
|
%define libglade2_version 2.0.1
|
|
|
|
%define gail_version 1.9.0
|
|
|
|
|
|
|
|
Summary: GnomeCanvas widget
|
|
|
|
Name: libgnomecanvas
|
|
|
|
Version: 2.20.1
|
|
|
|
Release: 2%{?dist}
|
|
|
|
URL: http://www.gnome.org/
|
|
|
|
Source0: http://download.gnome.org/sources/libgnomecanvas/2.20/%{name}-%{version}.tar.bz2
|
|
|
|
Patch0: libgnomecanvas-2.19.2-avoid-tearing.patch
|
|
|
|
Patch1: zoom-redraw-fix.patch
|
|
|
|
License: LGPLv2+
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Requires: gtk2 >= %{gtk2_version}
|
|
|
|
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
|
|
BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version}
|
|
|
|
BuildRequires: libglade2-devel >= %{libglade2_version}
|
|
|
|
BuildRequires: gail-devel >= %{gail_version}
|
|
|
|
BuildRequires: libtool gettext
|
|
|
|
BuildRequires: perl(XML::Parser)
|
|
|
|
|
|
|
|
%description
|
|
|
|
The canvas widget allows you to create custom displays using stock items
|
|
|
|
such as circles, lines, text, and so on. It was originally a port of the
|
|
|
|
Tk canvas widget but has evolved quite a bit over time.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Libraries and headers for libgnomecanvas
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %name = %{version}-%{release}
|
|
|
|
Conflicts: gnome-libs-devel < 1.4.1.2
|
|
|
|
Requires: gtk2-devel >= %{gtk2_version}
|
|
|
|
Requires: libart_lgpl-devel >= %{libart_lgpl_version}
|
|
|
|
Requires: libglade2-devel >= %{libglade2_version}
|
|
|
|
Requires: pkgconfig
|
|
|
|
# for /usr/share/gtk-doc/html
|
|
|
|
Requires: gtk-doc
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
|
|
|
The canvas widget allows you to create custom displays using stock items
|
|
|
|
such as circles, lines, text, and so on. It was originally a port of the
|
|
|
|
Tk canvas widget but has evolved quite a bit over time.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1 -b .avoid-tearing
|
|
|
|
%patch1 -p1 -b .zoom-redraw-fix
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS=$(echo $RPM_OPT_FLAGS |sed -e 's/O2/O1/g')
|
|
|
|
%configure --disable-gtk-doc
|
|
|
|
export tagname=CC
|
|
|
|
make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
export tagname=CC
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.{a,la}
|
|
|
|
|
|
|
|
%find_lang %{gettext_package}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{gettext_package}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING.LIB AUTHORS NEWS README
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%dir %{_libdir}/libglade
|
|
|
|
%dir %{_libdir}/libglade/2.0
|
|
|
|
%{_libdir}/libglade/2.0/libcanvas.so
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_datadir}/gtk-doc/html/libgnomecanvas
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Mon Nov 12 2007 Matthias Clasen <mclasen@redhat.com> 2.20.1-2
|
|
|
|
- Readd the scrolling patch, with an extra fix for redraw problems
|
|
|
|
|
|
|
|
* Mon Oct 15 2007 Matthias Clasen <mclasen@redhat.com> 2.20.1-1
|
|
|
|
- Update to 2.20.1 (translation updates)
|
|
|
|
|
|
|
|
* Tue Oct 9 2007 Matthias Clasen <mclasen@redhat.com> 2.20.0-2
|
|
|
|
- Take out the scrolling patch, since it causes redraw problems (#289281)
|
|
|
|
|
|
|
|
* Mon Sep 17 2007 Matthias Clasen <mclasen@redhat.com> 2.20.0-1
|
|
|
|
- Update to 2.20.0
|
|
|
|
|
|
|
|
* Sat Aug 25 2007 Ray Strode <rstrode@redhat.com> - 2.19.2-2
|
|
|
|
- Apply patch from Federico Mena Quintero to avoid
|
|
|
|
tearing during scrolls and such
|
|
|
|
(See http://mail.gnome.org/archives/desktop-devel-list/2007-August/msg00159.html)
|
|
|
|
|
|
|
|
* Tue Aug 14 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.2-1
|
|
|
|
- Update to 2.19.2
|
|
|
|
|
|
|
|
* Tue Aug 7 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.1-2
|
|
|
|
- Update the license field
|
|
|
|
|
|
|
|
* Wed Jul 11 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.1-1
|
|
|
|
- Update to 2.19.1
|
|
|
|
|
|
|
|
* Tue Jul 10 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.0-1
|
|
|
|
- Update to 2.19.0
|
|
|
|
|
|
|
|
* Thu Dec 7 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.0-5
|
|
|
|
- Small spec file cleanups
|
|
|
|
|
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.14.0-4.1
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Fri Jun 9 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.0-4
|
|
|
|
- Add missing BuildRequires
|
|
|
|
|
|
|
|
* Mon Jun 5 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.0-3
|
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
* Tue May 23 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.0-2
|
|
|
|
- Fix multilib conflicts
|
|
|
|
- Don't ship .la files
|
|
|
|
- Some spec file cleanups
|
|
|
|
|
|
|
|
* Mon Mar 13 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.0-1
|
|
|
|
- Update to 2.14.0
|
|
|
|
|
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.13.0-1.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.13.0-1.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
|
|
|
* Tue Jan 03 2006 Matthias Clasen <mclasen@redhat.com> - 2.13.0-1
|
|
|
|
- Update to 2.13.0
|
|
|
|
|
|
|
|
* Tue Dec 13 2005 Jeremy Katz <katzj@redhat.com> - 2.12.0-1.2
|
|
|
|
- rebuild with -O1 to workaround (#175669)
|
|
|
|
|
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Sep 7 2005 Matthias Clasen <mclasen@redhat.com> - 2.12.0-1
|
|
|
|
- update to 2.12.0
|
|
|
|
|
|
|
|
* Tue Aug 16 2005 Warren Togami <wtogami@redhat.com> - 2.11.1-3
|
|
|
|
- rebuild for new cairo
|
|
|
|
|
|
|
|
* Tue Aug 16 2005 Matthias Clasen <mclasen@redhat.com>
|
|
|
|
- Rebuilt
|
|
|
|
|
|
|
|
* Tue Jun 28 2005 Matthias Clasen <mclasen@redhat.com> - 2.11.1-1
|
|
|
|
- Update to 2.11.1
|
|
|
|
|
|
|
|
* Mon Mar 14 2005 Matthias Clasen <mclasen@redhat.com> - 2.10.0-1
|
|
|
|
- update to 2.10.0
|
|
|
|
|
|
|
|
* Wed Mar 2 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.2-1
|
|
|
|
- update to 2.9.2
|
|
|
|
|
|
|
|
* Wed Jan 26 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.1-1
|
|
|
|
- update to 2.9.1
|
|
|
|
|
|
|
|
* Wed Sep 22 2004 Alexander Larsson <alexl@redhat.com> - 2.8.0-1
|
|
|
|
- update to 2.8.0
|
|
|
|
|
|
|
|
* Tue Aug 31 2004 Alex Larsson <alexl@redhat.com> 2.7.92-1
|
|
|
|
- update to 2.7.92
|
|
|
|
|
|
|
|
* Fri Jul 30 2004 Matthias Clasen <mclasen@redhat.com> 2.7.1-1
|
|
|
|
- update to 2.7.1
|
|
|
|
- drop the gtk-doc patch
|
|
|
|
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu May 20 2004 Matthias Clasen <mclasen@redhat.com> 2.6.1.1-1
|
|
|
|
- update to 2.6.1.1
|
|
|
|
|
|
|
|
* Thu Apr 1 2004 Alex Larsson <alexl@redhat.com> 2.6.0-1
|
|
|
|
- update to 2.6.0
|
|
|
|
|
|
|
|
* Thu Mar 11 2004 Alex Larsson <alexl@redhat.com> 2.5.91-2
|
|
|
|
- enable gtk-doc
|
|
|
|
|
|
|
|
* Wed Mar 10 2004 Alexander Larsson <alexl@redhat.com> 2.5.91-1
|
|
|
|
- update to 2.5.91
|
|
|
|
|
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Feb 25 2004 Alexander Larsson <alexl@redhat.com> 2.5.90-1
|
|
|
|
- 2.5.90
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue Jan 20 2004 Alexander Larsson <alexl@redhat.com> 2.5.3-1
|
|
|
|
- 2.5.3
|
|
|
|
|
|
|
|
* Wed Sep 3 2003 Alexander Larsson <alexl@redhat.com> 2.4.0-1
|
|
|
|
- 2.4.0
|
|
|
|
|
|
|
|
* Tue Aug 12 2003 Alexander Larsson <alexl@redhat.com> 2.3.6-1
|
|
|
|
- gnome 2.3 update
|
|
|
|
|
|
|
|
* Wed Aug 6 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- Fix libtool
|
|
|
|
|
|
|
|
* Wed Jun 5 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Jun 5 2003 Jeremy Katz <katzj@redhat.com> 2.2.0.2-2
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Tue Apr 8 2003 Jeremy Katz <katzj@redhat.com> 2.2.0.2-1
|
|
|
|
- update to 2.2.0.2
|
|
|
|
- use system libtool
|
|
|
|
|
|
|
|
* Thu Jan 23 2003 Alexander Larsson <alexl@redhat.com> 2.2.0.1-1
|
|
|
|
- Update to 2.2.0.1
|
|
|
|
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Jan 16 2003 Alexander Larsson <alexl@redhat.com> 2.1.90-2
|
|
|
|
- Run libtoolize to make package rebuilding possible
|
|
|
|
without the package already installed (#78045)
|
|
|
|
|
|
|
|
* Thu Jan 9 2003 Alexander Larsson <alexl@redhat.com>
|
|
|
|
- Update to 2.1.90
|
|
|
|
|
|
|
|
* Fri Nov 8 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 2.1.0
|
|
|
|
|
|
|
|
* Mon Aug 12 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 2.0.2
|
|
|
|
|
|
|
|
* Fri Jul 12 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- fix gettext package name
|
|
|
|
|
|
|
|
* Mon Jun 17 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- remove empty AUTHORS/README
|
|
|
|
|
|
|
|
* Sat Jun 15 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 2.0.1
|
|
|
|
- check file list, add glade module and gtk-doc docs
|
|
|
|
|
|
|
|
* Sun May 26 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Fri May 17 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild in different environment
|
|
|
|
|
|
|
|
* Fri May 17 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild in different environment
|
|
|
|
|
|
|
|
* Fri May 17 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 1.117.0
|
|
|
|
|
|
|
|
* Thu May 2 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild for new libglade
|
|
|
|
- 1.116.0
|
|
|
|
|
|
|
|
* Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
|
|
|
|
- 1.114.0
|
|
|
|
|
|
|
|
* Tue Feb 19 2002 Alex Larsson <alexl@redhat.com>
|
|
|
|
- Add nasty version check stuff.
|
|
|
|
|
|
|
|
* Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 1.111.0
|
|
|
|
|
|
|
|
* Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
|
|
|
|
- Version 1.110.0
|
|
|
|
|
|
|
|
* Fri Jan 25 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild in rawhide
|
|
|
|
|
|
|
|
* Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 1.108.0.90 cvs snap
|
|
|
|
|
|
|
|
* Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
|
|
|
|
- cvs snap 1.105.0.90, gtk 1.3.11
|
|
|
|
|
|
|
|
* Fri Oct 26 2001 Havoc Pennington <hp@redhat.com>
|
|
|
|
- new cvs snap, rebuild for gtk 1.3.10,
|
|
|
|
add libglade dep, fix libart dep
|
|
|
|
|
|
|
|
* Fri Oct 5 2001 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild cvs snap for new glib/gtk
|
|
|
|
|
|
|
|
* Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
|
|
|
|
- new cvs snap with upstream changes
|
|
|
|
|
|
|
|
* Thu Sep 13 2001 Havoc Pennington <hp@redhat.com>
|
|
|
|
- Initial build.
|
|
|
|
|
|
|
|
|