]> git.pld-linux.org Git - packages/gd.git/blob - gd.spec
6c2df7672aa16e5f642bcad082b9e9e37a9e79bb
[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.3
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 BuildRequires:  zlib-devel
11 BuildRequires:  libpng-devel
12 BuildRequires:  freetype-devel
13 URL:            http://www.boutell.com/gd/
14 BuildRoot:      /tmp/%{name}-%{version}-root
15
16 %description
17 This library allows you to easily create and manipulate PNG image files
18 from your C programs.
19
20 %description -l pl
21 Biblioteka pozwalaj±ca na proste tworzenie i manipulowanie plikami graficznymi
22 w formacie PNG.
23
24 %package devel
25 Summary:        Development part of the GD library
26 Summary(pl):    Czê¶æ biblioteki GD przeznaczona dla developerów.
27 Group:          Development/Libraries
28 Group(pl):      Programowanie/Biblioteki
29 Requires:       %{name} = %{version}
30
31 %description devel
32 This package contains the files needed for development of programs linked
33 against GD.
34
35 %description -l pl devel
36 Pakiet ten zawiera pliki potrzebne do rozwoju programów
37 korzystaj±cych z biblioteki GD.
38
39 %package static
40 Summary:        Static GD library
41 Summary(pl):    Statyczna biblioteka GD.
42 Group:          Development/Libraries
43 Group(pl):      Programowanie/Biblioteki
44 Requires:       %{name} = %{version}
45
46 %description devel
47 This package contains static GD library.
48
49 %description -l pl static
50 Pakiet ten zawiera statyczn± bibliotekê GD.
51
52 %prep
53 %setup -q 
54
55 %build
56 %configure
57 make
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 make DESTDIR="$RPM_BUILD_ROOT" install
62 strip $RPM_BUILD_ROOT{%{_bindir}/*,%{_libdir}/*.so} || :
63 gzip -9nf NEWS README index.html 
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files
72 %defattr(644,root,root,755)
73 %doc {NEWS,README}.gz
74 %attr(755,root,root) %{_bindir}/*
75 %attr(755,root,root) %{_libdir}/*.so.*.*
76
77 %files devel
78 %defattr(644,root,root,755)
79 %doc index.html.gz 
80 %attr(755,root,root) %{_libdir}/*.so
81 %attr(644,root,root) %{_libdir}/libgd.la
82 %{_includedir}/*
83
84 %files static
85 %defattr(644,root,root,755)
86 %attr(644,root,root) %{_libdir}/*.a
This page took 0.128834 seconds and 2 git commands to generate.