]> git.pld-linux.org Git - packages/agg.git/blame - agg.spec
- rel 2
[packages/agg.git] / agg.spec
CommitLineData
3e3a5633 1Summary: A High Quality Rendering Engine for C++
500bc5a4 2Summary(pl.UTF-8): Silnik renderujący wysokiej jakości dla C++
838beb5e
ER
3Name: agg
4Version: 2.5
df7133f3 5Release: 2
3e3a5633 6License: GPL v2+
838beb5e 7Group: Libraries
838beb5e
ER
8Source0: http://www.antigrain.com/%{name}-%{version}.tar.gz
9# Source0-md5: ddc67cbdc7d51e1ec984c2ac2724c08a
10Patch0: %{name}-depends.patch
f3fc0867 11URL: http://www.antigrain.com/
838beb5e 12BuildRequires: SDL-devel
f3fc0867 13BuildRequires: autoconf
838beb5e
ER
14BuildRequires: automake
15BuildRequires: freetype-devel
c70bbd4b 16BuildRequires: libstdc++-devel
838beb5e 17BuildRequires: libtool
c70bbd4b 18BuildRequires: pkgconfig
956123cc 19BuildRequires: xorg-lib-libX11-devel
838beb5e
ER
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
3e3a5633
ER
23Anti-Grain Geometry (AGG) is a general purpose graphical toolkit
24written completely in standard and platform independent C++. It can be
25used in many areas of computer programming where high quality 2D
26graphics is an essential part of the project.
27
28AGG uses only C++ and standard C runtime functions, such as memcpy,
29sin, cos, sqrt, etc. The basic algorithms don't even use C++ Standard
30Template Library. Thus, AGG can be used in a very large number of
31applications, including embedded systems.
838beb5e 32
ae0d6b25
JR
33%description -l pl.UTF-8
34Anti-Grain Geometry (AGG) to toolkit graficzny ogólnego przeznaczenia
35napisany całkowicie w standardowym i niezależnym od platformy C++.
36Może być używany w wielu zastosowaniach z zakresu programowania gdzie
37zasadniczą częścią projektu jest wysokiej jakości grafika 2D.
f3fc0867 38
ae0d6b25
JR
39AGG używa tylko C++ i standardowych funkcji C, takich jak memcpy, sin,
40cos, sqrt itp. Podstawowe algorytmy nie używają nawet standardowej
41biblioteki C++. W ten sposób AGG może być używany w bardzo wielu
42zastosowaniach, także na systemach wbudowanych.
f3fc0867 43
838beb5e
ER
44%package devel
45Summary: Support files necessary to compile applications with agg
500bc5a4 46Summary(pl.UTF-8): Pliki potrzebne do kompilowania aplikacji z użyciem agg
838beb5e
ER
47Group: Development/Libraries
48Requires: %{name} = %{version}-%{release}
c70bbd4b
JB
49Requires: libstdc++-devel
50# libaggfontfreetype R: freetype-devel
51# libaggplatformsdl R: SDL-devel
52# libaggplatformX11 R: xorg-lib-libX11-devel
838beb5e
ER
53
54%description devel
f3fc0867
JB
55Header and support files necessary to compile applications using agg.
56
ae0d6b25
JR
57%description devel -l pl.UTF-8
58Pliki nagłówkowe i pomocnicze potrzebne do kompilowania aplikacji z
59użyciem agg.
838beb5e 60
1ca4835f
ER
61%package static
62Summary: Static agg library
500bc5a4 63Summary(pl.UTF-8): Statyczna biblioteka agg
1ca4835f
ER
64Group: Development/Libraries
65Requires: %{name}-devel = %{version}-%{release}
66
67%description static
68Static agg library.
69
ae0d6b25 70%description static -l pl.UTF-8
f3fc0867
JB
71Statyczna biblioteka agg.
72
838beb5e
ER
73%prep
74%setup -q
75%patch0 -p1
76
77%build
c70bbd4b 78%{__libtoolize}
838beb5e
ER
79%{__aclocal}
80%{__autoheader}
81%{__autoconf}
838beb5e
ER
82%{__automake}
83%configure \
84 --disable-gpc
85%{__make}
86
87%install
88rm -rf $RPM_BUILD_ROOT
f3fc0867 89
838beb5e
ER
90%{__make} install \
91 DESTDIR=$RPM_BUILD_ROOT
92
f3fc0867
JB
93%clean
94rm -rf $RPM_BUILD_ROOT
838beb5e
ER
95
96%post -p /sbin/ldconfig
97%postun -p /sbin/ldconfig
98
99%files
100%defattr(644,root,root,755)
101%doc authors copying readme
c70bbd4b 102%attr(755,root,root) %{_libdir}/libagg*.so.*.*.*
838beb5e
ER
103
104%files devel
105%defattr(644,root,root,755)
c70bbd4b
JB
106%attr(755,root,root) %{_libdir}/libagg*.so
107%{_libdir}/libagg*.la
838beb5e 108%{_includedir}/agg2
1ca4835f 109%{_pkgconfigdir}/libagg.pc
838beb5e
ER
110%{_aclocaldir}/libagg.m4
111
1ca4835f
ER
112%files static
113%defattr(644,root,root,755)
c70bbd4b 114%{_libdir}/libagg*.a
This page took 0.115413 seconds and 4 git commands to generate.