Пакет libadplug: 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 | %define origname adplug %define dbver 1.0 Name: lib%origname Version: 2.3.3 Release: alt1.git104.g66b19f6 Summary: AdLib sound player library License: LGPL Group: System/Libraries Url: http://adplug.github.io/ #https://github.com/adplug/adplug/archive/adplug-2.3.tar.gz Source: %origname-%version.tar #https://github.com/adplug/database/archive/v1.0.tar.gz Source1: adplugdb-%dbver.tar Source44: %origname.watch Source45: %origname-database.watch # Automatically added by buildreq on Sun Sep 09 2012 (-bi) # optimized out: elfutils gnu-config libstdc++-devel pkg-config python-base BuildRequires: chrpath gcc-c++ libbinio-devel texinfo %if_enabled static BuildPreReq: glibc-devel-static %endif %description AdPlug is a free, multi-platform, hardware independent AdLib sound player library, mainly written in C++. AdPlug plays sound data, originally created for the AdLib (OPL2) audio board, on top of an OPL2 emulator or by using the real hardware. No OPL2 chip is required for playback. It supports various audio formats from MS-DOS AdLib trackers. %package devel Group: Development/C++ Summary: Development files of AdPlug Requires: %name = %version-%release %description devel AdPlug is a free, multi-platform, hardware independent AdLib sound player library, mainly written in C++. AdPlug plays sound data, originally created for the AdLib (OPL2) audio board, on top of an OPL2 emulator or by using the real hardware. No OPL2 chip is required for playback. It supports various audio formats from MS-DOS AdLib trackers. This package contains the C++ headers and documentation required for building programs based on AdPlug. %if_enabled static %package devel-static Group: Development/C++ Summary: Static library of AdPlug Requires: %name-devel = %version-%release %description devel-static AdPlug is a free, multi-platform, hardware independent AdLib sound player library, mainly written in C++. AdPlug plays sound data, originally created for the AdLib (OPL2) audio board, on top of an OPL2 emulator or by using the real hardware. No OPL2 chip is required for playback. It supports various audio formats from MS-DOS AdLib trackers. This package contains the static library required for statically linking applications based on AdPlug. %endif #enabled static %prep %setup -n %origname-%version tar xf %SOURCE1 %build %add_optflags -fsigned-char %autoreconf -Im4 %configure --sharedstatedir=%_datadir %make_build %install %makeinstall chrpath -d %buildroot%_bindir/adplugdb mkdir -p %buildroot%_datadir cp -a adplugdb-%dbver %buildroot%_datadir/%origname rpm -q glibc-devel-static || rm -f %buildroot%_libdir/*.a %files %doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO %_bindir/adplugdb %_man1dir/adplugdb.1* %_libdir/*.so.* %_datadir/%origname %files devel %_includedir/%origname %_libdir/*.so %_pkgconfigdir/%origname.pc %_infodir/%name.* %if_enabled static %files devel-static %_libdir/*.a %endif %changelog * Mon Oct 18 2021 Ildar Mulyukov <ildar@altlinux.ru> 2.3.3-alt1.git104.g66b19f6 - new upstream URL * Sun Sep 22 2019 Michael Shigorin <mike@altlinux.org> 2.2.1-alt3 - added fedora patches: + inline (fixes e2k ftbfs) + cve-2018-17825 (fixes: CVE-2018-17825) + (signed-char unneeded, worked around in previous build) - NB: there's 2.3.1 release over at guthub * Wed Apr 11 2018 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.2.1-alt2 - fixed build on arm arches * Sat Dec 05 2015 Igor Vlasenko <viy@altlinux.ru> 2.2.1-alt1.1.1 - NMU: added BR: texinfo * Fri Dec 04 2015 Igor Vlasenko <viy@altlinux.ru> 2.2.1-alt1.1 - rebuild with libbinio * Sun Sep 09 2012 Ildar Mulyukov <ildar@altlinux.ru> 2.2.1-alt1 - new version - spec cleanups * Sat Jan 05 2008 Ildar Mulyukov <ildar@altlinux.ru> 2.1-alt1 - 1st version for Sisyphus - build static libs if only --enabled static - added adplugdb database version %dbver to %_datadir/%origname * Tue Mar 4 2003 G\xf6tz Waschk <waschk@linux-mandrake.com> 1.4-1 - requires binio library - fix groups for RH standard - remove patches - add adplugdb - new version * Tue Nov 26 2002 G\xf6tz Waschk <waschk@linux-mandrake.com> 1.3-1 - initial package |