]> git.pld-linux.org Git - packages/gtk+.git/blob - gtk+.spec
- use %%_pkgconfigdir macro instead of /usr/X11R6/lib/pkgconfig
[packages/gtk+.git] / gtk+.spec
1 Summary:        The Gimp Toolkit
2 Summary(cs):    Sada nástrojù pro Gimp
3 Summary(de):    Der Gimp-Toolkit
4 Summary(fi):    Gimp-työkalukokoelma
5 Summary(fr):    Le toolkit de Gimp
6 Summary(it):    Il toolkit per Gimp
7 Summary(pl):    Gimp Toolkit
8 Summary(tr):    Gimp ToolKit arayüz kitaplýðý
9 Name:           gtk+
10 Version:        1.2.10
11 Release:        2
12 Epoch:          1
13 License:        LGPL
14 Group:          X11/Libraries
15 Group(de):      X11/Libraries
16 Group(es):      X11/Bibliotecas
17 Group(pl):      X11/Biblioteki
18 Source0:        ftp://ftp.gtk.org/pub/gtk/v1.2/%{name}-%{version}.tar.gz
19 Patch0:         %{name}-info.patch
20 Patch1:         %{name}-ahiguti.patch
21 Patch2:         %{name}-strip.patch
22 URL:            http://www.gtk.org/
23 Icon:           gtk+.xpm
24 Requires:       glib >= %{version}
25 Requires:       iconv
26 BuildRequires:  XFree86-devel
27 BuildRequires:  automake
28 BuildRequires:  autoconf
29 BuildRequires:  gettext-devel
30 BuildRequires:  glib-devel >= %{version}
31 BuildRequires:  libtool
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %define         _prefix         /usr/X11R6
35 %define         _infodir        /usr/share/info
36 %define         _mandir         /usr/X11R6/man
37 %define         _sysconfdir     %{_datadir}
38
39 %description
40 Gtk+, which stands for the Gimp ToolKit, is a library for creating
41 graphical user interfaces for the X Window System. It is designed to
42 be small, efficient, and flexible. Gtk+ is written in C with a very
43 object-oriented approach. Gdk (part of Gtk+) is a drawing toolkit
44 which provides a thin layer over Xlib to help automate things like
45 dealing with different color depths, and Gtk is a widget set for
46 creating user interfaces.
47
48 %description -l cs
49 Knihovny X pùvodnì psané pro GIMP, které nyní pou¾ívá také øada jiných
50 programù.
51
52 %description -l da
53 X biblioteker, oprindeligt udviklet til GIMP, men anvendes nu af flere
54 forskellige programmer.
55
56 %description -l de
57 Die X-Libraries, die ursprünglich für GIMP geschrieben wurden und
58 mittlerweile für eine ganze Reihe anderer Programme benutzt werden.
59
60 %description -l fr
61 X-kirjastot, jotka alunperin kirjoitettiin GIMP:lle, mutta joita
62 käytetään nyt myös useissa muissakin ohjelmissa.
63
64 %description -l it
65 Libreria X scritta per GIMP. Viene usata da diversi programmi.
66
67 %description -l pl
68 Gtk+, która to biblioteka sta³a siê podstaw± programu Gimp zawiera
69 funkcje do tworzenia graficznego interfrjsu uzytkownika pod X Window.
70 By³a tworzona z za³o¿eniem ¿eby by³a ma³a, efektywna i wygodna. Gtk+
71 jest napiane w C z podej¶ciem zorientowanym bardzo obiektowo. Gdk
72 (czê¶æ Gtk+) jest warsw± po¶redni± pomiêdzy Xlib i reszt± toolkit
73 zapewniaj±c± pracê niezale¿nie od g³êbi koloru (ilo¶ci bitów na
74 piksel). Gtk (druga czê¶æ Gtk+) jest natomiast ju¿ zbiorem ró¿nego
75 rodzaju kontrolek s³u¿±cych do tworzenia interfejsu u¿ytkownika.
76
77 %description -l tr
78 Baþlangýçta GIMP için yazýlmýþ X kitaplýklarý. Þu anda baþka
79 programlarca da kullanýlmaktadýr.
80
81 %package devel
82 Summary:        Gtk+ header files and development documentation
83 Summary(cs):    Sada nástrojù GIMP a kreslící kit GIMP
84 Summary(da):    GIMP Toolkit og GIMP Tegnings-værktøj
85 Summary(de):    GIMP Toolkit und GIMP Drawing Kit
86 Summary(fi):    Gimp-työkalukokoelma ja Gimp-piirtotyökalut
87 Summary(fr):    Toolkit de GIMP (GTK) et Kit de dessin de GIMP (GDK).
88 Summary(it):    GIMP Toolkit and GIMP Drawing Kit
89 Summary(pl):    Pliki nag³ówkowe i dokumentacja do Gtk+ 
90 Summary(tr):    GIMP araç takýmý ve çizim takýmý
91 Group:          X11/Development/Libraries
92 Group(de):      X11/Entwicklung/Libraries
93 Group(pl):      X11/Programowanie/Biblioteki
94 Requires:       %{name} = %{version}
95 Requires:       glib-devel >= %{version}
96 Requires:       autoconf >= 2.13
97 Requires:       automake >= 1.4
98 Requires:       libtool  >= 1.3.2
99 # Every program using gtk+ should get a list of libraries to link with by
100 # executing `gtk-config --libs`. All libraries listed below are returned by
101 # this call, so they are required by every program compiled with gtk+.
102 Requires:       XFree86-devel
103 Requires:       glib-devel
104
105 %description devel
106 Header files and development documentation for the Gtk+ libraries.
107
108 %description -l pl devel
109 Pliki nag³ówkowe i dokumentacja do bibliotek Gtk+.
110
111 %package static
112 Summary:        Gtk+ static libraries
113 Summary(pl):    Biblioteki statyczne Gtk+
114 Group:          X11/Development/Libraries
115 Group(de):      X11/Entwicklung/Libraries
116 Group(pl):      X11/Programowanie/Biblioteki
117 Requires:       %{name}-devel = %{version}
118
119 %description static
120 Gtk+ static libraries.
121
122 %description -l pl static
123 Biblioteki statyczne Gtk+
124
125 %prep
126 %setup  -q
127 %patch0 -p1
128 %patch1 -p1
129 %patch2 -p1
130
131 %build
132 gettextize --copy --force
133 aclocal
134 automake -a -c
135 autoconf
136 %configure \
137         --enable-debug=no \
138         --enable-shm \
139         --with-xinput=xfree
140
141 %{__make} m4datadir=/usr/share/aclocal
142
143 %install
144 rm -rf $RPM_BUILD_ROOT
145 install -d $RPM_BUILD_ROOT%{_libdir}/gtk/themes/engines
146
147 %{__make} install \
148         DESTDIR=$RPM_BUILD_ROOT \
149         m4datadir=%{_aclocaldir} \
150         pkgconfigdir=%{_pkgconfigdir}
151
152 gzip -9nf AUTHORS ChangeLog NEWS README TODO
153
154 %find_lang %{name}
155
156 %clean
157 rm -rf $RPM_BUILD_ROOT
158
159 %post   -p /sbin/ldconfig
160 %postun -p /sbin/ldconfig
161
162 %post devel
163 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
164
165 %postun devel
166 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
167
168 %files -f %{name}.lang
169 %defattr(644,root,root,755)
170 %attr(755,root,root) %{_libdir}/lib*.so.*.*
171
172 %dir %{_sysconfdir}/gtk
173 %lang(az) %{_sysconfdir}/gtk/gtkrc.az
174 %lang(be) %{_sysconfdir}/gtk/gtkrc.be
175 %lang(bg) %{_sysconfdir}/gtk/gtkrc.bg*
176 %lang(cs) %{_sysconfdir}/gtk/gtkrc.cs
177 %lang(cy) %{_sysconfdir}/gtk/gtkrc.cy
178 %lang(el) %{_sysconfdir}/gtk/gtkrc.el
179 %lang(eo) %{_sysconfdir}/gtk/gtkrc.eo
180 %lang(et) %{_sysconfdir}/gtk/gtkrc.et
181 %lang(ga) %{_sysconfdir}/gtk/gtkrc.ga
182 %lang(he) %{_sysconfdir}/gtk/gtkrc.he*
183 %lang(hr) %{_sysconfdir}/gtk/gtkrc.hr
184 %lang(hu) %{_sysconfdir}/gtk/gtkrc.hu
185 %lang(hy) %{_sysconfdir}/gtk/gtkrc.hy
186 %lang(ja) %{_sysconfdir}/gtk/gtkrc.ja
187 %lang(ka) %{_sysconfdir}/gtk/gtkrc.ka*
188 %lang(ko) %{_sysconfdir}/gtk/gtkrc.ko
189 %lang(lt) %{_sysconfdir}/gtk/gtkrc.lt
190 %lang(lv) %{_sysconfdir}/gtk/gtkrc.lv
191 %lang(mi) %{_sysconfdir}/gtk/gtkrc.mi
192 %lang(mk) %{_sysconfdir}/gtk/gtkrc.mk
193 %lang(pl) %{_sysconfdir}/gtk/gtkrc.pl
194 %lang(ro) %{_sysconfdir}/gtk/gtkrc.ro
195 %lang(ru) %{_sysconfdir}/gtk/gtkrc.ru*
196 %lang(sk) %{_sysconfdir}/gtk/gtkrc.sk
197 %lang(sp) %{_sysconfdir}/gtk/gtkrc.sp
198 %lang(sl) %{_sysconfdir}/gtk/gtkrc.sl
199 %lang(sq) %{_sysconfdir}/gtk/gtkrc.sq
200 %lang(sr) %{_sysconfdir}/gtk/gtkrc.sr
201 %lang(th) %{_sysconfdir}/gtk/gtkrc.th
202 %lang(tr) %{_sysconfdir}/gtk/gtkrc.tr
203 %lang(uk) %{_sysconfdir}/gtk/gtkrc.uk
204 %lang(vi) %{_sysconfdir}/gtk/gtkrc.vi*
205 %lang(yi) %{_sysconfdir}/gtk/gtkrc.yi
206 %lang(zh) %{_sysconfdir}/gtk/gtkrc.zh*
207 %lang(be,bg) %{_sysconfdir}/gtk/gtkrc.cp1251
208 %lang(he,yi) %{_sysconfdir}/gtk/gtkrc.cp1255
209 %lang(cs,hr,hu,pl,ro,sk,sl,sq) %{_sysconfdir}/gtk/gtkrc.iso-8859-2
210 %lang(bg,mk,ru,sp,sr) %{_sysconfdir}/gtk/gtkrc.iso-8859-5
211 %lang(lt,lv,mi) %{_sysconfdir}/gtk/gtkrc.iso-8859-13
212 %lang(cy,ga) %{_sysconfdir}/gtk/gtkrc.iso-8859-14
213 %lang(et) %{_sysconfdir}/gtk/gtkrc.iso-8859-15
214
215 %dir %{_libdir}/gtk
216 %dir %{_libdir}/gtk/themes
217 %dir %{_libdir}/gtk/themes/engines
218 %dir %{_datadir}/themes
219
220 %{_datadir}/themes/Default
221
222 %files devel
223 %defattr(644,root,root,755)
224 %doc *.gz
225 %attr(755,root,root) %{_libdir}/lib*.la
226 %attr(755,root,root) %{_libdir}/lib*.so
227 %attr(755,root,root) %{_bindir}/*
228 %{_pkgconfigdir}/*
229 %{_includedir}/*
230 %{_infodir}/*info*
231 %{_aclocaldir}/*.m4
232 %{_mandir}/man1/gtk-config.1*
233
234 %files static
235 %defattr(644,root,root,755)
236 %{_libdir}/lib*.a
This page took 0.047767 seconds and 3 git commands to generate.