]> git.pld-linux.org Git - packages/gd.git/blob - gd.spec
update to 1.6.2
[packages/gd.git] / gd.spec
1 Summary:        Library for PNG creation
2 Summary(pl):    Biblioteka do tworzenia PNGów
3 Name:           gd
4 Version:        1.6.2
5 Release:        1
6 Copyright:      BSD-style
7 Group:          Libraries
8 Group(pl):      Biblioteki
9 Source0:        ftp://ftp.boutell.com/pub/boutell/gd/%{name}-%{version}.tar.gz
10 Source1:        gd-ref.html
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
16
17 %description
18 This library allows you to easily create and manipulate PNG image files
19 from your C programs.
20
21 %description -l pl
22 Biblioteka pozwalaj±ca na proste tworzenie i manipulowanie plikami graficznymi
23 w formacie PNG.
24
25 %package devel
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}
31
32 %description devel
33 This package contains the files needed for development of programs linked
34 against GD.
35
36 %description -l pl devel
37 Pakiet ten zawiera pliki potrzebne do rozwoju programów
38 korzystaj±cych z biblioteki GD.
39
40 %package static
41 Summary:        Static GD library
42 Summary(pl):    Statyczna biblioteka GD.
43 Group:          Development/Libraries
44 Group(pl):      Programowanie/Biblioteki
45 Requires:       %{name} = %{version}
46
47 %description devel
48 This package contains static GD library.
49
50 %description -l pl static
51 Pakiet ten zawiera statyczn± bibliotekê GD.
52
53 %prep
54 %setup -q -n %{name}-%{version}
55 install %{SOURCE1} .
56
57 %build
58 %configure
59 make
60
61 %install
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
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post   -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
72
73 %files
74 %defattr(644,root,root,755)
75 %doc {NEWS,README}.gz
76 %attr(755,root,root) %{_bindir}/*
77 %attr(755,root,root) %{_libdir}/*.so.*.*
78 %attr(644,root,root) %{_libdir}/libgd.la
79
80 %files devel
81 %defattr(644,root,root,755)
82 %doc index.html.gz gd-ref.html.gz
83 %attr(755,root,root) %{_libdir}/*.so
84 %{_includedir}/*
85
86 %files static
87 %defattr(644,root,root,755)
88 %attr(644,root,root) %{_libdir}/*.a
This page took 0.043771 seconds and 4 git commands to generate.