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