]> git.pld-linux.org Git - packages/gtatool.git/blob - gtatool.spec
- updated to 1.2.0
[packages/gtatool.git] / gtatool.spec
1 # TODO: [lib]pcl_io >= 1.0, teem/nrrd
2 #
3 # Conditional build:
4 %bcond_without  apidocs         # do not build and package API docs
5 #
6 Summary:        Tools to manipulate Generic Tagged Array (GTA) files
7 Summary(pl.UTF-8):      Narzędzia do obróbki plików GTA (ogólnych tablic etykietowanych)
8 Name:           gtatool
9 Version:        1.2.0
10 Release:        1
11 License:        GPL v3+
12 Group:          Applications/File
13 Source0:        http://download.savannah.nongnu.org/releases/gta/%{name}-%{version}.tar.xz
14 # Source0-md5:  d6db2b695e0bbbf898c241e97b2de786
15 URL:            http://gta.nongnu.org/gtatool.html
16 BuildRequires:  ImageMagick-c++-devel
17 BuildRequires:  OpenEXR-devel
18 BuildRequires:  QtGui-devel >= 4.6
19 BuildRequires:  dcmtk-devel
20 %{?with_apidocs:BuildRequires:  doxygen}
21 # libavformat >= 52.110.0 libavcodec libavdevice libavutil libswscale
22 BuildRequires:  ffmpeg-devel
23 BuildRequires:  gdal-devel
24 BuildRequires:  libgta-devel >= 0.9.4
25 BuildRequires:  libjpeg-devel
26 BuildRequires:  libsndfile-devel
27 BuildRequires:  libstdc++-devel
28 BuildRequires:  matio-devel
29 BuildRequires:  muparser-devel
30 BuildRequires:  netpbm-devel
31 BuildRequires:  pfstools-devel
32 BuildRequires:  pkgconfig
33 BuildRequires:  qt4-build >= 4.6
34 BuildRequires:  tar >= 1:1.22
35 BuildRequires:  xz
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 Gtatool manipulates Generic Tagged Array (GTA) files.
40
41 It provides a set of commands that manipulate GTAs on various levels,
42 and it can import from and export to many other file formats.
43
44 %description -l pl.UTF-8
45 gtatool pracuje na plikach GTA (Generic Tagged Array - ogólnych
46 tablicach etykietowanych).
47
48 Pakiet zawiera zestaw poleceń obrabiających GTA na różnych poziomach,
49 potrafiących importować i eksportować do wielu innych formatów plików.
50
51 %package component-compute
52 Summary:        gtatool module to compute array element components
53 Summary(pl.UTF-8):      Moduł gtatool do obliczania składowych elementów tablicy
54 Group:          Applications/File
55 Requires:       %{name} = %{version}-%{release}
56
57 %description component-compute
58 gtatool module to compute array element components.
59
60 %description component-compute -l pl.UTF-8
61 Moduł gtatool do obliczania składowych elementów tablicy.
62
63 %package conv-dcmtk
64 Summary:        gtatool module to convert from DICOM format
65 Summary(pl.UTF-8):      Moduł gtatool do konwersji z formatu DICOM
66 Group:          Applications/File
67 Requires:       %{name} = %{version}-%{release}
68
69 %description conv-dcmtk
70 gtatool module to convert from DICOM format.
71
72 %description conv-dcmtk -l pl.UTF-8
73 Moduł gtatool do konwersji z formatu DICOM.
74
75 %package conv-exr
76 Summary:        gtatool module to convert from/to EXR format
77 Summary(pl.UTF-8):      Moduł gtatool do konwersji z/do formatu EXR
78 Group:          Applications/File
79 Requires:       %{name} = %{version}-%{release}
80
81 %description conv-exr
82 gtatool module to convert from/to EXR format.
83
84 %description conv-exr -l pl.UTF-8
85 Moduł gtatool do konwersji z/do formatu EXR.
86
87 %package conv-ffmpeg
88 Summary:        gtatool module to convert from FFmpeg formats
89 Summary(pl.UTF-8):      Moduł gtatool do konwersji z formatów FFmpeg
90 Group:          Applications/File
91 Requires:       %{name} = %{version}-%{release}
92
93 %description conv-ffmpeg
94 gtatool module to convert from FFmpeg formats.
95
96 %description conv-ffmpeg -l pl.UTF-8
97 Moduł gtatool do konwersji z formatów FFmpeg.
98
99 %package conv-gdal
100 Summary:        gtatool module to convert from/to GDAL supported formats
101 Summary(pl.UTF-8):      Moduł gtatool do konwersji z/do formatów obsługiwanych przez GDAL
102 Group:          Applications/File
103 Requires:       %{name} = %{version}-%{release}
104
105 %description conv-gdal
106 gtatool module to convert from/to GDAL supported formats.
107
108 %description conv-gdal -l pl.UTF-8
109 Moduł gtatool do konwersji z/do formatów obsługiwanych przez GDAL.
110
111 %package conv-jpeg
112 Summary:        gtatool module to convert from/to JPEG formats
113 Summary(pl.UTF-8):      Moduł gtatool do konwersji z/do formatu JPEG
114 Group:          Applications/File
115 Requires:       %{name} = %{version}-%{release}
116
117 %description conv-jpeg
118 gtatool module to convert from/to JPEG formats.
119
120 %description conv-jpeg -l pl.UTF-8
121 Moduł gtatool do konwersji z/do formatu JPEG.
122
123 %package conv-magick
124 Summary:        gtatool module to convert from/to ImageMagick supported formats
125 Summary(pl.UTF-8):      Moduł gtatool do konwersji z/do formatów obsługiwanych przez ImageMagick
126 Group:          Applications/File
127 Requires:       %{name} = %{version}-%{release}
128
129 %description conv-magick
130 gtatool module to convert from/to ImageMagick supported formats.
131
132 %description conv-magick -l pl.UTF-8
133 Moduł gtatool do konwersji z/do formatów obsługiwanych przez
134 ImageMagick.
135
136 %package conv-mat
137 Summary:        gtatool module to convert from/to MAT format
138 Summary(pl.UTF-8):      Moduł gtatool do konwersji z/do formatu MAT
139 Group:          Applications/File
140 Requires:       %{name} = %{version}-%{release}
141
142 %description conv-mat
143 gtatool module to convert from/to MAT (Matlab) format.
144
145 %description conv-mat -l pl.UTF-8
146 Moduł gtatool do konwersji z/do formatu MAT (z programu Matlab).
147
148 %package conv-netpbm
149 Summary:        gtatool module to convert from/to NetPBM supported formats
150 Summary(pl.UTF-8):      Moduł gtatool do konwersji z/do formatów obsługiwanych przez NetPBM
151 Group:          Applications/File
152 Requires:       %{name} = %{version}-%{release}
153
154 %description conv-netpbm
155 gtatool module to convert from/to NetPBM supported formats.
156
157 %description conv-netpbm -l pl.UTF-8
158 Moduł gtatool do konwersji z/do formatów obsługiwanych przez NetPBM.
159
160 %package conv-pfs
161 Summary:        gtatool module to convert from/to PFS format
162 Summary(pl.UTF-8):      Moduł gtatool do konwersji z/do formatu PFS
163 Group:          Applications/File
164 Requires:       %{name} = %{version}-%{release}
165
166 %description conv-pfs
167 gtatool module to convert from/to PFS format.
168
169 %description conv-pfs -l pl.UTF-8
170 Moduł gtatool do konwersji z/do formatu PFS.
171
172 %package conv-sndfile
173 Summary:        gtatool module to convert from/to libsndfile supported formats
174 Summary(pl.UTF-8):      Moduł gtatool do konwersji z/do formatów obsługiwanych przez libsndfile
175 Group:          Applications/File
176 Requires:       %{name} = %{version}-%{release}
177
178 %description conv-sndfile
179 gtatool module to convert from/to libsndfile supported formats.
180
181 %description conv-sndfile -l pl.UTF-8
182 Moduł gtatool do konwersji z/do formatów obsługiwanych przez
183 libsndfile.
184
185 %package gui
186 Summary:        Qt-based GUI module for gtatool
187 Summary(pl.UTF-8):      Moduł graficznego interfejsu użytkownika opartego na Qt dla narzędzia gtatool
188 Group:          X11/Applications
189 Requires:       %{name} = %{version}-%{release}
190 Requires:       QtGui >= 4.6
191
192 %description gui
193 Qt-based GUI module for gtatool.
194
195 %description gui -l pl.UTF-8
196 Moduł graficznego interfejsu użytkownika opartego na Qt dla narzędzia
197 gtatool.
198
199 %prep
200 %setup -q
201
202 %build
203 %configure \
204         --disable-silent-rules
205 %{__make}
206
207 %install
208 rm -rf $RPM_BUILD_ROOT
209
210 %{__make} install \
211         DESTDIR=$RPM_BUILD_ROOT
212
213 %clean
214 rm -rf $RPM_BUILD_ROOT
215
216 %post   -p /sbin/postshell
217 -/usr/sbin/fix-info-dir -c %{_infodir}
218
219 %postun -p /sbin/postshell
220 -/usr/sbin/fix-info-dir -c %{_infodir}
221
222 %files
223 %defattr(644,root,root,755)
224 %doc AUTHORS ChangeLog NEWS README
225 %attr(755,root,root) %{_bindir}/gta
226 %dir %{_libdir}/gtatool
227 %attr(755,root,root) %{_libdir}/gtatool/conv-csv.so
228 %attr(755,root,root) %{_libdir}/gtatool/conv-datraw.so
229 %attr(755,root,root) %{_libdir}/gtatool/conv-ply.so
230 %attr(755,root,root) %{_libdir}/gtatool/conv-pvm.so
231 %attr(755,root,root) %{_libdir}/gtatool/conv-rat.so
232 %attr(755,root,root) %{_libdir}/gtatool/conv-raw.so
233 %{_mandir}/man1/gta.1*
234 %{_infodir}/gta.info*
235
236 %files component-compute
237 %defattr(644,root,root,755)
238 %attr(755,root,root) %{_libdir}/gtatool/component-compute.so
239
240 %files conv-dcmtk
241 %defattr(644,root,root,755)
242 %attr(755,root,root) %{_libdir}/gtatool/conv-dcmtk.so
243
244 %files conv-exr
245 %defattr(644,root,root,755)
246 %attr(755,root,root) %{_libdir}/gtatool/conv-exr.so
247
248 %files conv-ffmpeg
249 %defattr(644,root,root,755)
250 %attr(755,root,root) %{_libdir}/gtatool/conv-ffmpeg.so
251
252 %files conv-gdal
253 %defattr(644,root,root,755)
254 %attr(755,root,root) %{_libdir}/gtatool/conv-gdal.so
255
256 %files conv-jpeg
257 %defattr(644,root,root,755)
258 %attr(755,root,root) %{_libdir}/gtatool/conv-jpeg.so
259
260 %files conv-magick
261 %defattr(644,root,root,755)
262 %attr(755,root,root) %{_libdir}/gtatool/conv-magick.so
263
264 %files conv-mat
265 %defattr(644,root,root,755)
266 %attr(755,root,root) %{_libdir}/gtatool/conv-mat.so
267
268 %files conv-netpbm
269 %defattr(644,root,root,755)
270 %attr(755,root,root) %{_libdir}/gtatool/conv-netpbm.so
271
272 %files conv-pfs
273 %defattr(644,root,root,755)
274 %attr(755,root,root) %{_libdir}/gtatool/conv-pfs.so
275
276 %files conv-sndfile
277 %defattr(644,root,root,755)
278 %attr(755,root,root) %{_libdir}/gtatool/conv-sndfile.so
279
280 %files gui
281 %defattr(644,root,root,755)
282 %attr(755,root,root) %{_libdir}/gtatool/gui.so
283 %{_desktopdir}/gta_gui.desktop
284 %{_iconsdir}/hicolor/*/apps/gta.png
285 %{_iconsdir}/hicolor/scalable/apps/gta.svg
This page took 0.077581 seconds and 3 git commands to generate.