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