]>
Commit | Line | Data |
---|---|---|
6077409b | 1 | # TODO: pmd (BR: proprietary libpmdaccess2) |
77f1f9bf JB |
2 | # |
3 | # Conditional build: | |
4 | %bcond_without apidocs # do not build and package API docs | |
ce930cd4 JB |
5 | %bcond_without qt # Qt-based GUI |
6 | %bcond_without muparser # compute component module (based on MuParser) | |
7 | %bcond_without dcmtk # DCMTK conv module | |
8 | %bcond_without ffmpeg # FFmpeg conv module | |
9 | %bcond_without gdal # GDAL conv module | |
b49f8bf2 | 10 | %bcond_without png # PNG conv module |
ce930cd4 JB |
11 | %bcond_without jpeg # JPEG conv module (based on libjpeg) |
12 | %bcond_without magick # Magick conv module (based on ImageMagick's libMagick++) | |
13 | %bcond_without matio # MAT conv module (MATLAB import/export, based on [lib]matio) | |
14 | %bcond_without netcdf # NetCDF conv module | |
15 | %bcond_without netpbm # NetPBM conv module | |
16 | %bcond_without openexr # EXR conv module (based on OpenEXR) | |
dc73249c | 17 | %bcond_without pcl # PCD conv module (based on PCL's libpcl_io) |
ce930cd4 JB |
18 | %bcond_without pfs # PFS conv module |
19 | %bcond_without sndfile # sndfile conv module | |
53d34f41 | 20 | %bcond_without teem # teem (nrrd) conv module |
77f1f9bf JB |
21 | # |
22 | Summary: Tools to manipulate Generic Tagged Array (GTA) files | |
23 | Summary(pl.UTF-8): Narzędzia do obróbki plików GTA (ogólnych tablic etykietowanych) | |
24 | Name: gtatool | |
aaf56fae | 25 | Version: 2.4.0 |
a89873e9 | 26 | Release: 3 |
77f1f9bf JB |
27 | License: GPL v3+ |
28 | Group: Applications/File | |
b49f8bf2 | 29 | Source0: https://marlam.de/gta/releases/%{name}-%{version}.tar.xz |
aaf56fae | 30 | # Source0-md5: ea2ea1a0838c614ec8b7b4072c9e6ce1 |
0498f6eb JR |
31 | Patch0: %{name}-getopt.patch |
32 | Patch1: %{name}-bashcomp.patch | |
33 | Patch2: imagemagick7.patch | |
aaf56fae | 34 | Patch3: pcl-1.11.patch |
a89873e9 | 35 | Patch4: gcc11.patch |
aaf56fae | 36 | URL: https://marlam.de/gta/ |
ce930cd4 JB |
37 | %{?with_magick:BuildRequires: ImageMagick-c++-devel} |
38 | %{?with_openexr:BuildRequires: OpenEXR-devel} | |
6077409b | 39 | %{?with_qt:BuildRequires: OpenGL-devel} |
aaf56fae JB |
40 | %{?with_qt:BuildRequires: Qt5Gui-devel >= 5.5} |
41 | %{?with_qt:BuildRequires: Qt5OpenGL-devel >= 5.5} | |
42 | %{?with_qt:BuildRequires: Qt5Widgets-devel >= 5.5} | |
dc73249c JB |
43 | BuildRequires: autoconf >= 2.65 |
44 | BuildRequires: automake >= 1:1.11.1 | |
ce930cd4 | 45 | %{?with_dcmtk:BuildRequires: dcmtk-devel} |
1a8c37c1 | 46 | %{?with_apidocs:BuildRequires: doxygen} |
ce930cd4 JB |
47 | # libavformat >= 52.110.0 libavdevice libswscale |
48 | %{?with_ffmpeg:BuildRequires: ffmpeg-devel} | |
49 | %{?with_gdal:BuildRequires: gdal-devel} | |
6077409b | 50 | %{?with_qt:BuildRequires: glew-devel >= 1.6.0} |
77f1f9bf | 51 | BuildRequires: libgta-devel >= 0.9.4 |
ce930cd4 | 52 | %{?with_jpeg:BuildRequires: libjpeg-devel} |
aaf56fae | 53 | %{?with_png:BuildRequires: libpng-devel >= 1.2.0} |
ce930cd4 | 54 | %{?with_sndfile:BuildRequires: libsndfile-devel} |
77f1f9bf | 55 | BuildRequires: libstdc++-devel |
6077409b JB |
56 | BuildRequires: libtool >= 2:2.2.6 |
57 | %{?with_matio:BuildRequires: matio-devel >= 1.5.0} | |
ce930cd4 JB |
58 | %{?with_muparser:BuildRequires: muparser-devel} |
59 | %{?with_netcdf:BuildRequires: netcdf-devel} | |
60 | %{?with_netpbm:BuildRequires: netpbm-devel} | |
aaf56fae | 61 | %{?with_pcl:BuildRequires: pcl-devel >= 1.8} |
23006f57 | 62 | %{?with_pfs:BuildRequires: pfstools-devel >= 2.0} |
77f1f9bf | 63 | BuildRequires: pkgconfig |
aaf56fae | 64 | %{?with_qt:BuildRequires: qt5-build >= 5.5} |
6077409b | 65 | BuildRequires: rpmbuild(macros) >= 1.673 |
77f1f9bf | 66 | BuildRequires: tar >= 1:1.22 |
53d34f41 | 67 | %{?with_teem:BuildRequires: teem-devel} |
77f1f9bf JB |
68 | BuildRequires: xz |
69 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
70 | ||
71 | %description | |
72 | Gtatool manipulates Generic Tagged Array (GTA) files. | |
73 | ||
74 | It provides a set of commands that manipulate GTAs on various levels, | |
75 | and it can import from and export to many other file formats. | |
76 | ||
77 | %description -l pl.UTF-8 | |
78 | gtatool pracuje na plikach GTA (Generic Tagged Array - ogólnych | |
79 | tablicach etykietowanych). | |
80 | ||
81 | Pakiet zawiera zestaw poleceń obrabiających GTA na różnych poziomach, | |
82 | potrafiących importować i eksportować do wielu innych formatów plików. | |
83 | ||
1a8c37c1 JB |
84 | %package component-compute |
85 | Summary: gtatool module to compute array element components | |
86 | Summary(pl.UTF-8): Moduł gtatool do obliczania składowych elementów tablicy | |
87 | Group: Applications/File | |
88 | Requires: %{name} = %{version}-%{release} | |
89 | ||
90 | %description component-compute | |
91 | gtatool module to compute array element components. | |
92 | ||
93 | %description component-compute -l pl.UTF-8 | |
94 | Moduł gtatool do obliczania składowych elementów tablicy. | |
95 | ||
e75f31c6 JB |
96 | %package conv-dcmtk |
97 | Summary: gtatool module to convert from DICOM format | |
98 | Summary(pl.UTF-8): Moduł gtatool do konwersji z formatu DICOM | |
99 | Group: Applications/File | |
100 | Requires: %{name} = %{version}-%{release} | |
101 | ||
102 | %description conv-dcmtk | |
103 | gtatool module to convert from DICOM format. | |
104 | ||
105 | %description conv-dcmtk -l pl.UTF-8 | |
106 | Moduł gtatool do konwersji z formatu DICOM. | |
107 | ||
77f1f9bf JB |
108 | %package conv-exr |
109 | Summary: gtatool module to convert from/to EXR format | |
110 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatu EXR | |
111 | Group: Applications/File | |
112 | Requires: %{name} = %{version}-%{release} | |
113 | ||
114 | %description conv-exr | |
115 | gtatool module to convert from/to EXR format. | |
116 | ||
117 | %description conv-exr -l pl.UTF-8 | |
118 | Moduł gtatool do konwersji z/do formatu EXR. | |
119 | ||
120 | %package conv-ffmpeg | |
121 | Summary: gtatool module to convert from FFmpeg formats | |
122 | Summary(pl.UTF-8): Moduł gtatool do konwersji z formatów FFmpeg | |
123 | Group: Applications/File | |
124 | Requires: %{name} = %{version}-%{release} | |
125 | ||
126 | %description conv-ffmpeg | |
127 | gtatool module to convert from FFmpeg formats. | |
128 | ||
129 | %description conv-ffmpeg -l pl.UTF-8 | |
130 | Moduł gtatool do konwersji z formatów FFmpeg. | |
131 | ||
fec333dc JB |
132 | %package conv-gdal |
133 | Summary: gtatool module to convert from/to GDAL supported formats | |
134 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatów obsługiwanych przez GDAL | |
135 | Group: Applications/File | |
136 | Requires: %{name} = %{version}-%{release} | |
137 | ||
138 | %description conv-gdal | |
139 | gtatool module to convert from/to GDAL supported formats. | |
140 | ||
141 | %description conv-gdal -l pl.UTF-8 | |
142 | Moduł gtatool do konwersji z/do formatów obsługiwanych przez GDAL. | |
143 | ||
b49f8bf2 JR |
144 | %package conv-png |
145 | Summary: gtatool module to convert from/to PNG format | |
146 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatu PNG | |
147 | Group: Applications/File | |
148 | Requires: %{name} = %{version}-%{release} | |
149 | ||
150 | %description conv-png | |
151 | gtatool module to convert from/to PNG format. | |
152 | ||
153 | %description conv-png -l pl.UTF-8 | |
154 | Moduł gtatool do konwersji z/do formatu PNG. | |
155 | ||
dc0d3430 JB |
156 | %package conv-jpeg |
157 | Summary: gtatool module to convert from/to JPEG formats | |
158 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatu JPEG | |
159 | Group: Applications/File | |
160 | Requires: %{name} = %{version}-%{release} | |
161 | ||
162 | %description conv-jpeg | |
163 | gtatool module to convert from/to JPEG formats. | |
164 | ||
165 | %description conv-jpeg -l pl.UTF-8 | |
166 | Moduł gtatool do konwersji z/do formatu JPEG. | |
167 | ||
77f1f9bf JB |
168 | %package conv-magick |
169 | Summary: gtatool module to convert from/to ImageMagick supported formats | |
170 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatów obsługiwanych przez ImageMagick | |
171 | Group: Applications/File | |
172 | Requires: %{name} = %{version}-%{release} | |
173 | ||
174 | %description conv-magick | |
175 | gtatool module to convert from/to ImageMagick supported formats. | |
176 | ||
177 | %description conv-magick -l pl.UTF-8 | |
178 | Moduł gtatool do konwersji z/do formatów obsługiwanych przez | |
179 | ImageMagick. | |
180 | ||
0c601f44 JB |
181 | %package conv-mat |
182 | Summary: gtatool module to convert from/to MAT format | |
183 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatu MAT | |
184 | Group: Applications/File | |
185 | Requires: %{name} = %{version}-%{release} | |
6077409b | 186 | Requires: matio >= 1.5.0 |
0c601f44 JB |
187 | |
188 | %description conv-mat | |
189 | gtatool module to convert from/to MAT (Matlab) format. | |
190 | ||
191 | %description conv-mat -l pl.UTF-8 | |
192 | Moduł gtatool do konwersji z/do formatu MAT (z programu Matlab). | |
193 | ||
ce930cd4 JB |
194 | %package conv-netcdf |
195 | Summary: gtatool module to convert from/to NetCDF format | |
196 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatu NetCDF | |
197 | Group: Applications/File | |
198 | Requires: %{name} = %{version}-%{release} | |
199 | ||
200 | %description conv-netcdf | |
201 | gtatool module to convert from/to NetCDF format. | |
202 | ||
203 | %description conv-netcdf -l pl.UTF-8 | |
204 | Moduł gtatool do konwersji z/do formatu NetCDF. | |
205 | ||
77f1f9bf JB |
206 | %package conv-netpbm |
207 | Summary: gtatool module to convert from/to NetPBM supported formats | |
208 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatów obsługiwanych przez NetPBM | |
209 | Group: Applications/File | |
210 | Requires: %{name} = %{version}-%{release} | |
211 | ||
212 | %description conv-netpbm | |
213 | gtatool module to convert from/to NetPBM supported formats. | |
214 | ||
215 | %description conv-netpbm -l pl.UTF-8 | |
216 | Moduł gtatool do konwersji z/do formatów obsługiwanych przez NetPBM. | |
217 | ||
ce930cd4 JB |
218 | %package conv-pcd |
219 | Summary: gtatool module to convert from/to PCD format | |
220 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatu PCD | |
221 | Group: Applications/File | |
222 | Requires: %{name} = %{version}-%{release} | |
223 | ||
224 | %description conv-pcd | |
225 | gtatool module to convert from/to PCD format. | |
226 | ||
227 | %description conv-pcd -l pl.UTF-8 | |
228 | Moduł gtatool do konwersji z/do formatu PCD. | |
229 | ||
dcb8070a JB |
230 | %package conv-pfs |
231 | Summary: gtatool module to convert from/to PFS format | |
232 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatu PFS | |
233 | Group: Applications/File | |
234 | Requires: %{name} = %{version}-%{release} | |
235 | ||
236 | %description conv-pfs | |
237 | gtatool module to convert from/to PFS format. | |
238 | ||
239 | %description conv-pfs -l pl.UTF-8 | |
240 | Moduł gtatool do konwersji z/do formatu PFS. | |
241 | ||
77f1f9bf JB |
242 | %package conv-sndfile |
243 | Summary: gtatool module to convert from/to libsndfile supported formats | |
244 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatów obsługiwanych przez libsndfile | |
245 | Group: Applications/File | |
246 | Requires: %{name} = %{version}-%{release} | |
247 | ||
248 | %description conv-sndfile | |
249 | gtatool module to convert from/to libsndfile supported formats. | |
250 | ||
251 | %description conv-sndfile -l pl.UTF-8 | |
252 | Moduł gtatool do konwersji z/do formatów obsługiwanych przez | |
253 | libsndfile. | |
254 | ||
53d34f41 JB |
255 | %package conv-teem |
256 | Summary: gtatool module to convert from/to Teem (NRRD) format | |
257 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatu Teem (NRRD) | |
258 | Group: Applications/File | |
259 | Requires: %{name} = %{version}-%{release} | |
260 | ||
261 | %description conv-teem | |
262 | gtatool module to convert from/to Teem (NRRD) format. | |
263 | ||
264 | %description conv-teem -l pl.UTF-8 | |
265 | Moduł gtatool do konwersji z/do formatu Teem (NRRD). | |
266 | ||
77f1f9bf JB |
267 | %package gui |
268 | Summary: Qt-based GUI module for gtatool | |
269 | Summary(pl.UTF-8): Moduł graficznego interfejsu użytkownika opartego na Qt dla narzędzia gtatool | |
270 | Group: X11/Applications | |
aaf56fae | 271 | Requires(post,postun): gtk-update-icon-cache |
77f1f9bf | 272 | Requires: %{name} = %{version}-%{release} |
aaf56fae JB |
273 | Requires: Qt5Widgets >= 5.5 |
274 | Requires: hicolor-icon-theme | |
77f1f9bf JB |
275 | |
276 | %description gui | |
277 | Qt-based GUI module for gtatool. | |
278 | ||
279 | %description gui -l pl.UTF-8 | |
280 | Moduł graficznego interfejsu użytkownika opartego na Qt dla narzędzia | |
281 | gtatool. | |
282 | ||
d4dbb544 JB |
283 | %package -n bash-completion-gtatool |
284 | Summary: Bash completion for gtatool command | |
285 | Summary(pl.UTF-8): Bashowe uzupełnianie parametrów programu gtatool | |
286 | Group: Applications/Shells | |
287 | Requires: %{name} = %{version}-%{release} | |
6077409b | 288 | Requires: bash-completion >= 2 |
9f94ea20 | 289 | BuildArch: noarch |
d4dbb544 JB |
290 | |
291 | %description -n bash-completion-gtatool | |
292 | Bash completion for gtatool command. | |
293 | ||
294 | %description -n bash-completion-gtatool -l pl.UTF-8 | |
295 | Bashowe uzupełnianie parametrów programu gtatool. | |
296 | ||
77f1f9bf JB |
297 | %prep |
298 | %setup -q | |
0498f6eb | 299 | %patch0 -p1 |
6077409b | 300 | %patch1 -p1 |
01b372b6 | 301 | %patch2 -p1 |
0498f6eb | 302 | %patch3 -p1 |
a89873e9 | 303 | %patch4 -p1 |
77f1f9bf JB |
304 | |
305 | %build | |
dc73249c JB |
306 | %{__libtoolize} |
307 | %{__aclocal} -I m4 | |
308 | %{__autoconf} | |
309 | %{__autoheader} | |
310 | %{__automake} | |
851b9a47 JR |
311 | %if %{with netpbm} |
312 | export CFLAGS="%{rpmcflags} -I/usr/include/netpbm" | |
9e8a0297 | 313 | export CXXFLAGS="%{rpmcxxflags} -I/usr/include/netpbm -std=gnu++14" |
851b9a47 | 314 | %endif |
77f1f9bf | 315 | %configure \ |
b49f8bf2 | 316 | MOC=%{_libdir}/qt5/bin/moc \ |
6077409b | 317 | BASHCOMPLETIONDIR=%{bash_compdir} \ |
ce930cd4 | 318 | --disable-silent-rules \ |
6077409b | 319 | --with-bashcompletion \ |
ce930cd4 JB |
320 | %{!?with_dcmtk:--without-dcmtk} \ |
321 | %{!?with_ffmpeg:--without-ffmpeg} \ | |
322 | %{!?with_gdal:--without-gdal} \ | |
323 | %{!?with_jpeg:--without-jpeg} \ | |
b49f8bf2 | 324 | %{!?with_png:--without-png} \ |
01b372b6 | 325 | %{?with_magick:--with-magick-flavor=ImageMagick} \ |
ce930cd4 JB |
326 | %{!?with_magick:--without-magick} \ |
327 | %{!?with_matio:--without-matio} \ | |
328 | %{!?with_muparser:--without-muparser} \ | |
329 | %{!?with_netcdf:--without-netcdf} \ | |
330 | %{!?with_netpbm:--without-netpbm} \ | |
331 | %{!?with_openexr:--without-openexr} \ | |
332 | %{!?with_pcl:--without-pcd} \ | |
333 | %{!?with_pfs:--without-pfs} \ | |
334 | %{!?with_qt:--without-qt} \ | |
53d34f41 JB |
335 | %{!?with_sndfile:--without-sndfile} \ |
336 | %{!?with_teem:--without-teem} | |
77f1f9bf JB |
337 | %{__make} |
338 | ||
339 | %install | |
340 | rm -rf $RPM_BUILD_ROOT | |
341 | ||
342 | %{__make} install \ | |
343 | DESTDIR=$RPM_BUILD_ROOT | |
344 | ||
345 | %clean | |
346 | rm -rf $RPM_BUILD_ROOT | |
347 | ||
348 | %post -p /sbin/postshell | |
349 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
350 | ||
351 | %postun -p /sbin/postshell | |
352 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
353 | ||
aaf56fae JB |
354 | %post gui |
355 | %update_icon_cache hicolor | |
356 | ||
357 | %postun gui | |
358 | %update_icon_cache hicolor | |
359 | ||
77f1f9bf JB |
360 | %files |
361 | %defattr(644,root,root,755) | |
362 | %doc AUTHORS ChangeLog NEWS README | |
363 | %attr(755,root,root) %{_bindir}/gta | |
364 | %dir %{_libdir}/gtatool | |
dc0d3430 JB |
365 | %attr(755,root,root) %{_libdir}/gtatool/conv-csv.so |
366 | %attr(755,root,root) %{_libdir}/gtatool/conv-datraw.so | |
77f1f9bf | 367 | %attr(755,root,root) %{_libdir}/gtatool/conv-ply.so |
dc0d3430 | 368 | %attr(755,root,root) %{_libdir}/gtatool/conv-pvm.so |
77f1f9bf JB |
369 | %attr(755,root,root) %{_libdir}/gtatool/conv-rat.so |
370 | %attr(755,root,root) %{_libdir}/gtatool/conv-raw.so | |
371 | %{_mandir}/man1/gta.1* | |
372 | %{_infodir}/gta.info* | |
373 | ||
ce930cd4 | 374 | %if %{with muparser} |
1a8c37c1 JB |
375 | %files component-compute |
376 | %defattr(644,root,root,755) | |
377 | %attr(755,root,root) %{_libdir}/gtatool/component-compute.so | |
ce930cd4 | 378 | %endif |
1a8c37c1 | 379 | |
ce930cd4 | 380 | %if %{with dcmtk} |
e75f31c6 JB |
381 | %files conv-dcmtk |
382 | %defattr(644,root,root,755) | |
383 | %attr(755,root,root) %{_libdir}/gtatool/conv-dcmtk.so | |
ce930cd4 | 384 | %endif |
e75f31c6 | 385 | |
ce930cd4 | 386 | %if %{with openexr} |
77f1f9bf JB |
387 | %files conv-exr |
388 | %defattr(644,root,root,755) | |
389 | %attr(755,root,root) %{_libdir}/gtatool/conv-exr.so | |
ce930cd4 | 390 | %endif |
77f1f9bf | 391 | |
ce930cd4 | 392 | %if %{with ffmpeg} |
77f1f9bf JB |
393 | %files conv-ffmpeg |
394 | %defattr(644,root,root,755) | |
395 | %attr(755,root,root) %{_libdir}/gtatool/conv-ffmpeg.so | |
ce930cd4 | 396 | %endif |
77f1f9bf | 397 | |
ce930cd4 | 398 | %if %{with gdal} |
fec333dc JB |
399 | %files conv-gdal |
400 | %defattr(644,root,root,755) | |
401 | %attr(755,root,root) %{_libdir}/gtatool/conv-gdal.so | |
ce930cd4 | 402 | %endif |
fec333dc | 403 | |
b49f8bf2 JR |
404 | %if %{with png} |
405 | %files conv-png | |
406 | %defattr(644,root,root,755) | |
407 | %attr(755,root,root) %{_libdir}/gtatool/conv-png.so | |
408 | %endif | |
409 | ||
ce930cd4 | 410 | %if %{with jpeg} |
dc0d3430 JB |
411 | %files conv-jpeg |
412 | %defattr(644,root,root,755) | |
413 | %attr(755,root,root) %{_libdir}/gtatool/conv-jpeg.so | |
ce930cd4 | 414 | %endif |
dc0d3430 | 415 | |
ce930cd4 | 416 | %if %{with magick} |
77f1f9bf JB |
417 | %files conv-magick |
418 | %defattr(644,root,root,755) | |
419 | %attr(755,root,root) %{_libdir}/gtatool/conv-magick.so | |
ce930cd4 | 420 | %endif |
77f1f9bf | 421 | |
ce930cd4 | 422 | %if %{with matio} |
0c601f44 JB |
423 | %files conv-mat |
424 | %defattr(644,root,root,755) | |
425 | %attr(755,root,root) %{_libdir}/gtatool/conv-mat.so | |
ce930cd4 | 426 | %endif |
0c601f44 | 427 | |
ce930cd4 JB |
428 | %if %{with netcdf} |
429 | %files conv-netcdf | |
430 | %defattr(644,root,root,755) | |
431 | %attr(755,root,root) %{_libdir}/gtatool/conv-netcdf.so | |
432 | %endif | |
433 | ||
434 | %if %{with netpbm} | |
77f1f9bf JB |
435 | %files conv-netpbm |
436 | %defattr(644,root,root,755) | |
437 | %attr(755,root,root) %{_libdir}/gtatool/conv-netpbm.so | |
ce930cd4 JB |
438 | %endif |
439 | ||
440 | %if %{with pcl} | |
441 | %files conv-pcd | |
442 | %defattr(644,root,root,755) | |
443 | %attr(755,root,root) %{_libdir}/gtatool/conv-pcd.so | |
444 | %endif | |
77f1f9bf | 445 | |
ce930cd4 | 446 | %if %{with pfs} |
dcb8070a JB |
447 | %files conv-pfs |
448 | %defattr(644,root,root,755) | |
449 | %attr(755,root,root) %{_libdir}/gtatool/conv-pfs.so | |
ce930cd4 | 450 | %endif |
dcb8070a | 451 | |
ce930cd4 | 452 | %if %{with sndfile} |
77f1f9bf JB |
453 | %files conv-sndfile |
454 | %defattr(644,root,root,755) | |
455 | %attr(755,root,root) %{_libdir}/gtatool/conv-sndfile.so | |
ce930cd4 | 456 | %endif |
77f1f9bf | 457 | |
53d34f41 JB |
458 | %if %{with teem} |
459 | %files conv-teem | |
460 | %defattr(644,root,root,755) | |
461 | %attr(755,root,root) %{_libdir}/gtatool/conv-teem.so | |
462 | %endif | |
463 | ||
ce930cd4 | 464 | %if %{with qt} |
77f1f9bf JB |
465 | %files gui |
466 | %defattr(644,root,root,755) | |
467 | %attr(755,root,root) %{_libdir}/gtatool/gui.so | |
dc0d3430 | 468 | %{_desktopdir}/gta_gui.desktop |
aaf56fae | 469 | %{_iconsdir}/hicolor/*x*/apps/gta.png |
dc0d3430 | 470 | %{_iconsdir}/hicolor/scalable/apps/gta.svg |
ce930cd4 | 471 | %endif |
d4dbb544 JB |
472 | |
473 | %files -n bash-completion-gtatool | |
474 | %defattr(644,root,root,755) | |
6077409b | 475 | %{bash_compdir}/gta |