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