Package ilmbase: 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 | %define rname IlmBase %define libsover 25 Name: ilmbase Version: 2.5.6 Release: alt2 %define _cmake__builddir BUILD %define common %name%libsover-common %define libhalf libhalf%libsover %define libiex libiex%libsover %define libilmthread libilmthread%libsover %define libimath libimath%libsover %define libiexmath libiexmath%libsover Group: System/Libraries Summary: A high-dynamic-range image file library License: BSD-3-Clause URL: http://www.openexr.org/ Requires: %libhalf Requires: %libiex Requires: %libilmthread Requires: %libimath Requires: %libiexmath Provides: %rname = %version-%release Obsoletes: %rname < %version-%release Source: %name-%version.tar # FC Patch1: ilmbase-2.2.0-glibc_iszero.patch # ALT Patch10: alt-pkgconfig.patch BuildRequires: cmake BuildRequires: gcc-c++ glibc-devel libGLU-devel zlib-devel %description Half is a class that encapsulates our 16-bit floating-point format. IlmThread is a thread abstraction library for use with OpenEXR and other software packages. It currently supports pthreads and Windows threads. Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions and other useful 2D and 3D math functions. Iex is an exception-handling library. %package -n %common Group: System/Configuration/Other Summary: Common empty package for %name %description -n %common Common empty package for %name %package -n %libhalf Group: System/Libraries Summary: %rname library Requires: %common = %version-%release Conflicts: ilmbase <= 1.0.1-alt1 %description -n %libhalf Half is a class that encapsulates our 16-bit floating-point format. %package -n %libiex Group: System/Libraries Summary: %rname library Requires: %common = %version-%release Conflicts: ilmbase <= 1.0.1-alt1 %description -n %libiex Iex is an exception-handling library. %package -n %libilmthread Group: System/Libraries Summary: %rname library Requires: %common = %version-%release Conflicts: ilmbase <= 1.0.1-alt1 %description -n %libilmthread IlmThread is a thread abstraction library for use with OpenEXR and other software packages. It currently supports pthreads and Windows threads. %package -n %libimath Group: System/Libraries Summary: %rname library Requires: %common = %version-%release Conflicts: ilmbase <= 1.0.1-alt1 %description -n %libimath Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions and other useful 2D and 3D math functions. %package -n %libiexmath Group: System/Libraries Summary: %rname library Requires: %common = %version-%release %description -n %libiexmath Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions and other useful 2D and 3D math functions. %package devel Summary: Headers for developing programs that will use %name Group: Development/Other Requires: %common = %version-%release Conflicts: openexr-devel < 1.6 %description devel This package contains the static libraries and header files needed for developing applications with %name %prep %setup -q -n %name-%version %patch1 -p1 %patch10 -p1 %build %cmake # -DILMBASE_LIB_SUFFIX="" %cmake_build %install make -C BUILD install DESTDIR=%buildroot # create compatibility symlinks #for f in %buildroot/%_libdir/lib*.so ; do # fname=`basename $f` # newname=`echo $fname | sed 's|-.*|.so|'` # [ "$fname" == "$newname" ] \ # || ln -s $fname %buildroot/%_libdir/$newname #done %files -n %common %files %doc README* %files -n %libhalf %_libdir/libHalf-*.so.%libsover %_libdir/libHalf-*.so.%libsover.* %files -n %libiex %_libdir/libIex-*.so.%libsover %_libdir/libIex-*.so.%libsover.* %files -n %libilmthread %_libdir/libIlmThread-*.%libsover %_libdir/libIlmThread-*.so.%libsover.* %files -n %libimath %_libdir/libImath-*.so.%libsover %_libdir/libImath-*.so.%libsover.* %files -n %libiexmath %_libdir/libIexMath-*.so.%libsover %_libdir/libIexMath-*.so.%libsover.* %files devel %doc README* %_includedir/OpenEXR %_libdir/*.so %_libdir/pkgconfig/* %_libdir/cmake/IlmBase/ %changelog * Wed Jun 09 2021 Sergey V Turchin <zerg@altlinux.org> 2.5.6-alt2 - compatable with p9 * Thu May 27 2021 Arseny Maslennikov <arseny@altlinux.org> 2.5.6-alt1.1 - NMU: spec: adapted to new cmake macros. * Wed May 26 2021 Sergey V Turchin <zerg@altlinux.org> 2.5.6-alt1 - new version * Mon Oct 26 2020 Sergey V Turchin <zerg@altlinux.org> 2.5.3-alt1 - new version * Fri Oct 23 2020 Sergey V Turchin <zerg@altlinux.org> 2.5.2-alt1 - new version * Fri Sep 20 2019 Sergey V Turchin <zerg@altlinux.org> 2.3.0-alt1 - new version * Mon Jun 15 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 2.2.0-alt1.1 - Rebuilt for gcc5 C++11 ABI. * Tue Dec 02 2014 Sergey V Turchin <zerg@altlinux.org> 2.2.0-alt1 - new version * Wed Dec 18 2013 Sergey V Turchin <zerg@altlinux.org> 2.1.0-alt2 - fix pkgconfig file * Thu Dec 12 2013 Sergey V Turchin <zerg@altlinux.org> 2.1.0-alt1 - new version * Wed Apr 20 2011 Sergey V Turchin <zerg@altlinux.org> 1.0.1-alt6 - fix build requires * Mon Oct 25 2010 Sergey V Turchin <zerg@altlinux.org> 1.0.1-alt5 - fix build requires * Thu Jul 23 2009 Sergey V Turchin <zerg@altlinux.org> 1.0.1-alt4 - remove obsoleted macroses * Fri Aug 22 2008 Sergey V Turchin <zerg at altlinux dot org> 1.0.1-alt3 - fix to package common subpackage * Fri Aug 22 2008 Sergey V Turchin <zerg at altlinux dot org> 1.0.1-alt2 - split lib* subpackages * Fri Feb 22 2008 Sergey V Turchin <zerg at altlinux dot org> 1.0.1-alt1 - initial specfile |