]>
Commit | Line | Data |
---|---|---|
732a6d9b | 1 | Summary: GNOME Application Libs (GAL) |
c0ea8533 ER |
2 | Summary(es.UTF-8): Bibliotecas de Aplicaciones de GNOME (GAL) |
3 | Summary(ko.UTF-8): GNOME 응용프로그램 라이브러리 | |
4 | Summary(pl.UTF-8): Biblioteki Aplikacji GNOME (GAL) | |
5 | Summary(pt_BR.UTF-8): G App Libs: Biblioteca para uso em aplicativos GNOME | |
6 | Summary(ru.UTF-8): Библиотека для составных документов в GNOME | |
7 | Summary(uk.UTF-8): Бібліотека для компонентних документів в GNOME | |
a0ad9882 | 8 | Name: gal |
5c1af6b5 | 9 | Version: 2.4.3 |
ea8082eb | 10 | Release: 1 |
d2627aca | 11 | Epoch: 1 |
a0ad9882 | 12 | License: LGPL |
13 | Group: X11/Libraries | |
fc3e0cc9 | 14 | Source0: http://ftp.gnome.org/pub/gnome/sources/gal/2.4/%{name}-%{version}.tar.bz2 |
5c1af6b5 | 15 | # Source0-md5: de9ef290fd614a1057e26e31bc294142 |
f0ac23d3 | 16 | Patch0: %{name}-iconv-in-glibc.patch |
17 | Patch1: %{name}-gcc-3.4.patch | |
04163ae0 | 18 | BuildRequires: autoconf >= 2.52 |
93e4f7fc | 19 | BuildRequires: automake |
55454361 | 20 | BuildRequires: gettext-tools |
f4fde5a3 | 21 | BuildRequires: gnome-common >= 2.8.0 |
6b8ec19b | 22 | BuildRequires: gtk+2-devel >= 2:2.6.4 |
23 | BuildRequires: gtk-doc >= 1.3 | |
24 | BuildRequires: intltool >= 0.33 | |
25 | BuildRequires: libglade2-devel >= 1:2.5.1 | |
0f4b0687 | 26 | BuildRequires: libgnomeprintui-devel >= 2.10.2 |
27 | BuildRequires: libgnomeui-devel >= 2.10.0-2 | |
eb069bf3 | 28 | BuildRequires: libtool |
29 | BuildRequires: libxml2-devel | |
04163ae0 | 30 | BuildRequires: pkgconfig |
0f4b0687 | 31 | BuildRequires: rpmbuild(macros) >= 1.197 |
5c1af6b5 | 32 | Requires: libgnomecanvas >= 2.10.2 |
eb069bf3 | 33 | Obsoletes: gal2 |
ee7356d6 | 34 | Obsoletes: libgal19 |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
a0ad9882 | 36 | |
37 | %description | |
d2627aca | 38 | This the GNOME Application Libs (GAL). This module contains some |
39 | library functions that came from Gnumeric and Evolution. The idea is | |
40 | to reuse those widgets across various larger GNOME applications that | |
41 | might want to use these widgets. | |
a0ad9882 | 42 | |
63dfe42b JR |
43 | %description -l es.UTF-8 |
44 | Éstas son las Bibliotecas de Aplicaciones de GNOME (GAL). Este módulo | |
969cce43 | 45 | contiene unas funciones provenientes de Gnumeric y Evolution. La |
63dfe42b | 46 | intención es reutilizar estos componentes entre las varias |
30d6c58d | 47 | aplicaciones GNOME grandes que quieran utilizarlos. |
969cce43 | 48 | |
63dfe42b JR |
49 | %description -l pl.UTF-8 |
50 | Pakiet zawiera funkcje pochodzące z programów Gnumeric i Evolution. | |
51 | Ideą tej biblioteki jest używanie tych funkcji i wigetów w innych | |
d2627aca | 52 | programach GNOME. |
b2b5f746 | 53 | |
63dfe42b JR |
54 | %description -l pt_BR.UTF-8 |
55 | Este módulo contém algumas funções de biblioteca que vinham com o | |
56 | Gnumeric e com o Evolution. A idéia é reutilizar estes componentes em | |
57 | uma série de aplicações GNOME maiores. | |
39f9d4fc | 58 | |
63dfe42b JR |
59 | %description -l ru.UTF-8 |
60 | Это пакет G App Libs (GAL). Он содержит некоторые библиотечные | |
61 | функции, пришедшие из Gnumeric и Evolution. Идея в том, чтобы | |
62 | использовать их виджеты в других приложениях GNOME, которым эти | |
63 | виджеты могли бы пригодиться. | |
2e68d4ce | 64 | |
63dfe42b JR |
65 | %description -l uk.UTF-8 |
66 | Це пакет G App Libs (GAL). Він містить деякі бібліотечні функції, що | |
67 | походять від Gnumeric та Evolution. Ідея в тому, щоб використати їх | |
68 | віджети в інших програмах GNOME, яким ці віджети могли б стати в | |
69 | нагоді. | |
2e68d4ce | 70 | |
a0ad9882 | 71 | %package devel |
732a6d9b | 72 | Summary: gal header files and development documentation |
c0ea8533 ER |
73 | Summary(es.UTF-8): Ficheros de cabecera y documentación de desarrollo para gal |
74 | Summary(ko.UTF-8): GAL 응용프로그램을 개발하기 위한 라이브러리와 헤더파일 | |
75 | Summary(pl.UTF-8): pliki nagłówkowe i dokumentacja gala | |
76 | Summary(pt_BR.UTF-8): Arquivos de inclusão do gal | |
77 | Summary(ru.UTF-8): Библиотеки и хедеры для gal | |
78 | Summary(uk.UTF-8): Бібліотеки та хедери для gal | |
a0ad9882 | 79 | Group: X11/Development/Libraries |
04163ae0 | 80 | Requires: %{name} = %{epoch}:%{version}-%{release} |
6b8ec19b | 81 | Requires: libglade2-devel >= 1:2.5.1 |
0f4b0687 | 82 | Requires: libgnomeprintui-devel >= 2.10.2 |
83 | Requires: libgnomeui-devel >= 2.10.0-2 | |
eb069bf3 | 84 | Obsoletes: gal2-devel |
ee7356d6 | 85 | Obsoletes: libgal19-devel |
a0ad9882 | 86 | |
87 | %description devel | |
732a6d9b | 88 | Header files and development documentation for the gal libraries. |
a0ad9882 | 89 | |
63dfe42b JR |
90 | %description devel -l es.UTF-8 |
91 | Ficheros de cabecera y documentación de desarrollo para las | |
30d6c58d | 92 | bibliotecas gal. |
969cce43 | 93 | |
63dfe42b JR |
94 | %description devel -l pl.UTF-8 |
95 | Pliki nagłówkowe i dokumentacja do bibliotek gal. | |
a0ad9882 | 96 | |
63dfe42b JR |
97 | %description devel -l pt_BR.UTF-8 |
98 | Arquivos de inclusão necessários para compilar os aplicativos que usam | |
39f9d4fc | 99 | o gal. |
100 | ||
63dfe42b JR |
101 | %description devel -l ru.UTF-8 |
102 | Этот пакет содержит необходимые библиотеки и файлы заголовков для | |
103 | разработки программ с использованием gal. | |
2e68d4ce | 104 | |
63dfe42b JR |
105 | %description devel -l uk.UTF-8 |
106 | Цей пакет містить необхідні бібліотеки розробки та файли заголовків | |
107 | для розробки програм з використанням gal. | |
2e68d4ce | 108 | |
a0ad9882 | 109 | %package static |
732a6d9b | 110 | Summary: gal static libraries |
c0ea8533 ER |
111 | Summary(es.UTF-8): Bibliotecas estáticas de gal |
112 | Summary(pl.UTF-8): Biblioteki statyczne gala | |
113 | Summary(pt_BR.UTF-8): Bibliotecas estáticas do gal | |
a0ad9882 | 114 | Group: X11/Development/Libraries |
04163ae0 | 115 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
eb069bf3 | 116 | Obsoletes: gal2-static |
a0ad9882 | 117 | |
118 | %description static | |
732a6d9b | 119 | Gal static libraries. |
a0ad9882 | 120 | |
63dfe42b JR |
121 | %description static -l es.UTF-8 |
122 | Bibliotecas estáticas de gal. | |
969cce43 | 123 | |
63dfe42b | 124 | %description static -l pl.UTF-8 |
a0ad9882 | 125 | Biblioteki statyczne gal. |
126 | ||
63dfe42b JR |
127 | %description static -l pt_BR.UTF-8 |
128 | Bibliotecas estáticas do gal. | |
39f9d4fc | 129 | |
a0ad9882 | 130 | %prep |
131 | %setup -q | |
04163ae0 | 132 | %patch0 -p1 |
f0ac23d3 | 133 | %patch1 -p0 |
a0ad9882 | 134 | |
135 | %build | |
0f4b0687 | 136 | %{__glib_gettextize} |
137 | %{__intltoolize} | |
eb069bf3 | 138 | %{__libtoolize} |
f4fde5a3 | 139 | %{__aclocal} |
eb069bf3 | 140 | %{__autoheader} |
141 | %{__autoconf} | |
142 | %{__automake} | |
a0ad9882 | 143 | %configure \ |
eb069bf3 | 144 | --enable-static \ |
3dd3ec16 | 145 | --disable-gtk-doc \ |
eb069bf3 | 146 | --with-html-dir=%{_gtkdocdir}/%{name} |
a0ad9882 | 147 | %{__make} |
148 | ||
149 | %install | |
150 | rm -rf $RPM_BUILD_ROOT | |
151 | ||
152 | %{__make} install \ | |
153 | DESTDIR=$RPM_BUILD_ROOT | |
154 | ||
3dd3ec16 | 155 | # shutup check-files |
9bcbd4e4 | 156 | rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/lib*.{la,a} |
3dd3ec16 | 157 | |
f0ac23d3 | 158 | rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no |
159 | ||
fc3e0cc9 | 160 | %find_lang %{name}-2.4 |
b7b124de | 161 | |
a0ad9882 | 162 | %clean |
163 | rm -rf $RPM_BUILD_ROOT | |
164 | ||
db39eb77 | 165 | %post -p /sbin/ldconfig |
166 | %postun -p /sbin/ldconfig | |
a0ad9882 | 167 | |
fc3e0cc9 | 168 | %files -f %{name}-2.4.lang |
a0ad9882 | 169 | %defattr(644,root,root,755) |
3dd3ec16 | 170 | %doc AUTHORS ChangeLog NEWS README |
a0ad9882 | 171 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
fc3e0cc9 | 172 | %{_datadir}/gal-2.4 |
a0ad9882 | 173 | |
174 | %files devel | |
175 | %defattr(644,root,root,755) | |
a0ad9882 | 176 | %attr(755,root,root) %{_libdir}/lib*.so |
4acd4a8c | 177 | %{_libdir}/lib*.la |
178 | %{_includedir}/* | |
eb069bf3 | 179 | %{_pkgconfigdir}/* |
180 | %{_gtkdocdir}/* | |
a0ad9882 | 181 | |
182 | %files static | |
183 | %defattr(644,root,root,755) | |
184 | %{_libdir}/lib*.a |