]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_with gnumeric # build with support for GNOME1-based gnumeric | |
4 | # | |
5 | Summary: Guppi - GNOME Plotting Engine | |
6 | Summary(cs.UTF-8): Analýza a vizualizace dat pod GNOME | |
7 | Summary(da.UTF-8): GNOME-værktøj for analyse og visualisering af data | |
8 | Summary(de.UTF-8): GNOME Datenanalyse und -anzeige | |
9 | Summary(es.UTF-8): Análisis y Visualización de Datos de GNOME | |
10 | Summary(fr.UTF-8): Analyseur et visualiseur de données de GNOME | |
11 | Summary(it.UTF-8): Analisi e Visualizzazione Dati GNOME | |
12 | Summary(ja.UTF-8): GNOME ベースのデータ解析および視覚化 | |
13 | Summary(nb.UTF-8): GNOME-verktøy for analyse og visualisering av data | |
14 | Summary(pl.UTF-8): Guppi - Silnik Rysujący GNOME | |
15 | Summary(pt_BR.UTF-8): Analisador e visualizador de dados do GNOME | |
16 | Summary(sl.UTF-8): Analiza podatkov in vizualizacija v GNOME | |
17 | Summary(sv.UTF-8): GNOME dataanalys och -visualisering | |
18 | Summary(zh_CN.UTF-8): Guppi - GNOME交互式数据分析工具 | |
19 | Name: Guppi | |
20 | Version: 0.40.3 | |
21 | Release: 11 | |
22 | Epoch: 2 | |
23 | License: GPL | |
24 | Group: X11/Applications | |
25 | Source0: http://ftp.gnome.org/pub/gnome/sources/Guppi/0.40/%{name}-%{version}.tar.bz2 | |
26 | # Source0-md5: 26ec6eb5b6fe7fb4e32ecff64d4f1b16 | |
27 | Source1: %{name}.desktop | |
28 | Patch0: %{name}-am_ac.patch | |
29 | Patch1: %{name}-am_hack.patch | |
30 | Patch2: %{name}-ac.patch | |
31 | Patch3: %{name}-link.patch | |
32 | Patch4: %{name}-am18.patch | |
33 | URL: http://www.gnome.org/guppi/ | |
34 | %{?with_gnumeric:BuildRequires: ORBit-devel} | |
35 | BuildRequires: autoconf | |
36 | BuildRequires: automake | |
37 | BuildRequires: flex | |
38 | BuildRequires: gdk-pixbuf-gnome-devel >= 0.11.0 | |
39 | BuildRequires: gettext-devel | |
40 | BuildRequires: gnome-libs-devel | |
41 | BuildRequires: gnome-print-devel >= 0.28 | |
42 | %{?with_gnumeric:BuildRequires: gnumeric >= 1.0.3} | |
43 | BuildRequires: gtk+-devel > 1.2.0 | |
44 | BuildRequires: intltool | |
45 | BuildRequires: libart_lgpl-devel >= 2.2.0 | |
46 | BuildRequires: libglade-gnome-devel | |
47 | BuildRequires: libtool | |
48 | BuildRequires: libxml-devel | |
49 | BuildRequires: pkgconfig | |
50 | BuildRequires: sed >= 4.0 | |
51 | Requires: fonts-Type1-urw | |
52 | Requires: gdk-pixbuf >= 0.11.0 | |
53 | Requires: gnome-print >= 0.28 | |
54 | Requires: libart_lgpl >= 2.2.0 | |
55 | Obsoletes: libguppi15 | |
56 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
57 | ||
58 | %description | |
59 | Guppi is an easy-to-use graphical interface for plotting data and | |
60 | performing statistical manipulations. | |
61 | ||
62 | %description -l cs.UTF-8 | |
63 | Guppi je nástroj pro analýzu a vizualizaci dat pro GNOME. | |
64 | ||
65 | %description -l da.UTF-8 | |
66 | Guppi er et GNOME-baseret værktøj for analyse og visualisering af | |
67 | data. | |
68 | ||
69 | %description -l de.UTF-8 | |
70 | Guppi ist ein GNOME-basiertes System zur Datenanalyse und -anzeige. | |
71 | ||
72 | %description -l es.UTF-8 | |
73 | Guppi es un sistema de análisis y visualización de datos basado en | |
74 | GNOME. | |
75 | ||
76 | %description -l fr.UTF-8 | |
77 | Guppi est un analyseur de données et un système de visualisation basé | |
78 | sur GNOME. | |
79 | ||
80 | %description -l it.UTF-8 | |
81 | Guppi è un sistema di analisi e visualizzazione dati basato su GNOME. | |
82 | ||
83 | %description -l ja.UTF-8 | |
84 | Guppi は GNOME ベースのデータ解析および視覚化システムです。 | |
85 | ||
86 | %description -l nb.UTF-8 | |
87 | Guppi er et GNOME-basert verktøy for analyse og visualisering av data. | |
88 | ||
89 | %description -l pl.UTF-8 | |
90 | Guppi jest łatwym w użyciu graficznym interfejsem do rysowania | |
91 | wykresów i obliczeń statystycznych. | |
92 | ||
93 | %description -l pt_BR.UTF-8 | |
94 | Este pacote contém o Guppi, um analisador e visualizador de dados | |
95 | baseado no GNOME. | |
96 | ||
97 | %description -l sv.UTF-8 | |
98 | Guppi är ett GNOME-baserad dataanalys- och -visualiseringssystem. | |
99 | ||
100 | %package devel | |
101 | Summary: Guppi include files | |
102 | Summary(cs.UTF-8): Hlavičkové soubory pro vývoj aplikací s Guppi | |
103 | Summary(de.UTF-8): Include-Dateien zur Entwicklung von Guppi-basierten Anwendungen | |
104 | Summary(es.UTF-8): Ficheros de inclusión para el desarrollo de aplicaciones Guppi | |
105 | Summary(fr.UTF-8): Fichiers à inclure pour le développement d'applications basées sur Guppi | |
106 | Summary(id.UTF-8): File header untuk develop aplikasi Guppi | |
107 | Summary(is.UTF-8): Hausaskrár fyrir þróun á Guppi forritum | |
108 | Summary(it.UTF-8): File include per lo sviluppo di applicazioni basate su Guppi | |
109 | Summary(nb.UTF-8): Headerfiler for utvikling av Guppi-baserte applikasjoner | |
110 | Summary(pl.UTF-8): Guppi - pliki nagłówkowe | |
111 | Summary(pt.UTF-8): Ficheiros de inclusão para desenvolver aplicações do Guppi | |
112 | Summary(pt_BR.UTF-8): Arquivos de inclusão para desenvolvimento | |
113 | Summary(ru.UTF-8): Файлы заголовков для разработки приложений Guppi | |
114 | Summary(sk.UTF-8): Hlavičkové súbory pre vývoj Guppi aplikácií | |
115 | Summary(sl.UTF-8): Glave za razvoj programov z Guppi | |
116 | Summary(sv.UTF-8): Huvudfiler för att utveckla Guppi-baserade tillämpningar | |
117 | Group: X11/Development/Libraries | |
118 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
119 | Requires: gnome-print-devel >= 0.28 | |
120 | Requires: libglade-gnome-devel | |
121 | Obsoletes: libguppi15-devel | |
122 | ||
123 | %description devel | |
124 | Header files for Guppi. | |
125 | ||
126 | %description devel -l cs.UTF-8 | |
127 | Balíček obsahuje hlavičkové soubory pro vývoj aplikací používajících | |
128 | Guppi (GNOME Data Analysis and Visualization). | |
129 | ||
130 | %description devel -l da.UTF-8 | |
131 | Guppi-devel indeholder headerfiler for udvikling af programmer som | |
132 | bruger rutiner fra Guppi. | |
133 | ||
134 | %description devel -l de.UTF-8 | |
135 | Das Paket Guppi-devel enthält Header-Dateien für die Entwicklung | |
136 | mithilfe von Guppi. | |
137 | ||
138 | %description devel -l es.UTF-8 | |
139 | El paquete Guppi-devel contiene ficheros de cabecera necesarios para | |
140 | desarrollar Guppi. | |
141 | ||
142 | %description devel -l fr.UTF-8 | |
143 | Le paquetage Guppi-devel contient fichiers d'en-tête nécessaires au | |
144 | développement à l'aide de Guppi. | |
145 | ||
146 | %description devel -l id.UTF-8 | |
147 | File header yang dibutuhkan untuk develop aplikasi Guppi. | |
148 | ||
149 | %description devel -l is.UTF-8 | |
150 | Þessi pakki inniheldur hausaskrár til þróunar Guppi biðlurum. | |
151 | ||
152 | %description devel -l it.UTF-8 | |
153 | Il pacchetto Guppi-devel include i file header necessari per lo | |
154 | sviluppo mediante Guppi. | |
155 | ||
156 | %description devel -l nb.UTF-8 | |
157 | Guppi-devel inneholder headerfiler for utvikling av applikasjoner som | |
158 | bruker rutiner fra Guppi. | |
159 | ||
160 | %description devel -l pl.UTF-8 | |
161 | Pliki nagłówkowe do Guppi. | |
162 | ||
163 | %description devel -l pt_BR.UTF-8 | |
164 | Este pacote contém os arquivos necessários para desenvolvimento com o | |
165 | Guppi. | |
166 | ||
167 | %description devel -l ru.UTF-8 | |
168 | Пакет Guppi-devel содержит файлы заголовков, необходимые для | |
169 | разработки программ с использованием Guppi. | |
170 | ||
171 | %description devel -l sk.UTF-8 | |
172 | Hlavičkové súbory potrebné pre vývoj Guppi. | |
173 | ||
174 | %description devel -l sl.UTF-8 | |
175 | Razvojni paket Guppi. Vsebuje glave, potrebne za razvijanje z Guppi. | |
176 | ||
177 | %description devel -l sv.UTF-8 | |
178 | Paketet Guppi-devel innehåller huvudfilerna som behövs för utveckling | |
179 | av med Guppi. | |
180 | ||
181 | %package static | |
182 | Summary: Guppi static libraries | |
183 | Summary(cs.UTF-8): Statické knihovny pro vývoj aplikací s Guppi | |
184 | Summary(da.UTF-8): Statiske biblioteker for udvikling af Guppi-baserede programmer | |
185 | Summary(de.UTF-8): Statischen Bibliotheken zur Entwicklung von Guppi-basierten Anwendungen | |
186 | Summary(es.UTF-8): Bibliotecas estáticas para el desarrollo de aplicaciones Guppi | |
187 | Summary(fr.UTF-8): Bibliothèques statiques pour le développement d'applications basées sur Guppi | |
188 | Summary(id.UTF-8): Static library untuk develop aplikasi Guppi | |
189 | Summary(is.UTF-8): Aðgerðasöfn fyrir þróun á Guppi forritum | |
190 | Summary(it.UTF-8): Librerie statiche per lo sviluppo di applicazioni basate su Guppi | |
191 | Summary(nb.UTF-8): Statiske biblioteker for utvikling av Guppi-baserte applikasjoner | |
192 | Summary(pl.UTF-8): Biblioteki statyczne Guppi | |
193 | Summary(pt.UTF-8): Bibliotecas estáticas para desenvolver aplicações do Guppi | |
194 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com Guppi | |
195 | Summary(ru.UTF-8): Статические библиотеки для разработки приложений Guppi | |
196 | Summary(sk.UTF-8): Statické knižnice pre vývoj Guppi aplikácií | |
197 | Summary(sl.UTF-8): Statične knjižnice za razvoj programov z Guppi | |
198 | Summary(sv.UTF-8): Statiska bibliotek för att utveckla Guppi-baserade tillämpningar | |
199 | Group: X11/Development/Libraries | |
200 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
201 | ||
202 | %description static | |
203 | Guppi static libraries. | |
204 | ||
205 | %description static -l cs.UTF-8 | |
206 | Balíček obsahuje statické knihovny pro vývoj aplikací používajících | |
207 | Guppi (GNOME Data Analysis and Visualization). | |
208 | ||
209 | %description static -l da.UTF-8 | |
210 | Guppi-static indeholder statiske bibliotek for udvikling af programmer | |
211 | som bruger rutiner fra Guppi. | |
212 | ||
213 | %description static -l de.UTF-8 | |
214 | Das Paket Guppi-static enthält die statischen Bibliotheken für das | |
215 | Guppi-Paket. | |
216 | ||
217 | %description static -l es.UTF-8 | |
218 | El paquete Guppi-static contiene las bibliotecas estáticas para el | |
219 | paquete Guppi. | |
220 | ||
221 | %description static -l fr.UTF-8 | |
222 | Le paquetage Guppi-static contient les bibliothèques statiques pour le | |
223 | paquetage Guppi. | |
224 | ||
225 | %description devel -l id.UTF-8 | |
226 | Static library yang dibutuhkan untuk develop aplikasi Guppi. | |
227 | ||
228 | %description devel -l is.UTF-8 | |
229 | Þessi pakki inniheldur aðgerðasöfn til þróunar Guppi biðlurum. | |
230 | ||
231 | %description static -l it.UTF-8 | |
232 | Il pacchetto Guppi-static include le librerie statiche per il | |
233 | pacchetto Guppi. | |
234 | ||
235 | %description static -l nb.UTF-8 | |
236 | Guppi-static inneholder statiske bibliotek for utvikling av | |
237 | applikasjoner som bruker rutiner fra Guppi. | |
238 | ||
239 | %description static -l pl.UTF-8 | |
240 | Biblioteki statyczne Guppi. | |
241 | ||
242 | %description static -l pt_BR.UTF-8 | |
243 | Bibliotecas estáticas para desenvolvimento baseado no Guppi. | |
244 | ||
245 | %description static -l ru.UTF-8 | |
246 | Пакет Guppi-static содержит статические библиотеки для разработки | |
247 | программ с использованием Guppi. | |
248 | ||
249 | %description static -l sk.UTF-8 | |
250 | Statické knižnice potrebné pre vývoj Guppi. | |
251 | ||
252 | %description static -l sl.UTF-8 | |
253 | Paket Guppi-static vsebuje statične knjižnice, potrebne za razvijanje | |
254 | z Guppi. | |
255 | ||
256 | %description static -l sv.UTF-8 | |
257 | Paketet Guppi-static innehåller de statiska biblioteken för paketet | |
258 | Guppi. | |
259 | ||
260 | %prep | |
261 | %setup -q | |
262 | %patch0 -p1 | |
263 | %patch1 -p1 | |
264 | %patch2 -p1 | |
265 | %patch3 -p1 | |
266 | %patch4 -p1 | |
267 | ||
268 | mv -f po/{no,nb}.po | |
269 | sed -i -e 's/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/' configure.in | |
270 | sed -i -e 's/nl no pl/nl nb pl/' configure.in | |
271 | ||
272 | %build | |
273 | %{__intltoolize} | |
274 | %{__libtoolize} | |
275 | %{__gettextize} | |
276 | %{__aclocal} -I %{_aclocaldir}/gnome | |
277 | %{__autoheader} | |
278 | %{__autoconf} | |
279 | %{__automake} | |
280 | ||
281 | %configure \ | |
282 | %{!?with_gnumeric:--disable-gnumeric} \ | |
283 | --enable-shlib-factory | |
284 | ||
285 | %{__make} | |
286 | ||
287 | %install | |
288 | rm -rf $RPM_BUILD_ROOT | |
289 | ||
290 | %{__make} install \ | |
291 | DESTDIR=$RPM_BUILD_ROOT \ | |
292 | appdir=%{_desktopdir} \ | |
293 | aclocaldir=%{_aclocaldir} | |
294 | ||
295 | #install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
296 | ||
297 | rm -f $RPM_BUILD_ROOT%{_libdir}/guppi/plug-ins/%{version}/plot/*/*.la | |
298 | ||
299 | %find_lang %{name} --with-gnome --all-name | |
300 | ||
301 | %clean | |
302 | rm -rf $RPM_BUILD_ROOT | |
303 | ||
304 | %post -p /sbin/ldconfig | |
305 | %postun -p /sbin/ldconfig | |
306 | ||
307 | %files -f %{name}.lang | |
308 | %defattr(644,root,root,755) | |
309 | %doc AUTHORS BIBLIOGRAPHY ChangeLog NEWS README | |
310 | %attr(755,root,root) %{_libdir}/libguppi.so.*.*.* | |
311 | %attr(755,root,root) %{_libdir}/libguppitank.so.*.*.* | |
312 | %{?with_gnumeric:%attr(755,root,root) %{_libdir}/guppi-gnumeric.so} | |
313 | %dir %{_libdir}/guppi | |
314 | %dir %{_libdir}/guppi/plug-ins | |
315 | %dir %{_libdir}/guppi/plug-ins/%{version} | |
316 | %dir %{_libdir}/guppi/plug-ins/%{version}/plot | |
317 | %dir %{_libdir}/guppi/plug-ins/%{version}/plot/* | |
318 | %{_libdir}/guppi/plug-ins/%{version}/plot/*/*.plugin | |
319 | %{_libdir}/guppi/plug-ins/%{version}/plot/*/*.glade | |
320 | %{_libdir}/guppi/plug-ins/%{version}/plot/*/*.png | |
321 | %attr(755,root,root) %{_libdir}/guppi/plug-ins/%{version}/plot/*/*.so* | |
322 | ||
323 | %{_datadir}/guppi | |
324 | %{?with_gnumeric:%{_datadir}/oaf/*.oaf*} | |
325 | %{_pixmapsdir}/guppi | |
326 | %{_pixmapsdir}/gnome-guppi.png | |
327 | #%%{_desktopdir}/*.desktop | |
328 | ||
329 | %files devel | |
330 | %defattr(644,root,root,755) | |
331 | %attr(755,root,root) %{_libdir}/libguppi.so | |
332 | %attr(755,root,root) %{_libdir}/libguppitank.so | |
333 | %{_libdir}/libguppi.la | |
334 | %{_libdir}/libguppitank.la | |
335 | %attr(755,root,root) %{_libdir}/libguppiConf.sh | |
336 | %{_includedir}/gnome-1.0/libguppi | |
337 | %{_includedir}/gnome-1.0/libguppitank | |
338 | %{_aclocaldir}/libguppi.m4 |