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