|
|
ffe977 |
Summary: Anti-Grain Geometry graphical rendering engine
|
|
|
ffe977 |
Name: agg
|
|
|
ffe977 |
Version: 2.5
|
|
|
ffe977 |
Release: 18%{?dist}
|
|
|
ffe977 |
Group: System Environment/Libraries
|
|
|
ffe977 |
URL: http://www.antigrain.com
|
|
|
ffe977 |
License: GPLv2+
|
|
|
ffe977 |
#Source0: http://www.antigrain.com/%{name}-%{version}.tar.gz
|
|
|
ffe977 |
Source0: %{name}-free-%{version}.tar.gz
|
|
|
ffe977 |
# agg contains gpc.c, 'free for non-commercial use', we cannot ship.
|
|
|
ffe977 |
# We use this script to remove the non-free code before shipping it.
|
|
|
ffe977 |
# Download the upstream tarball and invoke this script while in the
|
|
|
ffe977 |
# tarball's directory:
|
|
|
ffe977 |
# sh agg-generate-tarball.sh 2.5
|
|
|
ffe977 |
Source1: agg-generate-tarball.sh
|
|
|
ffe977 |
|
|
|
ffe977 |
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
ffe977 |
BuildRequires: automake, libtool, libX11-devel, freetype-devel, SDL-devel
|
|
|
ffe977 |
|
|
|
ffe977 |
Patch0: agg-2.4-depends.patch
|
|
|
ffe977 |
Patch1: agg-2.5-pkgconfig.patch
|
|
|
ffe977 |
Patch2: agg-2.5-autotools.patch
|
|
|
ffe977 |
|
|
|
ffe977 |
%description
|
|
|
ffe977 |
A High Quality Rendering Engine for C++.
|
|
|
ffe977 |
|
|
|
ffe977 |
%package devel
|
|
|
ffe977 |
Summary: Support files necessary to compile applications with agg
|
|
|
ffe977 |
Group: Development/Libraries
|
|
|
ffe977 |
Requires: agg = %{version}-%{release}, freetype-devel
|
|
|
ffe977 |
# for _datadir/automake ownership
|
|
|
ffe977 |
Requires: automake
|
|
|
ffe977 |
|
|
|
ffe977 |
%description devel
|
|
|
ffe977 |
Libraries, headers, and support files necessary to compile applications
|
|
|
ffe977 |
using agg.
|
|
|
ffe977 |
|
|
|
ffe977 |
%prep
|
|
|
ffe977 |
%setup -q
|
|
|
ffe977 |
%patch0 -p1 -b .depends
|
|
|
ffe977 |
%patch1 -p1 -b .pkgconfig
|
|
|
ffe977 |
%patch2 -p0 -b .autotools
|
|
|
ffe977 |
aclocal
|
|
|
ffe977 |
autoheader
|
|
|
ffe977 |
autoconf
|
|
|
ffe977 |
libtoolize --force
|
|
|
ffe977 |
automake --foreign --add-missing --ignore-deps
|
|
|
ffe977 |
|
|
|
ffe977 |
%build
|
|
|
ffe977 |
%configure --disable-static --disable-gpc
|
|
|
ffe977 |
# parallel build fails in examples/ because the .la is in _LDFLAGS instead of
|
|
|
ffe977 |
# _LIBADD
|
|
|
ffe977 |
make #%%{?_smp_mflags}
|
|
|
ffe977 |
|
|
|
ffe977 |
%install
|
|
|
ffe977 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ffe977 |
make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p'
|
|
|
ffe977 |
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
ffe977 |
|
|
|
ffe977 |
rm -rf __dist_examples __clean_examples
|
|
|
ffe977 |
cp -a examples __clean_examples
|
|
|
ffe977 |
make -C __clean_examples distclean
|
|
|
ffe977 |
rm -rf __clean_examples/Makefile.am __clean_examples/{win32*,macosx*,BeOS}
|
|
|
ffe977 |
mkdir __dist_examples
|
|
|
ffe977 |
mv __clean_examples __dist_examples/examples
|
|
|
ffe977 |
|
|
|
ffe977 |
%post -p /sbin/ldconfig
|
|
|
ffe977 |
|
|
|
ffe977 |
%postun -p /sbin/ldconfig
|
|
|
ffe977 |
|
|
|
ffe977 |
%files
|
|
|
ffe977 |
%defattr(-,root,root,-)
|
|
|
ffe977 |
%doc authors copying readme news
|
|
|
ffe977 |
%{_libdir}/lib*.so.*
|
|
|
ffe977 |
|
|
|
ffe977 |
%files devel
|
|
|
ffe977 |
%defattr(-,root,root,-)
|
|
|
ffe977 |
%doc __dist_examples/examples
|
|
|
ffe977 |
%{_libdir}/*.so
|
|
|
ffe977 |
%{_libdir}/pkgconfig/libagg.pc
|
|
|
ffe977 |
%{_includedir}/agg2/
|
|
|
ffe977 |
%{_datadir}/aclocal/libagg.m4
|
|
|
ffe977 |
|
|
|
ffe977 |
%clean
|
|
|
ffe977 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ffe977 |
|
|
|
ffe977 |
%changelog
|
|
|
ffe977 |
* Tue Jan 28 2014 Daniel Mach <dmach@redhat.com> - 2.5-18
|
|
|
ffe977 |
- Mass rebuild 2014-01-24
|
|
|
ffe977 |
|
|
|
ffe977 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.5-17
|
|
|
ffe977 |
- Mass rebuild 2013-12-27
|
|
|
ffe977 |
|
|
|
ffe977 |
* Fri Feb 22 2013 Jon Ciesla <limburgher@gmail.com> - 2.5-16
|
|
|
ffe977 |
- Fix FTBFS, BZ 913873.
|
|
|
ffe977 |
|
|
|
ffe977 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-15
|
|
|
ffe977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
ffe977 |
|
|
|
ffe977 |
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-14
|
|
|
ffe977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
ffe977 |
|
|
|
ffe977 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-13
|
|
|
ffe977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
ffe977 |
|
|
|
ffe977 |
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-12
|
|
|
ffe977 |
- Rebuilt for glibc bug#747377
|
|
|
ffe977 |
|
|
|
ffe977 |
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-11
|
|
|
ffe977 |
- Rebuilt for glibc bug#747377
|
|
|
ffe977 |
|
|
|
ffe977 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-10
|
|
|
ffe977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
ffe977 |
|
|
|
ffe977 |
* Fri Jan 29 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> - 2.5-9
|
|
|
ffe977 |
- also remove include/agg_conv_gpc.h as it also carries a copy of the non-Free
|
|
|
ffe977 |
GPC license (upstream also recommends removing that file under
|
|
|
ffe977 |
http://www.antigrain.com/license/index.html#toc0005) (#559611)
|
|
|
ffe977 |
|
|
|
ffe977 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-8
|
|
|
ffe977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
ffe977 |
|
|
|
ffe977 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-7
|
|
|
ffe977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
ffe977 |
|
|
|
ffe977 |
* Tue Feb 5 2008 Patrice Dumas <pertusus@free.fr> - 2.5-6
|
|
|
ffe977 |
- remove non free files
|
|
|
ffe977 |
- minor cleanups
|
|
|
ffe977 |
- parallel build fails
|
|
|
ffe977 |
|
|
|
ffe977 |
* Fri Aug 03 2007 Caolan McNamara <caolanm@redhat.com> - 2.5-4
|
|
|
ffe977 |
- clarify license
|
|
|
ffe977 |
- source upstream silently changed even though version remained
|
|
|
ffe977 |
unchanged
|
|
|
ffe977 |
|
|
|
ffe977 |
* Tue Jun 26 2007 Caolan McNamara <caolanm@redhat.com> - 2.5-3
|
|
|
ffe977 |
- Resolves: rhbz#245650 -devel Require: freetype-devel
|
|
|
ffe977 |
|
|
|
ffe977 |
* Mon Apr 23 2007 Caolan McNamara <caolanm@redhat.com> - 2.5-2
|
|
|
ffe977 |
- Resolves: rhbz#237493 misapplied patch
|
|
|
ffe977 |
|
|
|
ffe977 |
* Sat Jan 06 2007 Caolan McNamara <caolanm@redhat.com> - 2.5-1
|
|
|
ffe977 |
- bump to 2.5
|
|
|
ffe977 |
|
|
|
ffe977 |
* Fri Nov 10 2006 Caolan McNamara <caolanm@redhat.com> - 2.4-3
|
|
|
ffe977 |
- Resolves: rhbz#214970 rebuild with new 2.4 sources
|
|
|
ffe977 |
|
|
|
ffe977 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.4-2.1
|
|
|
ffe977 |
- rebuild
|
|
|
ffe977 |
|
|
|
ffe977 |
* Mon Jul 10 2006 Caolan McNamara <caolanm@redhat.com> - 2.4-2
|
|
|
ffe977 |
- rh#198174# add extra links from libs to their runtime requirements
|
|
|
ffe977 |
|
|
|
ffe977 |
* Wed May 10 2006 Caolan McNamara <caolanm@redhat.com> - 2.4-1
|
|
|
ffe977 |
- next version
|
|
|
ffe977 |
|
|
|
ffe977 |
* Fri Feb 17 2006 Karsten Hopp <karsten@redhat.de> 2.3-4
|
|
|
ffe977 |
- add BuildRequires freetype-devel for ft2build.h
|
|
|
ffe977 |
|
|
|
ffe977 |
* Mon Feb 13 2006 Caolan McNamara <caolanm@redhat.com> - 2.3-3
|
|
|
ffe977 |
- BuildRequires
|
|
|
ffe977 |
|
|
|
ffe977 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.3-2.1
|
|
|
ffe977 |
- bump again for double-long bug on ppc(64)
|
|
|
ffe977 |
|
|
|
ffe977 |
* Wed Feb 08 2006 Caolan McNamara <caolanm@redhat.com> - 2.3-2
|
|
|
ffe977 |
- rh#180341# BuildRequires
|
|
|
ffe977 |
|
|
|
ffe977 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.3-1.1
|
|
|
ffe977 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
ffe977 |
|
|
|
ffe977 |
* Wed Nov 23 2005 Caolan McNamara <caolanm@redhat.com> 2.3-1
|
|
|
ffe977 |
- initial import
|