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