]> git.pld-linux.org Git - packages/gd.git/blob - gd.spec
- Not needed.
[packages/gd.git] / gd.spec
1 Summary:        Library for PNG, JPEG creation
2 Summary(pl):    Biblioteka do tworzenia grafiki w formacie PNG, JPEG
3 Name:           gd
4 Version:        1.8.4
5 Release:        6
6 License:        BSD-style
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(fr):      Librairies
10 Group(pl):      Biblioteki
11 Source0:        ftp://ftp.boutell.com/pub/boutell/gd/%{name}-%{version}.tar.gz
12 Patch0:         %{name}-ac_am.patch
13 URL:            http://www.boutell.com/gd/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 BuildRequires:  zlib-devel
18 BuildRequires:  libpng-devel
19 BuildRequires:  libjpeg-devel
20 BuildRequires:  freetype1-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define shlibver %(echo %{version} | cut -f-2 -d.)
24
25 %description
26 gd library creates PNG, JPEG and WBMP images, not GIF images. This is
27 a good thing. PNG is a more compact format, and full compression is
28 available. JPEG works well with photographic images, and is still more
29 compatible with the major Web browsers than even PNG is. WBMP is
30 intended for wireless devices (not regular web browsers). Existing
31 code will need modification to call or gdImageJpeg instead of
32 gdImageGif.
33
34 This library allows you to easily create and manipulate PNG, JPEG
35 image files from your C programs.
36
37 %description -l pl
38 Biblioteka pozwalaj±ca na proste tworzenie i manipulowanie plikami
39 graficznymi w formacie PNG.
40
41 %package devel
42 Summary:        Development part of the GD library
43 Summary(pl):    Czê¶æ biblioteki GD przeznaczona dla developerów
44 Group:          Development/Libraries
45 Group(de):      Entwicklung/Libraries
46 Group(fr):      Development/Librairies
47 Group(pl):      Programowanie/Biblioteki
48 Requires:       libpng-devel
49 Requires:       zlib-devel
50 Requires:       %{name} = %{version}
51
52 %description devel
53 This package contains the files needed for development of programs
54 linked against GD.
55
56 %description -l pl devel
57 Pakiet ten zawiera pliki potrzebne do rozwoju programów korzystaj±cych
58 z biblioteki GD.
59
60 %package static
61 Summary:        Static GD library
62 Summary(pl):    Statyczna biblioteka GD
63 Group:          Development/Libraries
64 Group(de):      Entwicklung/Libraries
65 Group(fr):      Development/Librairies
66 Group(pl):      Programowanie/Biblioteki
67 Requires:       %{name} = %{version}
68
69 %description devel
70 This package contains static GD library.
71
72 %description -l pl static
73 Pakiet ten zawiera statyczn± bibliotekê GD.
74
75 %package progs
76 Summary:        Utility programs that use libgd
77 Summary(pl):    Narzêdzia które u¿ywaj± libgd
78 Group:          Applications/Graphics
79 Group(de):      Applikationen/Grafik
80 Group(pl):      Aplikacje/Grafika
81 Requires:       %{name} = %{version}
82
83 %description progs
84 These are utility programs supplied with gd, the .jpeg graphics
85 library.
86
87 %description -l pl progs
88 Pakiet ten zawiera dodatkowe programu uzywaj±ce libgd
89
90 %prep
91 %setup -q 
92 %patch0 -p1 
93
94 %build
95 libtoolize --copy --force
96 aclocal
97 automake -a -c
98 autoconf
99 %configure
100 %{__make}
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104
105 %{__make} install \
106         DESTDIR=$RPM_BUILD_ROOT
107
108 gzip -9nf readme.txt index.html 
109
110 %clean
111 rm -rf $RPM_BUILD_ROOT
112
113 %post   -p /sbin/ldconfig
114 %postun -p /sbin/ldconfig
115
116 %files
117 %defattr(644,root,root,755)
118 %doc readme.txt.gz
119 %attr(755,root,root) %{_libdir}/*.so.*.*
120
121 %files devel
122 %defattr(644,root,root,755)
123 %doc index.html.gz 
124 %attr(755,root,root) %{_libdir}/*.so
125 %attr(755,root,root) %{_libdir}/*.la
126 %{_includedir}/*
127
128 %files static
129 %defattr(644,root,root,755)
130 %{_libdir}/lib*.a
131
132 %files progs
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_bindir}/*
This page took 0.055515 seconds and 3 git commands to generate.