]>
Commit | Line | Data |
---|---|---|
fec333dc | 1 | # TODO: [lib]muparser, [lib]matio, [lib]pcl_io, [lib]pfs, dcmingle/dcmtk |
77f1f9bf JB |
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 | # libavformat >= 52.110.0 libavcodec libavdevice libavutil libswscale | |
20 | BuildRequires: ffmpeg-devel | |
fec333dc | 21 | BuildRequires: gdal-devel |
77f1f9bf JB |
22 | BuildRequires: libgta-devel >= 0.9.4 |
23 | BuildRequires: libsndfile-devel | |
24 | %{?with_apidocs:BuildRequires: doxygen} | |
25 | BuildRequires: libstdc++-devel | |
26 | BuildRequires: netpbm-devel | |
27 | BuildRequires: pkgconfig | |
28 | BuildRequires: qt4-build >= 4.4.3 | |
29 | BuildRequires: tar >= 1:1.22 | |
30 | BuildRequires: xz | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | Gtatool manipulates Generic Tagged Array (GTA) files. | |
35 | ||
36 | It provides a set of commands that manipulate GTAs on various levels, | |
37 | and it can import from and export to many other file formats. | |
38 | ||
39 | %description -l pl.UTF-8 | |
40 | gtatool pracuje na plikach GTA (Generic Tagged Array - ogólnych | |
41 | tablicach etykietowanych). | |
42 | ||
43 | Pakiet zawiera zestaw poleceń obrabiających GTA na różnych poziomach, | |
44 | potrafiących importować i eksportować do wielu innych formatów plików. | |
45 | ||
46 | %package conv-exr | |
47 | Summary: gtatool module to convert from/to EXR format | |
48 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatu EXR | |
49 | Group: Applications/File | |
50 | Requires: %{name} = %{version}-%{release} | |
51 | ||
52 | %description conv-exr | |
53 | gtatool module to convert from/to EXR format. | |
54 | ||
55 | %description conv-exr -l pl.UTF-8 | |
56 | Moduł gtatool do konwersji z/do formatu EXR. | |
57 | ||
58 | %package conv-ffmpeg | |
59 | Summary: gtatool module to convert from FFmpeg formats | |
60 | Summary(pl.UTF-8): Moduł gtatool do konwersji z formatów FFmpeg | |
61 | Group: Applications/File | |
62 | Requires: %{name} = %{version}-%{release} | |
63 | ||
64 | %description conv-ffmpeg | |
65 | gtatool module to convert from FFmpeg formats. | |
66 | ||
67 | %description conv-ffmpeg -l pl.UTF-8 | |
68 | Moduł gtatool do konwersji z formatów FFmpeg. | |
69 | ||
fec333dc JB |
70 | %package conv-gdal |
71 | Summary: gtatool module to convert from/to GDAL supported formats | |
72 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatów obsługiwanych przez GDAL | |
73 | Group: Applications/File | |
74 | Requires: %{name} = %{version}-%{release} | |
75 | ||
76 | %description conv-gdal | |
77 | gtatool module to convert from/to GDAL supported formats. | |
78 | ||
79 | %description conv-gdal -l pl.UTF-8 | |
80 | Moduł gtatool do konwersji z/do formatów obsługiwanych przez GDAL. | |
81 | ||
77f1f9bf JB |
82 | %package conv-magick |
83 | Summary: gtatool module to convert from/to ImageMagick supported formats | |
84 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatów obsługiwanych przez ImageMagick | |
85 | Group: Applications/File | |
86 | Requires: %{name} = %{version}-%{release} | |
87 | ||
88 | %description conv-magick | |
89 | gtatool module to convert from/to ImageMagick supported formats. | |
90 | ||
91 | %description conv-magick -l pl.UTF-8 | |
92 | Moduł gtatool do konwersji z/do formatów obsługiwanych przez | |
93 | ImageMagick. | |
94 | ||
95 | %package conv-netpbm | |
96 | Summary: gtatool module to convert from/to NetPBM supported formats | |
97 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatów obsługiwanych przez NetPBM | |
98 | Group: Applications/File | |
99 | Requires: %{name} = %{version}-%{release} | |
100 | ||
101 | %description conv-netpbm | |
102 | gtatool module to convert from/to NetPBM supported formats. | |
103 | ||
104 | %description conv-netpbm -l pl.UTF-8 | |
105 | Moduł gtatool do konwersji z/do formatów obsługiwanych przez NetPBM. | |
106 | ||
107 | %package conv-sndfile | |
108 | Summary: gtatool module to convert from/to libsndfile supported formats | |
109 | Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatów obsługiwanych przez libsndfile | |
110 | Group: Applications/File | |
111 | Requires: %{name} = %{version}-%{release} | |
112 | ||
113 | %description conv-sndfile | |
114 | gtatool module to convert from/to libsndfile supported formats. | |
115 | ||
116 | %description conv-sndfile -l pl.UTF-8 | |
117 | Moduł gtatool do konwersji z/do formatów obsługiwanych przez | |
118 | libsndfile. | |
119 | ||
120 | %package gui | |
121 | Summary: Qt-based GUI module for gtatool | |
122 | Summary(pl.UTF-8): Moduł graficznego interfejsu użytkownika opartego na Qt dla narzędzia gtatool | |
123 | Group: X11/Applications | |
124 | Requires: %{name} = %{version}-%{release} | |
125 | Requires: QtGui >= 4.4.3 | |
126 | ||
127 | %description gui | |
128 | Qt-based GUI module for gtatool. | |
129 | ||
130 | %description gui -l pl.UTF-8 | |
131 | Moduł graficznego interfejsu użytkownika opartego na Qt dla narzędzia | |
132 | gtatool. | |
133 | ||
134 | %prep | |
135 | %setup -q | |
136 | ||
137 | %build | |
138 | %configure \ | |
139 | --disable-silent-rules | |
140 | %{__make} | |
141 | ||
142 | %install | |
143 | rm -rf $RPM_BUILD_ROOT | |
144 | ||
145 | %{__make} install \ | |
146 | DESTDIR=$RPM_BUILD_ROOT | |
147 | ||
148 | %clean | |
149 | rm -rf $RPM_BUILD_ROOT | |
150 | ||
151 | %post -p /sbin/postshell | |
152 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
153 | ||
154 | %postun -p /sbin/postshell | |
155 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
156 | ||
157 | %files | |
158 | %defattr(644,root,root,755) | |
159 | %doc AUTHORS ChangeLog NEWS README | |
160 | %attr(755,root,root) %{_bindir}/gta | |
161 | %dir %{_libdir}/gtatool | |
162 | %attr(755,root,root) %{_libdir}/gtatool/conv-ply.so | |
163 | %attr(755,root,root) %{_libdir}/gtatool/conv-rat.so | |
164 | %attr(755,root,root) %{_libdir}/gtatool/conv-raw.so | |
165 | %{_mandir}/man1/gta.1* | |
166 | %{_infodir}/gta.info* | |
167 | ||
168 | %files conv-exr | |
169 | %defattr(644,root,root,755) | |
170 | %attr(755,root,root) %{_libdir}/gtatool/conv-exr.so | |
171 | ||
172 | %files conv-ffmpeg | |
173 | %defattr(644,root,root,755) | |
174 | %attr(755,root,root) %{_libdir}/gtatool/conv-ffmpeg.so | |
175 | ||
fec333dc JB |
176 | %files conv-gdal |
177 | %defattr(644,root,root,755) | |
178 | %attr(755,root,root) %{_libdir}/gtatool/conv-gdal.so | |
179 | ||
77f1f9bf JB |
180 | %files conv-magick |
181 | %defattr(644,root,root,755) | |
182 | %attr(755,root,root) %{_libdir}/gtatool/conv-magick.so | |
183 | ||
184 | %files conv-netpbm | |
185 | %defattr(644,root,root,755) | |
186 | %attr(755,root,root) %{_libdir}/gtatool/conv-netpbm.so | |
187 | ||
188 | %files conv-sndfile | |
189 | %defattr(644,root,root,755) | |
190 | %attr(755,root,root) %{_libdir}/gtatool/conv-sndfile.so | |
191 | ||
192 | %files gui | |
193 | %defattr(644,root,root,755) | |
194 | %attr(755,root,root) %{_libdir}/gtatool/gui.so |