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