Summary: A High Quality Rendering Engine for C++
+Summary(pl): Silnik renderuj±cy wysokiej jako¶ci dla C++
Name: agg
Version: 2.5
Release: 0.1
License: GPL v2+
Group: Libraries
-URL: http://www.antigrain.com/
Source0: http://www.antigrain.com/%{name}-%{version}.tar.gz
# Source0-md5: ddc67cbdc7d51e1ec984c2ac2724c08a
Patch0: %{name}-depends.patch
+URL: http://www.antigrain.com/
BuildRequires: SDL-devel
BuildRequires: XFree86-devel
+BuildRequires: autoconf
BuildRequires: automake
BuildRequires: freetype-devel
BuildRequires: libtool
Template Library. Thus, AGG can be used in a very large number of
applications, including embedded systems.
+%description -l pl
+Anti-Grain Geometry (AGG) to toolkit graficzny ogólnego przeznaczenia
+napisany ca³kowicie w standardowym i niezale¿nym od platformy C++.
+Mo¿e byæ u¿ywany w wielu zastosowaniach z zakresu programowania gdzie
+zasadnicz± czê¶ci± projektu jest wysokiej jako¶ci grafika 2D.
+
+AGG u¿ywa tylko C++ i standardowych funkcji C, takich jak memcpy, sin,
+cos, sqrt itp. Podstawowe algorytmy nie u¿ywaj± nawet standardowej
+biblioteki C++. W ten sposób AGG mo¿e byæ u¿ywany w bardzo wielu
+zastosowaniach, tak¿e na systemach wbudowanych.
+
%package devel
Summary: Support files necessary to compile applications with agg
+Summary(pl): Pliki potrzebne do kompilowania aplikacji z u¿yciem agg
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
-Libraries, headers, and support files necessary to compile
-applications using agg
+Header and support files necessary to compile applications using agg.
+
+%description devel -l pl
+Pliki nag³ówkowe i pomocnicze potrzebne do kompilowania aplikacji z
+u¿yciem agg.
%package static
Summary: Static agg library
+Summary(pl): Statyczna biblioteka agg
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
Static agg library.
+%description static -l pl
+Statyczna biblioteka agg.
+
%prep
%setup -q
%patch0 -p1
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+%clean
+rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(644,root,root,755)
%doc authors copying readme
-%attr(755,root,root) %{_libdir}/lib*.so.*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
%files devel
%defattr(644,root,root,755)
-%{_libdir}/*.so
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/*.la
%{_includedir}/agg2
%{_pkgconfigdir}/libagg.pc
%{_aclocaldir}/libagg.m4