1 Summary: Library for PNG creation
2 Summary(pl): Biblioteka do tworzenia PNGów
9 Source0: ftp://ftp.boutell.com/pub/boutell/gd/%{name}-%{version}.tar.gz
11 BuildRequires: zlib-devel
12 BuildRequires: libpng-devel
13 BuildRequires: freetype-devel
14 URL: http://www.boutell.com/gd/
15 BuildRoot: /tmp/%{name}-%{version}-root
18 This library allows you to easily create and manipulate PNG image files
22 Biblioteka pozwalaj±ca na proste tworzenie i manipulowanie plikami graficznymi
26 Summary: Development part of the GD library
27 Summary(pl): Czê¶æ biblioteki GD przeznaczona dla developerów.
28 Group: Development/Libraries
29 Group(pl): Programowanie/Biblioteki
30 Requires: %{name} = %{version}
33 This package contains the files needed for development of programs linked
36 %description -l pl devel
37 Pakiet ten zawiera pliki potrzebne do rozwoju programów
38 korzystaj±cych z biblioteki GD.
41 Summary: Static GD library
42 Summary(pl): Statyczna biblioteka GD.
43 Group: Development/Libraries
44 Group(pl): Programowanie/Biblioteki
45 Requires: %{name} = %{version}
48 This package contains static GD library.
50 %description -l pl static
51 Pakiet ten zawiera statyczn± bibliotekê GD.
54 %setup -q -n %{name}-%{version}
62 rm -rf $RPM_BUILD_ROOT
63 make DESTDIR="$RPM_BUILD_ROOT" install
64 strip $RPM_BUILD_ROOT{%{_bindir}/*,%{_libdir}/*.so} || :
65 gzip -9nf NEWS README index.html gd-ref.html
68 rm -rf $RPM_BUILD_ROOT
70 %post -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
74 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_bindir}/*
77 %attr(755,root,root) %{_libdir}/*.so.*.*
78 %attr(644,root,root) %{_libdir}/libgd.la
81 %defattr(644,root,root,755)
82 %doc index.html.gz gd-ref.html.gz
83 %attr(755,root,root) %{_libdir}/*.so
87 %defattr(644,root,root,755)
88 %attr(644,root,root) %{_libdir}/*.a