]> git.pld-linux.org Git - packages/agg.git/blame - agg.spec
- based on fedora cvs spec (http://cvs.fedora.redhat.com/viewcvs/rpms/agg/devel/)
[packages/agg.git] / agg.spec
CommitLineData
838beb5e
ER
1Summary: Anti-Grain Geometry
2Name: agg
3Version: 2.5
4Release: 0.1
5License: GPL
6Group: Libraries
7URL: http://www.antigrain.com/
8Source0: http://www.antigrain.com/%{name}-%{version}.tar.gz
9# Source0-md5: ddc67cbdc7d51e1ec984c2ac2724c08a
10Patch0: %{name}-depends.patch
11BuildRequires: SDL-devel
12BuildRequires: XFree86-devel
13BuildRequires: automake
14BuildRequires: freetype-devel
15BuildRequires: libtool
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19A High Quality Rendering Engine for C++
20
21%package devel
22Summary: Support files necessary to compile applications with agg
23Group: Development/Libraries
24Requires: %{name} = %{version}-%{release}
25
26%description devel
27Libraries, headers, and support files necessary to compile
28applications using agg
29
30%prep
31%setup -q
32%patch0 -p1
33
34%build
35%{__aclocal}
36%{__autoheader}
37%{__autoconf}
38%{__libtoolize}
39%{__automake}
40%configure \
41 --disable-gpc
42%{__make}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
48
49rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
50
51%post -p /sbin/ldconfig
52%postun -p /sbin/ldconfig
53
54%files
55%defattr(644,root,root,755)
56%doc authors copying readme
57%attr(755,root,root) %{_libdir}/lib*.so.*
58
59%files devel
60%defattr(644,root,root,755)
61%{_libdir}/*.a
62%{_libdir}/*.so
63%{_pkgconfigdir}/libagg.pc
64%{_includedir}/agg2
65%{_aclocaldir}/libagg.m4
66
67%clean
68rm -r $RPM_BUILD_ROOT
This page took 0.060613 seconds and 4 git commands to generate.