f2c1ea
Summary: Library of graphics routines used by libgnomecanvas
f2c1ea
Name: libart_lgpl
f2c1ea
Version: 2.3.21
f2c1ea
Release: 10%{?dist}
f2c1ea
URL: http://www.gnome.org/
f2c1ea
Source0: http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/2.3/%{name}-%{version}.tar.bz2
f2c1ea
#Fedora specific patch
f2c1ea
Patch0: libart-multilib.patch
f2c1ea
License: LGPLv2+
f2c1ea
Group: System Environment/Libraries 
f2c1ea
BuildRequires: automake autoconf
f2c1ea
BuildRequires: pkgconfig
f2c1ea
BuildRequires: libtool
f2c1ea
f2c1ea
%description
f2c1ea
Graphics routines used by the GnomeCanvas widget and some other 
f2c1ea
applications. libart renders vector paths and the like.
f2c1ea
f2c1ea
%package devel
f2c1ea
Summary: Libraries and headers for libart_lgpl
f2c1ea
Group: Development/Libraries
f2c1ea
Requires: %{name} = %{version}-%{release}
f2c1ea
f2c1ea
%description devel
f2c1ea
The %{name}-devel package contains libraries and header files for
f2c1ea
developing applications that use %{name}.
f2c1ea
f2c1ea
%prep
f2c1ea
%setup -q
f2c1ea
%patch0 -p1 -b .multilib
f2c1ea
f2c1ea
%build
f2c1ea
libtoolize
f2c1ea
autoreconf
f2c1ea
%configure --disable-static
f2c1ea
make %{?_smp_mflags}
f2c1ea
f2c1ea
%install
f2c1ea
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
f2c1ea
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
f2c1ea
f2c1ea
# fix multilib issues
f2c1ea
%if %{__isa_bits} == 64
f2c1ea
%define wordsize 64
f2c1ea
%else
f2c1ea
%define wordsize 32
f2c1ea
%endif
f2c1ea
f2c1ea
mv $RPM_BUILD_ROOT%{_includedir}/libart-2.0/libart_lgpl/art_config.h \
f2c1ea
   $RPM_BUILD_ROOT%{_includedir}/libart-2.0/libart_lgpl/art_config-%{wordsize}.h
