Пакет 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 | %define origname adplug %define dbver 2006-07-07 Name: lib%origname Version: 2.2.1 Release: alt1.1.1 Summary: AdLib sound player library Url: http://adplug.sourceforge.net/ License: LGPL Group: Sound Source: http://sourceforge.net/projects/adplug/files/AdPlug%%20core%%20library/2.2.1/%origname-%version.tar #.bz2 Source1: http://sourceforge.net/projects/adplug/files/Database/2006-07-06/adplugdb-%dbver.tar #.gz # 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 %if_enabled static BuildPreReq: glibc-devel-static %endif # explicitly added texinfo for info files BuildRequires: texinfo %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 %build %configure --sharedstatedir=%_datadir %make_build %install %makeinstall chrpath -d %buildroot%_bindir/adplugdb tar xf %SOURCE1 mkdir -p %buildroot%_datadir cp -a %dbver %buildroot%_datadir/%origname %files %doc AUTHORS BUGS 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 * 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 |