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