f2c1ea
f2c1ea
cat >$RPM_BUILD_ROOT%{_includedir}/libart-2.0/libart_lgpl/art_config.h <
f2c1ea
#ifndef LIBART_MULTILIB
f2c1ea
#define LIBART_MULTILIB
f2c1ea
f2c1ea
#include <bits/wordsize.h>
f2c1ea
f2c1ea
#if __WORDSIZE == 32
f2c1ea
# include "art_config-32.h"
f2c1ea
#elif __WORDSIZE == 64
f2c1ea
# include "art_config-64.h"
f2c1ea
#else
f2c1ea
# error "unexpected value for __WORDSIZE macro"
f2c1ea
#endif
f2c1ea
f2c1ea
#endif 
f2c1ea
EOF
f2c1ea
f2c1ea
f2c1ea
%post -p /sbin/ldconfig
f2c1ea
f2c1ea
%postun -p /sbin/ldconfig
f2c1ea
f2c1ea
%files
f2c1ea
%defattr(-,root,root,-)
f2c1ea
%doc AUTHORS COPYING NEWS README
f2c1ea
%{_libdir}/lib*.so.*
f2c1ea
f2c1ea
%files devel
f2c1ea
%defattr(-,root,root,-)
f2c1ea
%{_libdir}/lib*.so
f2c1ea
%{_libdir}/pkgconfig/*
f2c1ea
%{_bindir}/libart2-config
f2c1ea
%{_includedir}/*
f2c1ea
f2c1ea
%changelog
f2c1ea
* Mon Aug 18 2014 Peter Robinson <probinson@redhat.com> - 2.3.21-10
f2c1ea
- Generic 32/64 bit platform detection - fix ppc64le build
f2c1ea
f2c1ea
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.3.21-9
f2c1ea
- Mass rebuild 2014-01-24
f2c1ea
f2c1ea
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.3.21-8
f2c1ea
- Mass rebuild 2013-12-27
f2c1ea
f2c1ea
* Tue Jun 18 2013 Jochen Schmitt <Jochen herr-schmitt de> - 2.3.21-7
f2c1ea
- Add aarch64 as a 65-Bit architecture (#975267)
f2c1ea
- Add libtool as a BR
f2c1ea
- Call libtoolize before autoreconf
f2c1ea
f2c1ea
* Fri Mar 29 2013 Jochen Schmitt <Jochen herr-schmitt de> - 2.3.21-6
f2c1ea
- Try to fix aarch64 build issue (#925666)
f2c1ea
f2c1ea
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.21-5
f2c1ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f2c1ea
f2c1ea
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.21-4
f2c1ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f2c1ea
f2c1ea
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.21-3
f2c1ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f2c1ea
f2c1ea
* Fri Sep 24 2010 Parag Nemade <paragn AT fedoraproject.org> - 2.3.21-2
f2c1ea
- Merge-review cleanup (#225987)
f2c1ea
f2c1ea
* Wed Jul  7 2010 Jochen Schmitt <Jochen herr-schmitt de> - 2.3.21-1
f2c1ea
- New upstream release
f2c1ea
f2c1ea
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.20-5
f2c1ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f2c1ea
f2c1ea
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.20-4
f2c1ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f2c1ea
f2c1ea
* Tue Jan 13 2009 Caolán McNamara <caolanm@redhat.com> - 2.3.20-3
f2c1ea
- rebuild to get provides pkgconfig(libart-2.0)
f2c1ea
f2c1ea
* Mon May 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.3.20-2
f2c1ea
- add sparc64 for multilib
f2c1ea
f2c1ea
* Wed Jan 30 2008 Matthias Clasen <mclasen@redhat.com> - 2.3.20-1
f2c1ea
- Update to 2.3.20
f2c1ea
- Drop upstreamed patch
f2c1ea
- Correct license field
f2c1ea
f2c1ea
* Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 2.3.19-3
f2c1ea
- Rebuild for build ID
f2c1ea
f2c1ea
* Thu Mar 01 2007 Behdad Esfahbod <besfahbo@edhat.com> - 2.3.19-2
f2c1ea
- Add upstreamed patch libart-2.3.19-header.patch
f2c1ea
- Resolves: #230571
f2c1ea
f2c1ea
* Wed Feb 28 2007 Matthias Clasen <mclasen@redhat.com> - 2.3.19-1
f2c1ea
- Update to 2.3.19
f2c1ea
f2c1ea
* Tue Feb 27 2007 Matthias Clasen <mclasen@redhat.com> - 2.3.18-1
f2c1ea
- Update to 2.3.18
f2c1ea
f2c1ea
* Mon Jul 31 2006 Jesse Keating <jkeating@redhat.com> - 2.3.17-4
f2c1ea
- Fix typo in header name
f2c1ea
f2c1ea
* Thu Jul 27 2006 Matthias Clasen <mclasen@redhat.com> - 2.3.17-3
f2c1ea
- Fix multilib conflicts
f2c1ea
- Don't ship static libraries
f2c1ea
f2c1ea
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.3.17-2.2.2
f2c1ea
- rebuild
f2c1ea
f2c1ea
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.3.17-2.2.1
f2c1ea
- bump again for double-long bug on ppc(64)
f2c1ea
f2c1ea
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.3.17-2.2
f2c1ea
- rebuilt for new gcc4.1 snapshot and glibc changes
f2c1ea
f2c1ea
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
f2c1ea
- rebuilt
f2c1ea
f2c1ea
* Wed Mar  2 2005 Matthias Clasen <mclasen@redhat.com> 2.3.17-2
f2c1ea
- Rebuild with gcc4
f2c1ea
f2c1ea
* Wed Jan 26 2005 Matthias Clasen <mclasen@redhat.com> 2.3.17-1
f2c1ea
- update to 2.3.17
f2c1ea
f2c1ea
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
f2c1ea
- rebuilt
f2c1ea
f2c1ea
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
f2c1ea
- rebuilt
f2c1ea
f2c1ea
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
f2c1ea
- rebuilt
f2c1ea
f2c1ea
* Mon Oct  6 2003 Alexander Larsson <alexl@redhat.com> 2.3.16-1
f2c1ea
- 2.3.16
f2c1ea
f2c1ea
* Tue Aug 12 2003 Alexander Larsson <alexl@redhat.com> 2.3.14-1
f2c1ea
- 2.3.14
f2c1ea
f2c1ea
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
f2c1ea
- rebuilt
f2c1ea
f2c1ea
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
f2c1ea
- rebuilt
f2c1ea
f2c1ea
* Mon Dec  9 2002 Alexander Larsson <alexl@redhat.com> 2.3.11
f2c1ea
- Update to 2.3.11
f2c1ea
f2c1ea
* Tue Dec 03 2002 Elliot Lee <sopwith@redhat.com> 2.3.10-2
f2c1ea
- Remove unpackaged file
f2c1ea
f2c1ea
* Sat Jul 27 2002 Havoc Pennington <hp@redhat.com>
f2c1ea
- 2.3.10, required by nautilus 2.0.2 for some reason
f2c1ea
f2c1ea
* Mon Jun 24 2002 Havoc Pennington <hp@redhat.com>
f2c1ea
- 2.3.9, should give gdm login screen a kick in the ass
f2c1ea
f2c1ea
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
f2c1ea
- automated rebuild
f2c1ea
f2c1ea
* Sun May 26 2002 Tim Powers <timp@redhat.com>
f2c1ea
- automated rebuild
f2c1ea
f2c1ea
* Fri May 17 2002 Havoc Pennington <hp@redhat.com>
f2c1ea
- rebuild in different environment
f2c1ea
f2c1ea
* Wed Apr 24 2002 Havoc Pennington <hp@redhat.com>
f2c1ea
 - rebuild in different environment
f2c1ea
f2c1ea
* Thu Apr  4 2002 Jeremy Katz <katzj@redhat.com>
f2c1ea
- rebuild
f2c1ea
f2c1ea
* Thu Jan 24 2002 Havoc Pennington <hp@redhat.com>
f2c1ea
- actually increase version to 2.3.8
f2c1ea
f2c1ea
* Thu Jan 24 2002 Havoc Pennington <hp@redhat.com>
f2c1ea
- upgrade to 2.3.8 so header files don't break eel2
f2c1ea
f2c1ea
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
f2c1ea
- automated rebuild
f2c1ea
f2c1ea
* Wed Jan  2 2002 Havoc Pennington <hp@redhat.com>
f2c1ea
- 2.3.7.91 snap
f2c1ea
f2c1ea
* Sun Nov 25 2001 Havoc Pennington <hp@redhat.com>
f2c1ea
- cvs snap, rebuild with new glib
f2c1ea
f2c1ea
* Thu Oct  4 2001 Havoc Pennington <hp@redhat.com>
f2c1ea
- 2.3.6
f2c1ea
f2c1ea
* Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
f2c1ea
- new CVS snap with upstream changes merged
f2c1ea
f2c1ea
* Thu Sep 13 2001 Havoc Pennington <hp@redhat.com>
f2c1ea
- Initial build.
f2c1ea
f2c1ea