]> git.pld-linux.org Git - packages/glib2.git/blob - glib2.spec
- cleanups (mostly reapplied those lost on merge), updated ac/am deps
[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.0
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:  0f5f4896782ec7ab6ea8c7c1d9958114
21 Patch0:         %{name}-DESTDIR.patch
22 Patch1:         %{name}-locale-names.patch
23 URL:            http://www.gtk.org/
24 BuildRequires:  autoconf >= 2.54
25 BuildRequires:  automake >= 1.7
26 BuildRequires:  docbook-dtd412-xml
27 BuildRequires:  docbook-style-xsl
28 BuildRequires:  gtk-doc >= 1.0
29 BuildRequires:  libtool >= 1:1.4.2-9
30 BuildRequires:  pkgconfig >= 0.14.0
31 BuildRequires:  gettext-devel
32 BuildRequires:  perl-base
33 BuildRequires:  rpm-build >= 4.1-8.2
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 %patch1 -p1
139
140 mv po/{no,nb}.po
141
142 %build
143 gtkdocize --copy
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}%{!?debug:minimum} \
155         --enable-man
156 %{__make}
157
158 %install
159 rm -rf $RPM_BUILD_ROOT
160
161 %{__make} install \
162         DESTDIR=$RPM_BUILD_ROOT \
163         m4datadir=%{_aclocaldir} \
164         pkgconfigdir=%{_pkgconfigdir}
165
166 %find_lang glib --with-gnome --all-name
167
168 %clean
169 rm -rf $RPM_BUILD_ROOT
170
171 %post   -p /sbin/ldconfig
172 %postun -p /sbin/ldconfig
173
174 %files -f glib.lang
175 %defattr(644,root,root,755)
176 %doc AUTHORS README NEWS
177 %attr(755,root,root) %{_libdir}/lib*.so.*.*
178
179 %files devel
180 %defattr(644,root,root,755)
181 %doc ChangeLog
182 %attr(755,root,root) %{_bindir}/*
183 %attr(755,root,root) %{_libdir}/lib*.so
184 %{_libdir}/lib*.la
185 %{_datadir}/glib-2.0
186 %{_pkgconfigdir}/*
187 %{_libdir}/glib-2.0
188 %{_includedir}/*
189 %{_gtkdocdir}/*
190 %{_aclocaldir}/*
191 %{_mandir}/man?/*
192
193 %files static
194 %defattr(644,root,root,755)
195 %{_libdir}/lib*.a
This page took 0.069774 seconds and 3 git commands to generate.