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 | %define _optlevel s %define beta %nil %define libsover 6 %define rname IlmBase Name: ilmbase Version: 1.0.1 Release: alt6 Group: System/Libraries Summary: A high-dynamic-range image file library License: Modified BSD URL: http://www.openexr.org/ Requires: libhalf%libsover = %version-%release Requires: libiex%libsover = %version-%release Requires: libilmthread%libsover = %version-%release Requires: libimath%libsover = %version-%release Provides: %rname = %version-%release Obsoletes: %rname < %version-%release Source: %name-%version%beta.tar Patch1: ilmbase-1.0.1-alt-fix-linking.patch # Automatically added by buildreq on Wed Apr 20 2011 (-bi) # optimized out: elfutils libGL-devel libstdc++-devel pkg-config #BuildRequires: gcc-c++ glibc-devel libGLU-devel libstdc++-devel 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 %name%libsover-common Group: System/Configuration/Other Summary: Common empty package for %name %description -n %name%libsover-common Common empty package for %name %package -n libhalf%libsover Group: System/Libraries Summary: %rname library Requires: %name%libsover-common = %version-%release Conflicts: ilmbase <= 1.0.1-alt1 %description -n libhalf%libsover Half is a class that encapsulates our 16-bit floating-point format. %package -n libiex%libsover Group: System/Libraries Summary: %rname library Requires: %name%libsover-common = %version-%release Conflicts: ilmbase <= 1.0.1-alt1 %description -n libiex%libsover Iex is an exception-handling library. %package -n libilmthread%libsover Group: System/Libraries Summary: %rname library Requires: %name%libsover-common = %version-%release Conflicts: ilmbase <= 1.0.1-alt1 %description -n libilmthread%libsover IlmThread is a thread abstraction library for use with OpenEXR and other software packages. It currently supports pthreads and Windows threads. %package -n libimath%libsover Group: System/Libraries Summary: %rname library Requires: %name%libsover-common = %version-%release Conflicts: ilmbase <= 1.0.1-alt1 %description -n libimath%libsover 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: %name%libsover-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 #autoreconf ./bootstrap ||: %build %configure \ --enable-shared \ --disable-static \ --enable-dependency-tracking \ --enable-threading %make_build %install %make DESTDIR=%buildroot install %files -n %name%libsover-common %files %doc AUTHORS ChangeLog COPYING LICENSE NEWS README %files -n libhalf%libsover %_libdir/libHalf.so.* %files -n libiex%libsover %_libdir/libIex.so.* %files -n libilmthread%libsover %_libdir/libIlmThread.so.* %files -n libimath%libsover %_libdir/libImath.so.* %files devel %doc AUTHORS ChangeLog COPYING LICENSE NEWS README %_includedir/OpenEXR %_libdir/*.so %_libdir/pkgconfig/* %changelog * 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 |