Package fdutils: 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 | Name: fdutils %define ver_base 5.5 %define ver_snap 20081027 %define srcname %name-%ver_base %ifdef ver_snap Version: %ver_base.%ver_snap %else Version: %ver_base %endif Release: alt2 Summary: Programs for dealing with floppy disks License: GPLv2+ Group: System/Kernel and hardware Url: http://fdutils.linux.lu # %url/%srcname.tar.gz Source: %srcname.tar %ifdef ver_snap # %url/%name-%ver_base-%ver_snap.diff.gz Patch1: %name-%ver_base-%ver_snap.diff %endif Patch2: fdutils-5.5-20060227-alt-headers.patch Patch3: fdutils-5.4-alt-texinfo.patch Patch4: fdutils-alt-nodvi.patch Patch5: fdutils-alt-ext2_fs.patch Requires: util-linux >= 2.11h-alt2 BuildRequires: flex libe2fs-devel makeinfo Summary(ru_RU.UTF-8): Утилиты для форматирования дискет и управления флоппи-драйвером Линукса %description This package contains utilities for configuring and debugging the Linux floppy driver, for formatting extra capacity disks (up to 1992K on a high density disk), for sending raw commands to the floppy controller, etc. %description -l ru_RU.UTF-8 Утилиты для настройки и отладки системного драйвера флоппи-дисков, форматирования дискет с увеличенной плотностью (до 1992 килобайт), прямого управления контроллером дисковода и т.д. %prep %setup -q -n %srcname %ifdef ver_snap %patch1 -p1 %endif %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %build %configure # SMP-incompatible make %install mkdir -p %buildroot{%_sysconfdir,%_bindir,%_infodir,%_man1dir,%_man4dir} %makeinstall UID=$(id -u) GID=$(id -g) install -p -m644 src/mediaprm %buildroot%_sysconfdir chmod 755 %buildroot%_bindir/* # man-pages rm %buildroot%_man4dir/fd.4* %files %config %_sysconfdir/mediaprm %_bindir/* %_mandir/man?/* %_infodir/*.info* %doc CREDITS Changelog doc/FAQ.html doc/README doc/floppy_formats %changelog * Sat Dec 05 2015 Dmitry V. Levin <ldv@altlinux.org> 5.5.20081027-alt2 - Replaced texinfo and tetex-latex in BRs with makeinfo. - Unpackaged fd(4) in favour of man-pages. * Thu Dec 03 2015 Igor Vlasenko <viy@altlinux.ru> 5.5.20081027-alt1.qa1.1 - NMU: added BR: texinfo * Sat Nov 14 2009 Repocop Q. A. Robot <repocop@altlinux.org> 5.5.20081027-alt1.qa1 - NMU (by repocop): the following fixes applied: * obsolete-call-in-post-install-info for fdutils * postclean-05-filetriggers for spec file * Thu Nov 20 2008 Dmitry V. Levin <ldv@altlinux.org> 5.5.20081027-alt1 - Use ext2fs/ext2_fs.h instead of linux/ext2_fs.h for build. - Updated to 20081027. * Tue Feb 28 2006 Ilya Evseev <evseev@altlinux.ru> 5.5.20060227-alt1 - bugfix #9130: 'zero-based' attribute in /etc/mediaprm was not accepted by setfdprm * Sun Mar 20 2005 Ilya Evseev <evseev@altlinux.ru> 5.5-alt1 - Updated to 5.5 - Little specfile cleanups * Mon Feb 28 2005 Ilya Evseev <evseev@altlinux.ru> 5.4.20050213-alt1 - Updated to 20050213 - Disabled manpages patch (#2) * Sat Jan 8 2005 Ilya Evseev <evseev@altlinux.ru> 5.4.20040228-alt1 - Updated to 20040228 - Specfile: added russian summary/description, fixed URLs - Added %%doc files * Sat Nov 02 2002 Dmitry V. Levin <ldv@altlinux.org> 5.4.20020222-alt1 - Updated to 20020222. - Fixed texinfo documentation. * Mon Aug 27 2001 Dmitry V. Levin <ldv@altlinux.ru> 5.4-ipl3mdk - Updated to 20010602. - Resurrected _bindir/setfdprm. - Requires: util-linux >= 2.11h-alt2 * Fri Mar 16 2001 Dmitry V. Levin <ldv@altlinux.ru> 5.4-ipl2mdk - Removed %_bindir/setfdprm (provided by util-linux). * Sat Dec 16 2000 Dmitry V. Levin <ldv@fandra.org> 5.4-ipl1mdk - 5.4. - FHSification. * Fri Jun 16 2000 Dmitry V. Levin <ldv@fandra.org> 5.3-ipl12mdk - RE adaptions. * Tue May 23 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 5.3-11mdk - Fix buffer overvlow in fdmount (Yoann). * Mon May 15 2000 Anton Graham <darkimage@bigfoot.com> 5.3.10mdk - Add %%post and %%preun - Use %%{_tmppath} - Spec-helper cleanup * Sun Apr 02 2000 Jerome Martin <jerome@mandrakesoft.com> 5.3-9mdk - Fix rpm group and spec-helper issues * Mon Jan 17 2000 Francis Galiegue <francis@mandrakesoft.com> - Fixed build as non-root * Thu Nov 18 1999 Thierry Vignaud <tvignaud@mandrakesoft.com> - build release * Sun Jul 18 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.de> - Fix up release number * Wed Jul 7 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - 5.3 version. - Rewriting the .spec to be more Mandrake ;-) * Sun Nov 29 1998 Paul H. Hargrove <hargrove@sccm.Stanford.EDU> [5.2-4] - Fix to be built by non-root - Add conflict note in %%desrciption * Wed Apr 15 1998 Paul H. Hargrove <hargrove@sccm.Stanford.EDU> [5.2-3] - Use buildroot |