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