]> git.pld-linux.org Git - packages/glib2.git/blob - glib2.spec
- updated to 2.2.1
[packages/glib2.git] / glib2.spec
1
2 Summary:        Useful routines for 'C' programming
3 Summary(cs):    ©ikovná knihovna s funkcemi pro pomocné programy
4 Summary(da):    Nyttige biblioteksfunktioner
5 Summary(de):    Eine nützliche Library von Dienstprogramm-Funktionen
6 Summary(es):    Conjunto de funciones gráficas utilitarias
7 Summary(fi):    Kirjasto, jossa on työkalufunktioita
8 Summary(fr):    Bibliothèque de fonctions utilitaires
9 Summary(ja):    ÊØÍø¤Ê¥æ¡¼¥Æ¥£¥ê¥Æ¥£´Ø¿ô¤Î¥é¥¤¥Ö¥é¥ê
10 Summary(pl):    Biblioteka zawieraj±ca wiele u¿ytecznych funkcji C
11 Summary(pt_BR): Conjunto de funções gráficas utilitárias
12 Summary(tr):    Yararlý ufak yordamlar kitaplýðý
13 Summary(zh_CN): ÊµÓù¤¾ßº¯Êý¿â
14 Name:           glib2
15 Version:        2.2.1
16 Release:        1
17 License:        LGPL
18 Group:          Libraries
19 Source0:        http://ftp.gnome.org/pub/gnome/sources/glib/2.2/glib-%{version}.tar.bz2
20 Patch0:         %{name}-DESTDIR.patch
21 Patch1:         %{name}-am16.patch
22 URL:            http://www.gtk.org/
23 BuildRequires:  autoconf
24 BuildRequires:  automake
25 BuildRequires:  gtk-doc >= 0.9-4
26 BuildRequires:  libtool
27 BuildRequires:  pkgconfig >= 0.14.0
28 BuildRequires:  gettext-devel
29 BuildRequires:  rpm-build >= 4.1-8.2
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 GLib, is a library which includes support routines for C such as
34 lists, trees, hashes, memory allocation, and many other things. GLIB
35 includes also generally useful data structures used by GIMP and many
36 other.
37
38 %description -l cs
39 ©ikovná knihovna s funkcemi pro pomocné programy. Vývojové knihovny a
40 hlavièky jsou v balíèku glib-devel.
41
42 %description -l da
43 Nyttigt bibliotek med forskellige funktioner. Udviklings- biblioteker
44 og headerfiler er i glib-devel pakken.
45
46 %description -l de
47 Eine nützliche Library von Dienstprogramm-Funktionen.
48 Entwicklungs-Libraries und Header befinden sich in glib-devel.
49
50 %description -l es
51 Conjunto de funciones utilitarias. Bibliotecas de desarrollo y
52 archivos de inclusión están en glib-devel.
53
54 %description -l fi
55 Kirjasto, jossa on työkalufunktioita. Kehitysversiot ja
56 header-tiedostot ovat glib-devel-paketissa.
57
58 %description -l ja
59
60 GLib¤Ï¥æ¡¼¥Æ¥£¥ê¥Æ¥£´Ø¿ô¤ò½¸¤á¤¿ÊØÍø¤Ê¥é¥¤¥Ö¥é¥ê¤Ç¤¹¡£¤³¤Î£Ã¸À¸ìÍѥ饤¥Ö¥é¥ê¤Ï¡¢
61 ¤¤¤¯¤Ä¤«¤ÎÌäÂê¤ò²ò·è¤¹¤ë¤è¤¦À߷פµ¤ì¤Æ¤ª¤ê¡¢Â¿¤¯¤Î¥×¥í¥°¥é¥à¤«¤éÍ׵ᤵ¤ì¤ë»È¤¤¤ä¤¹¤¤
62 ´Ø¿ô¤òÄ󶡤·¤Þ¤¹¡£
63
64 GLib¤ÏGDK,
65 GTK+¾¿¤¯¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ÇÍøÍѤµ¤ì¤ë¡£¤³¤Î¥é¥¤¥Ö¥é¥ê¤Ë°Í¸¤¹¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó
66 Åù¤Î¤¿¤á¤Ë¤³¤Îglib¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£
67
68 %description -l pl
69 Glib jest zestawem bibliotek zawieraj±cych funkcje do obs³ugi list i
70 drzew, funkcje mieszaj±ce, funkcje do alokacji pamiêci i du¿o innych
71 podstawowych funkcji i ró¿nych struktur danych u¿ywanych przez program
72 GIMP i wiele innych.
73
74 %description -l pt_BR
75 Conjunto de funções utilitárias. Bibliotecas de desenvolvimento e
76 arquivos de inclusão estão em glib-devel.
77
78 %description -l tr
79 Yararlý yordamlar kitaplýðý. Geliþtirme kitaplýklarý ve baþlýk
80 dosyalarý glib-devel paketinde yer almaktadýr.
81
82 %package devel
83 Summary:        Glib heades files, documentation
84 Summary(es):    Conjunto de funciones gráficas utilitarias para desarrollo
85 Summary(pl):    Pliki nag³ówkowe i dokumentacja do glib
86 Summary(pt_BR): Conjunto de ferramentas e biblioteca do kit de desenho do GIMP
87 Group:          Development/Libraries
88 Requires:       %{name} = %{version}
89 Requires:       gtk-doc-common
90
91 %description devel
92 Header files for the support library for the GIMP's X libraries, which
93 are available as public libraries. GLIB includes generally useful data
94 structures.
95
96 %description devel -l es
97 Conjunto de funciones gráficas utilitarias para desarrollo.
98
99 %description devel -l ja
100 glib2-devel¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ï¡¢°ìÈ̥饤¥Ö¥é¥ê¤È¤·¤ÆÍ­¸ú¤ÊGIMP¤ÎX¥é¥¤¥Ö¥é¥ê·²
101 (Gtk¤ÈGDK)¤ò¥µ¥Ý¡¼¥È¤¹¤ë¥é¥¤¥Ö¥é¥ê¸þ¤±¤Ë¥¹¥¿¥Æ¥£¥Ã¥¯¥é¥¤¥Ö¥é¥ê¤È¥Ø¥Ã¥À¤¬
102 ´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
103
104 ¤â¤·GLib¤ò»È¤Ã¤Æ¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é¤Ð¡¢%{name}-devel¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È
105 ¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£
106
107 %description devel -l pl
108 Pliki nag³ówkowe i dokumentacja do glib przydatna przy pisaniu
109 programów wykorzystuj±cych tê bibliotekê.
110
111 %description devel -l pt_BR
112 Bibliotecas e arquivos de inclusão para a biblioteca de suporte para
113 as bibliotecas X do GIMP, que são disponíveis como bibliotecas
114 públicas. A GLIB inclui estruturas de dados genéricas úteis.
115
116 %package static
117 Summary:        Static glib libraries
118 Summary(es):    Static libraries for glib development
119 Summary(pl):    Biblioteki statyczne glib
120 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com glib
121 Group:          Development/Libraries
122 Requires:       %{name}-devel = %{version}
123
124 %description static
125 Static glib libraries.
126
127 %description static -l es
128 Static libraries for glib development
129
130 %description static -l pl
131 Biblioteki statyczne glib.
132
133 %description static -l pt_BR
134 Bibliotecas estáticas para desenvolvimento com glib
135
136 %prep
137 %setup -q -n glib-%{version}
138 %patch0 -p1
139 %patch1 -p1
140
141 %build
142 rm -f missing
143 %{__libtoolize}
144 %{__aclocal}
145 %{__autoconf}
146 %{__autoheader}
147 %{__automake}
148
149 %configure \
150         --enable-threads \
151         --enable-gtk-doc \
152         --with-html-path=%{_gtkdocdir} \
153         --enable-static
154 for f in `find -name Makefile` ; do
155         cp $f $f.tmp
156         sed -e 's/-pthread/& -lpthread/g' $f.tmp > $f
157         rm -f $f.tmp
158 done
159 %{__make}
160
161 %install
162 rm -rf $RPM_BUILD_ROOT
163
164 %{__make} install \
165         DESTDIR=$RPM_BUILD_ROOT \
166         m4datadir=%{_aclocaldir} \
167         pkgconfigdir=%{_pkgconfigdir} \
168         HTML_DIR=%{_gtkdocdir}
169
170 mv -f $RPM_BUILD_ROOT%{_mandir}/man1/glib{,2}-mkenums.1
171 mv -f $RPM_BUILD_ROOT%{_mandir}/man1/glib{,2}-genmarshal.1
172
173 %find_lang glib --with-gnome --all-name
174
175 %clean
176 rm -rf $RPM_BUILD_ROOT
177
178 %post   -p /sbin/ldconfig
179 %postun -p /sbin/ldconfig
180
181 %files -f glib.lang
182 %defattr(644,root,root,755)
183 %doc AUTHORS README
184 %attr(755,root,root) %{_libdir}/libg*.so.*.*
185
186 %files devel
187 %defattr(644,root,root,755)
188 %doc ChangeLog NEWS
189 %attr(755,root,root) %{_bindir}/*
190 %attr(755,root,root) %{_libdir}/lib*.so
191 %{_libdir}/lib*.la
192 %{_datadir}/glib-2.0
193 %{_pkgconfigdir}/*
194 %{_libdir}/glib-2.0
195 %{_includedir}/*
196 %{_gtkdocdir}/*
197
198 %{_aclocaldir}/*
199 %{_mandir}/man?/glib*
200
201 %files static
202 %defattr(644,root,root,755)
203 %{_libdir}/lib*.a
This page took 0.038413 seconds and 4 git commands to generate.