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