Changeset 317 in MondoRescue for trunk/mindi/mindi.spec
- Timestamp:
- Jan 13, 2006, 8:46:06 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mindi/mindi.spec
r262 r317 10 10 %define name mindi 11 11 %define version VVV 12 %define mrel 1 12 %define mrel RRR 13 # if mandriva official build (rpm --with is_official) 14 %{?is_official:%define rel %{mkrel} %{mrel}}%{!?is_official:%define rel %{mrel}} 13 15 %define src %{name}-%{version}.tgz 16 %define grp Archiving/Backup 17 %define addreqb bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, afio 14 18 15 19 %if %is_redhat 16 Group: Applications/Archiving 20 %define grp Applications/Archiving 21 %define addreq %{addreqb}, which 17 22 Autoreq: 0 18 23 %endif … … 20 25 %if %is_mandrake 21 26 %define src %{name}-%{version}.tar.bz2 22 Group: Archiving/Backup 27 %define addreq %{addreqb}, which 23 28 Autoreqprov: no 24 29 %endif … … 26 31 %if %is_mandriva 27 32 %define src %{name}-%{version}.tar.bz2 28 Group: Archiving/Backup 33 %define addreq %{addreqb}, which 29 34 Autoreqprov: no 30 35 %endif 31 36 32 37 %if %is_suse 33 Group: Archiving/Backup 38 %define addreq %{addreqb} 39 %endif 40 41 # define the mkrel macro if it is not already defined if mandriva offical build 42 %if is_official 43 %{?!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}} 34 44 %endif 35 45 … … 37 47 Name: %name 38 48 Version: %version 39 Release: % mrel49 Release: %rel 40 50 License: GPL 41 Group: System/Kernel and hardware51 Group: %{grp} 42 52 Url: http://mondorescue.berlios.de 43 53 Source: %{src} 44 54 BuildRoot: %{_tmppath}/%{name}-%{version} 45 Requires: bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, afio, which55 Requires: %{addreq} 46 56 # Not on all systems 47 57 #Conflicts: bonnie++ … … 93 103 %defattr(644,root,root,755) 94 104 %config(noreplace) %{_sysconfdir}/mindi/deplist.txt 95 %doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox 105 %doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log 96 106 %{_mandir} 97 107 %{_libdir}/mindi
Note:
See TracChangeset
for help on using the changeset viewer.