Changeset 423 in MondoRescue for branches/stable/mindi/distributions/rpm/mindi.spec
- Timestamp:
- Feb 21, 2006, 6:27:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/distributions/rpm/mindi.spec
r401 r423 9 9 %define addreqb bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools 10 10 %define addreq DDD 11 12 # if mandriva official build (rpm --with is_official) 13 %{?is_official:%define rel %{mkrel} %{mrel}}%{!?is_official:%define rel %{mrel}} 14 15 # define the mkrel macro if it is not already defined if mandriva offical build 16 %if is_official 17 %{?!mkrel:%define mkrel(c:) %{-c:0.%{-c*}.}%{!?_with_unstable:%(perl -e '$_="%{1}";m/(.\*)(\\d+)$/;$rel=${2}-1;re;print "$1$rel";').%{?subrel:%subrel}%{!?subrel:1}.%{?distversion:%distversion}%{?!distversion:%(echo $[%{mdkversion}/10])}}%{?_with_unstable:%{1}}%{?distsuffix:%distsuffix}%{?!distsuffix:mdk}} 18 %endif 11 %define rel %{mrel} 19 12 20 13 Summary: Mindi creates emergency boot disks/CDs using your kernel, tools and modules … … 37 30 verify packages, etc. 38 31 39 %debug_package40 32 %prep 41 33 %{__rm} -rf $RPM_BUILD_ROOT … … 62 54 63 55 %post 64 for i in %{_libdir}/mindi/aux-tools/sbin/* %{_libdir}/mindi/rootfs/bin/* %{_libdir}/mindi/rootfs/sbin/* ; do65 if [ ! -h $i ]; then66 %{__chmod} 755 $i67 fi68 done69 56 if [ -f /usr/local/sbin/mindi ]; then 70 57 echo "WARNING: /usr/local/sbin/mindi exists. You should probably remove your manual mindi installation !" … … 75 62 %config(noreplace) %{_sysconfdir}/mindi/deplist.txt 76 63 %doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log 77 %{_mandir} 64 %{_mandir}/man8/* 78 65 %{_libdir}/mindi 79 66 %attr(755,root,root) %{_sbindir}/* 67 %attr(755,root,root) %{_libdir}/mindi/aux-tools/sbin/* 68 %attr(755,root,root) %{_libdir}/mindi/rootfs/bin/* 69 %attr(755,root,root) %{_libdir}/mindi/rootfs/sbin/* 80 70 81 71 %changelog
Note:
See TracChangeset
for help on using the changeset viewer.