Пакет libprojectM: 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 | # FIXME: soname %define oname projectM Name: libprojectM Version: 1.2.0 Release: alt3.2 License: LGPL Group: System/Libraries Url: http://projectm.sourceforge.net/ Summary: Awesome music visualizer Packager: Motsyo Gennadi <drool@altlinux.ru> Source: http://prdownloads.sourceforge.net/projectm/%name-%version.tar.bz2 Patch0: %name-static.patch Patch1: %name-1.2.0-gcc4.4_ftbfs.patch Patch2: %name-1.2.0-cmake_version.patch BuildRequires: cmake gcc-c++ libICE-devel libX11-devel libXext-devel libftgl-devel libglew-devel BuildPreReq: rpm-build-compat >= 1.4 %description projectM is a reimplementation of Milkdrop under OpenGL. It is an awesome music visualizer. There is nothing better in the world of Unix. %package devel Summary: Header files for projectM library Group: Development/C Requires: %name = %version-%release %description devel Header files for projectM library. %package static Summary: Static projectM library Group: Development/Libraries Requires: %name-devel = %version-%release %description static Static projectM library. %prep %setup %patch1 -p1 %patch2 -p1 %__subst 's| m | m pthread |' CMakeLists.txt %build cmake \ -DCMAKE_INSTALL_PREFIX=%prefix \ -DCMAKE_CXX_FLAGS:STRING="%optflags" \ -DCMAKE_C_FLAGS:STRING="%optflags" \ -DUSE_FBO:STRING=FALSE \ %ifarch x86_64 -DLIB_SUFFIX=64 \ %endif %make_build %install %make DESTDIR=%buildroot install rm -f %buildroot/%_libdir/libprojectM.a %files %doc ChangeLog %_libdir/libprojectM.so.* %dir %_datadir/%oname/ %_datadir/%oname/config.inp %dir %_datadir/%oname/fonts/ %_datadir/%oname/fonts/*.ttf %dir %_datadir/%oname/presets/ %_datadir/%oname/presets/* %files devel %_includedir/%name/ %_libdir/libprojectM.so %_pkgconfigdir/libprojectM.pc #%files static #%_libdir/libprojectM.a %changelog * Wed Oct 21 2009 Motsyo Gennadi <drool@altlinux.ru> 1.2.0-alt3.2 - fix build without '%cmake' macros - fix build with optflags - fix warning for cmake version * Wed Aug 26 2009 Motsyo Gennadi <drool@altlinux.ru> 1.2.0-alt3.1 - fix build with gcc44 * Sun Mar 01 2009 Vitaly Lipatov <lav@altlinux.ru> 1.2.0-alt3 - build with US_FBO=FALSE (disable Framebuffer Objects using) * Tue Dec 02 2008 Valery Inozemtsev <shrek@altlinux.ru> 1.2.0-alt2.1 - NMU: * updated build dependencies * Fri Jun 20 2008 Vitaly Lipatov <lav@altlinux.ru> 1.2.0-alt2 - fix build on x86_64 * Sat Jun 14 2008 Vitaly Lipatov <lav@altlinux.ru> 1.2.0-alt1 - new version 1.2.0 (with rpmrb script) * Wed Nov 07 2007 Vitaly Lipatov <lav@altlinux.ru> 1.01-alt2 - fix build on x86_64 * Sat Oct 27 2007 Vitaly Lipatov <lav@altlinux.ru> 1.01-alt1 - initial build for ALT Linux Sisyphus (spec from PLD) |