Package 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 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 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 | %define oname projectM Name: lib%oname Version: 2.1.0 Release: alt13 Summary: Awesome music visualizer License: LGPLv2.1 Group: System/Libraries Url: http://projectm.sourceforge.net/ Source: http://freefr.dl.sourceforge.net/project/projectm/2.0.1/%oname-complete-%version-Source.tar.gz Packager: Motsyo Gennadi <drool@altlinux.ru> Patch1: %name-complete-2.1.0-doxy.patch Patch2: %name-complete-2.1.0-link.patch Patch3: %name-%version-alt-gcc6.patch Patch4: %name-2.1.0-paths.patch Patch5: %name-qt-2.1.0-paths.patch Patch6: %name-g++8.patch Requires: fonts-ttf-dejavu BuildPreReq: doxygen BuildRequires: cmake gcc-c++ libXScrnSaver-devel libXcomposite-devel libXcursor-devel libXft-devel libXinerama-devel BuildRequires: libXpm-devel libXrandr-devel libXtst-devel libXv-devel libXxf86misc-devel libftgl-devel libglew-devel BuildRequires: libgomp-devel libxkbfile-devel xorg-xf86vidmodeproto-devel libvisual0.4-devel libqt4-devel libpulseaudio-devel >= 0.9.8 BuildRequires: libSDL-devel %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 qt Summary: The Qt frontend to the projectM visualization plugin Group: System/Libraries Requires: %name = %version-%release %description qt projectM-qt is a GUI designed to enhance the projectM user and preset writer experience. It provides a way to browse, search, rate presets and setup preset playlists for projectM-jack and projectM-pulseaudio. %package -n %oname-pulseaudio Summary: The projectM visualization plugin for pulseaudio Group: Sound Requires: %name-qt = %version-%release %description -n %oname-pulseaudio This package allows the use of the projectM visualization plugin through any pulseaudio compatible applications. %package -n %oname-test Summary: Test utils for projectM Group: Other License: GPLv2 Requires: %name = %version-%release %description -n %oname-test Test utils for projectM %package -n %oname-libvisual Summary: The projectM visualization plugin for libvisual Group: Sound License: GPLv2 Requires: %name = %version-%release %description -n %oname-libvisual This package allows the use of the projectM visualization plugin through any libvisual compatible applications. %package devel Summary: Header files for projectM library Group: Development/C Requires: %name = %version-%release %ifnarch %arm Requires: %name-qt = %version-%release %endif %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 -n %oname-complete-%version-Source %patch1 -p1 %patch2 -p1 %patch3 -p2 %patch4 -p1 %patch5 -p1 %patch6 -p2 %build %cmake -DUSE_FBO:STRING=FALSE \ %ifarch %arm -DINCLUDE-PROJECTM-QT:STRING=FALSE \ -DINCLUDE-PROJECTM-PULSEAUDIO:STRING=FALSE %endif %cmake_build cd docs && doxygen %oname.dox %install %cmakeinstall_std rm -f %buildroot/%_libdir/libprojectM.a rm -f %buildroot/%_datadir/%oname/fonts/*.ttf ln -s /usr/share/fonts/ttf/dejavu/DejaVuSans.ttf %buildroot/%_datadir/%oname/fonts/Vera.ttf ln -s /usr/share/fonts/ttf/dejavu/DejaVuSansMono.ttf %buildroot/%_datadir/%oname/fonts/VeraMono.ttf %files %doc AUTHORS.txt FAQ.txt docs/doxygen/html %_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/* %dir %_datadir/%oname/shaders/ %_datadir/%oname/shaders/* %ifnarch %arm %files qt %_libdir/libprojectM-qt.so.* %files -n %oname-pulseaudio %_bindir/*-pulseaudio %_desktopdir/*-pulseaudio.desktop %_pixmapsdir/prjm16-transparent.svg %endif %files -n %oname-test %_bindir/*-test* %files -n %oname-libvisual %doc src/projectM-libvisual/AUTHORS src/projectM-libvisual/ChangeLog %_libdir/libvisual*/actor/libprojectM_libvisual.so %files devel %_includedir/%name/ %_libdir/libprojectM.so %_pkgconfigdir/libprojectM.pc %ifnarch %arm %_includedir/%name-qt/ %_libdir/libprojectM-qt.so %_pkgconfigdir/libprojectM-qt.pc %endif # TODO: # - consider https://src.fedoraproject.org/rpms/libprojectM/raw/master/f/libprojectM-c++14.patch %changelog * Thu Feb 14 2019 Andrey Bychkov <mrdrew@altlinux.org> 2.1.0-alt13 - no return statement in the non-void function fixed (according g++8) * Fri Jul 06 2018 Michael Shigorin <mike@altlinux.org> 2.1.0-alt12 - replaced x86_64/aarch64 specific kludge with proper fedora patches - minor spec cleanup * Wed Apr 11 2018 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.1.0-alt11 - fixed packaging on 64bit arches other than x86_64 * Fri Jul 28 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 2.1.0-alt10 - Fixed build with gcc-6 * Fri Apr 08 2016 Gleb F-Malinovskiy (qa) <qa_glebfm@altlinux.org> 2.1.0-alt9.qa1 - Rebuilt for gcc5 C++11 ABI. * Tue Jul 30 2013 Motsyo Gennadi <drool@altlinux.ru> 2.1.0-alt9 - fix build for x86_64 (thanx to lnkvisitor@ for remote hasher64) * Tue Jul 30 2013 Motsyo Gennadi <drool@altlinux.ru> 2.1.0-alt8 - fix test utils for linked with libGL * Tue Jul 30 2013 Motsyo Gennadi <drool@altlinux.ru> 2.1.0-alt7 - build with default components * Tue Jul 30 2013 Motsyo Gennadi <drool@altlinux.ru> 2.1.0-alt6 - fix * Tue Jul 30 2013 Motsyo Gennadi <drool@altlinux.ru> 2.1.0-alt5 - fix * Tue Jul 30 2013 Motsyo Gennadi <drool@altlinux.ru> 2.1.0-alt4 - build without visual plugin (temporary) * Tue Jul 30 2013 Motsyo Gennadi <drool@altlinux.ru> 2.1.0-alt3 - build without pulseaudio plugin (temporary) * Tue Jul 30 2013 Motsyo Gennadi <drool@altlinux.ru> 2.1.0-alt2 - disable test from build - change fonts from Vera to DejaVu * Mon Jul 29 2013 Motsyo Gennadi <drool@altlinux.ru> 2.1.0-alt1 - 2.1.0 * Tue Jun 28 2011 Motsyo Gennadi <drool@altlinux.ru> 2.0.1-alt3 - fix for included fonts * Sat Apr 02 2011 Motsyo Gennadi <drool@altlinux.ru> 2.0.1-alt2 - build without internal fonts (close #25320) * Fri Apr 02 2010 Motsyo Gennadi <drool@altlinux.ru> 2.0.1-alt1 - 2.0.1 * 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) |