Package pfstools: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 | %define lib_name libpfs %def_without octave Name: pfstools Version: 1.8.5 Release: alt1.8.3 Summary: High Dynamic Range (HDR) Images and Video manipulation tools License: GPLv2+ Group: Graphics Url: http://pfstools.sourceforge.net/ Source: http://downloads.sourceforge.net/pfstools/pfstools-%version.tar.gz Patch1: pfstools-1.7.0-gcc44.patch Patch2: pfstools-1.7.0-gdal.patch # Automatically added by buildreq on Fri Apr 22 2011 # optimized out: fontconfig ilmbase-devel libGL-devel libGLU-devel libgfortran-devel libgotoblas2-devel libhdf5-6-seq libqt4-core libqt4-devel libqt4-gui libstdc++-devel libtiff-devel libtinfo-devel octave pkg-config texlive-latex-base zlib-devel BuildRequires: gcc-c++ libImageMagick-devel libfftw3-devel libfreeglut-devel libgdal-devel libgeos-devel libhdf5-devel libjpeg-devel liblapack-devel libncurses-devel libnetpbm-devel libreadline-devel openexr-devel %if_with octave BuildRequires: octave-devel %endif # Optimized out build requirements we want to add as safety belt # (so pfstools build will not fail if due to changes in other packages # deps listed below packages will not be pulled for build) BuildRequires: libqt4-core libqt4-devel libqt4-gui libtiff-devel BuildRequires: gcc-fortran Requires: %lib_name = %version-%release # TODO: Move pfsglview and pfsview to own packages to prevent users from # having to install OpenGL/GLUT and Qt? %description pfstools package is a set of command line (and one GUI) programs for reading, writing, manipulating and viewing high-dynamic range (HDR) images and video frames. All programs in the package exchange data using a simple generic file format (pfs) for HDR data. The concept of the pfstools is similar to netpbm package for low-dynamic range images. %package -n %lib_name Summary: Library for %name Group: System/Libraries License: LGPLv2.1+ %description -n %lib_name This package contain the library needed to run programs linked with %lib_name. %package -n %lib_name-devel Summary: Headers for developing programs that will use %lib_name Group: Development/C++ License: LGPLv2.1+ Requires: %lib_name = %version-%release %description -n %lib_name-devel This package contains the headers that programmers will need to develop application which will use %lib_name. %if_with octave %package octave Summary: Octave interaction with PFS tools Group: Graphics %description octave The pfstools-octave package contains programs to process red, green and blue channels or luminance channels in pfs stream using Octave. %endif %package gdal Summary: PFS Tools using the GDAL library to handle GIS information Group: Graphics %description gdal The pfstools-gdal package contains programs which can handle GIS information using the GDAL library. %prep %setup %patch1 -p1 %patch2 -p1 %build export CFLAGS="$(pkg-config hdf5-seq --cflags)" export CXXFLAGS="$CFLAGS" %autoreconf # We can not use %%configure macro when build with octave in current repo... ./configure --prefix=/usr --libdir=%_libdir --disable-static --with-qtdir=%_libdir/qt4 %make_build %install %makeinstall_std %files %_bindir/pfsabsolute %_bindir/pfscat %_bindir/pfsclamp %_bindir/pfscut %_bindir/pfsextractchannels %_bindir/pfsdisplayfunction %_bindir/pfsflip %_bindir/pfsgamma %_bindir/pfsin %_bindir/pfsindcraw %_bindir/pfsinmulti %_bindir/pfsinpfm %_bindir/pfsinppm %_bindir/pfsinrgbe %_bindir/pfsintiff %_bindir/pfsout %_bindir/pfsoutffmpeg %_bindir/pfsouthdrhtml %_bindir/pfsoutpfm %_bindir/pfsoutppm %_bindir/pfsoutrgbe %_bindir/pfsouttiff %_bindir/pfspad %_bindir/pfspanoramic %_bindir/pfsrotate %_bindir/pfssize %_bindir/pfstag %_bindir/pfsinexr %_bindir/pfsoutexr %_bindir/pfsinimgmagick %_bindir/pfsoutimgmagick %_bindir/pfsglview %_bindir/pfsview %_bindir/pfsv %_datadir/pfstools %_man1dir/pfsabsolute.* %_man1dir/pfscat.* %_man1dir/pfsclamp.* %_man1dir/pfscut.* %_man1dir/pfsdisplayfunction.* %_man1dir/pfsextractchannels.* %_man1dir/pfsflip.* %_man1dir/pfsgamma.* %_man1dir/pfsin.* %_man1dir/pfsindcraw.* %_man1dir/pfsinmulti.* %_man1dir/pfsinpfm.* %_man1dir/pfsinppm.* %_man1dir/pfsinrgbe.* %_man1dir/pfsintiff.* %_man1dir/pfsout.* %_man1dir/pfsoutffmpeg.* %_man1dir/pfsouthdrhtml.* %_man1dir/pfsoutpfm.* %_man1dir/pfsoutppm.* %_man1dir/pfsoutrgbe.* %_man1dir/pfsouttiff.* %_man1dir/pfspad.* %_man1dir/pfspanoramic.* %_man1dir/pfsrotate.* %_man1dir/pfssize.* %_man1dir/pfstag.* %_man1dir/pfsinexr.* %_man1dir/pfsoutexr.* %_man1dir/pfsinimgmagick.* %_man1dir/pfsoutimgmagick.* %_man1dir/pfsglview.* %_man1dir/pfsview.* %_man1dir/pfsv.* %files -n %lib_name %_libdir/*.so.* %files -n %lib_name-devel %_includedir/pfs-* %_libdir/pkgconfig/*.pc %_libdir/*.so %if_with octave %files octave %_bindir/pfsoctavelum %_bindir/pfsoctavergb %_bindir/pfsstat %_libdir/octave/*/site/oct/*/pfstools %_datadir/octave/*/site/m/pfstools %_man1dir/pfsoctavelum.* %_man1dir/pfsoctavergb.* %_man1dir/pfsstat.* %endif %files gdal %_bindir/pfsingdal %_man1dir/pfsingdal.* %changelog * Wed Mar 02 2016 Andrey Cherepanov <cas@altlinux.org> 1.8.5-alt1.8.3 - Rebuild with new gdal * Wed Jul 08 2015 Paul Wolneykien <manowar@altlinux.org> 1.8.5-alt1.8.2 - Disable Octave package (rebuilding with Octave v4.0.0 fails). * Mon Jun 15 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 1.8.5-alt1.8.1 - Rebuilt for gcc5 C++11 ABI. * Tue Feb 17 2015 Anton Farygin <rider@altlinux.ru> 1.8.5-alt1.8 - Rebuild with new libImageMagick * Thu Oct 23 2014 Anton Farygin <rider@altlinux.ru> 1.8.5-alt1.7 - Rebuild with new libImageMagick * Tue Jan 14 2014 Paul Wolneykien <manowar@altlinux.org> 1.8.5-alt1.6 - Rebuild with the new version of Octave: 3.8.0. * Thu Sep 26 2013 Anton Farygin <rider@altlinux.ru> 1.8.5-alt1.5 - Rebuild with new libImageMagick * Fri Apr 19 2013 Anton Farygin <rider@altlinux.ru> 1.8.5-alt1.4 - Rebuild with new libImageMagick * Fri Oct 05 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.8.5-alt1.3 - Rebuilt with libtiff5 * Mon Jul 16 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.8.5-alt1.2 - Fixed build * Fri Jun 08 2012 Anton Farygin <rider@altlinux.ru> 1.8.5-alt1.1 - Rebuild with new libImageMagick * Sat Dec 10 2011 Victor Forsiuk <force@altlinux.org> 1.8.5-alt1 - 1.8.5 * Sun Jun 19 2011 Victor Forsiuk <force@altlinux.org> 1.8.4-alt1 - 1.8.4 * Wed Apr 27 2011 Paul Wolneykien <manowar@altlinux.ru> 1.8.3-alt2.1 - Rebuild with the new version of Octave (3.4.0). * Tue Apr 26 2011 Victor Forsiuk <force@altlinux.org> 1.8.3-alt2 - Renew build requirements. * Sat Mar 26 2011 Victor Forsiuk <force@altlinux.org> 1.8.3-alt1 - 1.8.3 - Build with gdal and octave integration but separate them in subpackages to avoid excessive run-time deps of main package. * Tue Sep 14 2010 Anton Farygin <rider@altlinux.ru> 1.8.2-alt1.1 - rebuild with new ImageMagick * Wed Jul 14 2010 Victor Forsiuk <force@altlinux.org> 1.8.2-alt1 - 1.8.2 * Tue Jun 23 2009 Victor Forsyuk <force@altlinux.org> 1.8.1-alt1 - 1.8.1 * Tue Nov 18 2008 Victor Forsyuk <force@altlinux.org> 1.7.0-alt1 - 1.7.0 - Remove obsolete ldconfig calls in post-scripts. * Wed May 21 2008 Victor Forsyuk <force@altlinux.org> 1.6.5-alt1 - 1.6.5 * Sat Mar 01 2008 ALT QA Team Robot <qa-robot@altlinux.org> 1.6.4-alt1.1 - Rebuilt due to libIlmImf.so.4 -> libIlmImf.so.6 soname change. * Tue Feb 26 2008 Victor Forsyuk <force@altlinux.org> 1.6.4-alt1 - 1.6.4 * Fri Jul 06 2007 Victor Forsyuk <force@altlinux.org> 1.6.2-alt1 - 1.6.2 * Mon Jun 18 2007 Victor Forsyuk <force@altlinux.org> 1.6.1-alt2 - Build with libnetpbm-devel and libImageMagick-devel. * Thu Jun 07 2007 Victor Forsyuk <force@altlinux.org> 1.6.1-alt1 - Initial build. |