Package openexr: 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 | %define _optlevel s %define beta %nil %define libsover 6 %define rname OpenEXR Name: openexr Version: 1.6.1 Release: alt7 Group: System/Libraries Summary: A high-dynamic-range image file library License: Modified BSD URL: http://www.openexr.org/ Requires: libilmimf%libsover = %version-%release Provides: %rname = %version-%release Obsoletes: %rname < %version-%release Provides: %name-utils = %version-%release Obsoletes: %name-utils < %version-%release Source: %name-%version%beta.tar Patch1: OpenEXR-1.2.2-zlib.patch Patch2: OpenEXR-1.2.2-forwardfriend.patch Patch3: openexr-1.4.0-alt-fix-linking.patch Patch4: openexr-1.6.1-alt-gcc43.patch # Automatically added by buildreq on Thu Apr 21 2011 (-bi) # optimized out: elfutils libstdc++-devel pkg-config #BuildRequires: gcc-c++ glibc-devel-static ilmbase-devel zlib-devel BuildRequires: gcc-c++ glibc-devel ilmbase-devel zlib-devel %description OpenEXR is an image file format and library developed by Industrial Light & Magic, and later released to the public. It provides support for high dynamic range and a 16-bit floating point "half" data type which is compatible with the half data type in the Cg programming language. %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 libilmimf%libsover Group: System/Libraries Summary: libIlmImf %rname library Requires: %name%libsover-common = %version-%release Conflicts: openexr <= 1.6.1-alt1 %description -n libilmimf%libsover libIlmImf %rname library %package devel Summary: Headers for developing programs that will use %rname Group: Development/Other Requires: %name%libsover-common = %version-%release Requires: ilmbase-devel # %description devel This package contains the static libraries and header files needed for developing applications with %rname %prep %setup -q -n %name-%version #%patch1 -p1 #%patch2 -p1 #%patch3 -p1 %patch4 -p1 #autoreconf ./bootstrap ||: %build %configure \ --enable-shared \ --disable-static \ --enable-dependency-tracking \ --enable-imfexamples \ --disable-ilmbasetest %make_build %install %make DESTDIR=%buildroot install rm -rf ./installed-docs ln -sf %buildroot/%_docdir/%rname-%version ./installed-docs %files -n %name%libsover-common %files %doc AUTHORS ChangeLog COPYING NEWS README %_bindir/* %files -n libilmimf%libsover %_libdir/libIlmImf.so.* %files devel %doc AUTHORS ChangeLog COPYING installed-docs/* %_includedir/%rname %_libdir/*.so %_libdir/pkgconfig/* %_datadir/aclocal/%name.m4 %changelog * Thu Apr 21 2011 Sergey V Turchin <zerg@altlinux.org> 1.6.1-alt7 - fix build requires * Wed Mar 09 2011 Sergey V Turchin <zerg@altlinux.org> 1.6.1-alt6 - rebuilt * Wed Nov 03 2010 Sergey V Turchin <zerg@altlinux.org> 1.6.1-alt5 - rebuilt * Thu Jul 23 2009 Sergey V Turchin <zerg@altlinux.org> 1.6.1-alt4 - rebuilt * Tue Dec 02 2008 Sergey V Turchin <zerg at altlinux dot org> 1.6.1-alt3 - fix compile with new gcc - remove deprecated macroses from specfile * Fri Aug 22 2008 Sergey V Turchin <zerg at altlinux dot org> 1.6.1-alt2 - split lib* subpackages * Fri Feb 22 2008 Sergey V Turchin <zerg at altlinux dot org> 1.6.1-alt1 - new version * Mon May 14 2007 Sergey V Turchin <zerg at altlinux dot org> 1.4.0-alt1.a - new version - built with libfltk * Mon Jul 03 2006 Sergey V Turchin <zerg at altlinux dot org> 1.2.2-alt4 - built without libfltk * Mon May 15 2006 Sergey V Turchin <zerg at altlinux dot org> 1.2.2-alt3 - rebuilt with new gcc * Tue Mar 07 2006 Sergey V Turchin <zerg at altlinux dot org> 1.2.2-alt2 - add patch for linking with zlib from FC * Thu Aug 25 2005 Sergey V Turchin <zerg at altlinux dot org> 1.2.2-alt1 - new version - split utils to separate package * Mon Sep 27 2004 Sergey V Turchin <zerg at altlinux dot org> 1.2.1-alt1 - initial spec |