Пакет SDL_image: 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 | %define lib_name lib%name Name: SDL_image Version: 1.2.7 Release: alt1 Summary: Simple DirectMedia Layer - image Group: System/Libraries License: LGPL Packager: Pavlov Konstantin <thresh@altlinux.ru> Url: http://www.libsdl.org/projects/SDL_image Source0: %name-%version.tar.gz %define SDL_ver 1.2.5 BuildRequires: glibc-devel-static libjpeg-devel libpng-devel libtiff-devel zlib-devel BuildRequires: libSDL-devel >= %SDL_ver %description This is a simple library to load images of various formats as SDL surfaces. This library currently supports BMP, PPM, PCX, GIF, JPEG, and PNG formats. This package contains the binary `sdlshow' to test the library. %package -n %lib_name Summary: Main library for %name Group: System/Libraries Requires: libSDL >= %SDL_ver %description -n %lib_name This package contains the library needed to run programs dynamically linked with %name. %package -n %lib_name-devel Summary: Headers for developing programs that will use %name Group: Development/C Requires: %lib_name = %version-%release %description -n %lib_name-devel This package contains the headers that programmers will need to develop applications which will use %name. %package -n %lib_name-devel-static Summary: Static libraries for developing programs that will use %name Group: Development/C Requires: %lib_name-devel = %version-%release %description -n %lib_name-devel-static This package contains static libraries that programmers will need to develop applications which will use %name. %prep %setup -q %build %configure --enable-bmp \ --enable-gif \ --enable-jpg \ --enable-pcx \ --enable-png \ --enable-ppm \ --enable-tif \ --enable-xpm %make_build %install %makeinstall %files -n %lib_name %_libdir/*.so.* %files -n %lib_name-devel %_libdir/*.so %_includedir/SDL/* %doc README CHANGES %files -n %lib_name-devel-static %_libdir/*.a %changelog * Fri Mar 06 2009 Pavlov Konstantin <thresh@altlinux.ru> 1.2.7-alt1 - 1.2.7 release. - Get rid of post/postun ldconfig. * Thu Feb 14 2008 Pavlov Konstantin <thresh@altlinux.ru> 1.2.6-alt3 - Buffer overflow fix in RLE decompression (CVE-2008-0544). * Fri Feb 01 2008 Pavlov Konstantin <thresh@altlinux.ru> 1.2.6-alt2 - Fix GIF handling buffer overflow (CVE-2007-6697). * Wed Aug 22 2007 Pavlov Konstantin <thresh@altlinux.ru> 1.2.6-alt1 - 1.2.6 release. * Wed Jul 18 2007 Pavlov Konstantin <thresh@altlinux.ru> 1.2.5-alt3 - Macroize %%post and %%postun. * Mon Mar 26 2007 Pavlov Konstantin <thresh@altlinux.ru> 1.2.5-alt2 - Fixed #11194. * Sun Feb 18 2007 Pavlov Konstantin <thresh@altlinux.ru> 1.2.5-alt1 - 1.2.5 release. - Fixed build requires. * Fri Sep 17 2004 ALT QA Team Robot <qa-robot@altlinux.org> 1.2.3-alt2.1 - Rebuilt with libtiff.so.4. * Sun Dec 14 2003 Rider <rider@altlinux.ru> 1.2.3-alt2 - removed .la files from devel package * Thu May 08 2003 Rider <rider@altlinux.ru> 1.2.3-alt1 - new version - specfile cleanup * Tue Oct 01 2002 Rider <rider@altlinux.ru> 1.2.2-alt3 - Automatically fixed BuildRequires. * Mon Sep 23 2002 Rider <rider@altlinux.ru> 1.2.2-alt2 - rebuild (gcc 3.2) * Fri Jun 07 2002 Konstantin Volckov <goldhead@altlinux.ru> 1.2.2-alt1 - 1.2.2 * Thu May 23 2002 Yuri N. Sedunov <aris@altlinux.ru> 1.2.1-alt2 - Rebuilt (wrong dependence on oldalsa fixed, libSDL requires libalsa2) - Automatically added BuildRequires. - specfile cleanups * Sat Feb 09 2002 Rider <rider@altlinux.ru> 1.2.1-alt1 - 1.2.1 * Sat Oct 20 2001 Rider <rider@altlinux.ru> 1.2.0-alt3 - BuildRequires fix * Thu Oct 11 2001 AEN <aen@logic.ru> 1.2.0-alt2 - rebuilt with libpng.so.3 * Fri Aug 17 2001 Rider <rider@altlinux.ru> 1.2.0-alt1 - 1.2.0 * Thu Apr 5 2001 2001 Kostya Timoshenko <kt@altlinux.ru> 1.1.0-ipl5mdk - Rebuild with SDL-1.2.0 - Moved static libraries to devel-static subpackage. * Wed Mar 14 2001 Kostya Timoshenko <kt@petr.kz> 1.1.0-ipl4mdk - Libification. * Wed Dec 27 2000 Kostya Timoshenko <kt@petr.kz> 1.1.0-ipl3mdk - Rebuild for RE * Fri Dec 1 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 1.1.0-3mdk - 1.1.0 - better new lib policy, do not generate anymore an ambiguous package containing binaries but with the old lib name * Wed Nov 29 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 1.0.10-2mdk - new lib policy * Sat Nov 4 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 1.0.10-1mdk - 1.0.10 - macros * Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.0.9-2mdk - automatically added BuildRequires * Fri Jul 14 2000 Giuseppe Ghib\xf2 <ghibo@mandrakesoft.com> 1.0.9-1mdk - updated version. - added BuildPreReq. * Fri Jun 23 2000 Lenny Cartier <lenny@mandrakesoft.com> 1.0.6-1mdk - v1.0.6 * Tue Apr 11 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 1.0.4-2mdk - added url - fixed group - some minor package build fixes - built against stable SDL version, previous was using 1.1.x devel * Fri Feb 11 2000 Lenny Cartier <lenny@mandrakesoft.com> - v1.0.4 - used the specfile provided by Hakan Tandogan <hakan@iconsult.com> * Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com> - initial spec file - renamed usr/bin/show to sdlshow because of conflict with mh |