63 lines
1.2 KiB
RPMSpec
63 lines
1.2 KiB
RPMSpec
Summary: Anti-Grain Geometry
|
|
Name: agg
|
|
Version: 2.3
|
|
Release: 1.1
|
|
Group: System Environment/Libraries
|
|
URL: http://www.antigrain.com
|
|
License: MIT
|
|
Source: http://www.antigrain.com/%{name}23.tar.gz
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: automake
|
|
Patch1: agg23-optional-gpc.patch
|
|
|
|
%description
|
|
A High Quality Rendering Engine for C++
|
|
|
|
%package devel
|
|
Summary: Support files necessary to compile applications with agg
|
|
Group: Development/Libraries
|
|
Requires: agg = %{version}-%{release}
|
|
|
|
%description devel
|
|
Libraries, headers, and support files necessary to compile applications using agg
|
|
|
|
%prep
|
|
%setup -q -n agg23
|
|
%patch1 -p1 -b .optional-gpc.patch
|
|
|
|
%build
|
|
sh ./autogen.sh
|
|
%configure
|
|
make
|
|
|
|
%install
|
|
%makeinstall
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc authors copying readme
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%files devel
|
|
%{_bindir}/*
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/libagg.pc
|
|
%{_includedir}/agg2
|
|
|
|
%clean
|
|
rm -r $RPM_BUILD_ROOT
|
|
|
|
%changelog
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.3-1.1
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
* Wed Nov 23 2005 Caolan McNamara <caolanm@redhat.com> 2.3-1
|
|
- initial import
|