Changeset 689 in ProjectBuilder for projects/mondorescue/pbconf/devel/mindi/rpm/mindi.spec
- Timestamp:
- Feb 16, 2009, 5:49:04 PM (15 years ago)
- Location:
- projects/mondorescue/pbconf/devel
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
projects/mondorescue/pbconf/devel/mindi/rpm/mindi.spec
r488 r689 2 2 # $Id: mindi.spec 1866 2008-01-16 15:29:04Z bruno $ 3 3 # 4 Summary: Mindi creates emergency boot disks/CDs using your kernel, tools and modules 4 %define perlvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) 5 6 Summary: PBDESC 5 7 Name: PBPKG 6 8 Version: PBVER … … 13 15 # BuildArch: noarch 14 16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) 15 Requires: bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, mindi-busybox, parted, perl, mtools, PBDEP 16 PBOBS 17 # Not on all systems 18 #Conflicts: bonnie++ 17 BuildArch: noarch 18 Requires: bzip2 >= 0.9, mkisofs, binutils, gawk, dosfstools, parted, perl, mtools, perl-MondoRescue, PBDEP 19 19 20 20 %description … … 28 28 29 29 %build 30 %{__perl} Makefile.PL INSTALLDIRS=vendor PBKEYWORD=${RPM_BUILD_ROOT}/PBFINALDIR 31 make %{?_smp_mflags} 30 32 31 33 %install 32 rm 33 export DONT_RELINK=1 34 rm -rf $RPM_BUILD_ROOT 35 make DESTDIR=$RPM_BUILD_ROOT install 34 36 37 # Finalyse instalation 35 38 export HEAD=${RPM_BUILD_ROOT} 36 39 export PREFIX=%{_exec_prefix} 37 40 export CONFDIR=%{_sysconfdir} 38 export MANDIR=%{_mandir}39 #export DOCDIR=%{_docdir}40 export LIBDIR=%{_libdir}41 41 export CACHEDIR=%{_var}/cache/%{name} 42 42 export PKGBUILDMINDI="true" 43 ./post-install.sh 43 44 44 ./install.sh 45 find ${RPM_BUILD_ROOT} -type f -name perllocal.pod -o -name .packlist -o -name '*.bs' -a -size 0 | xargs rm -f 46 find ${RPM_BUILD_ROOT} -type d -depth | xargs rmdir --ignore-fail-on-non-empty 47 48 %check 49 make test 45 50 46 51 %clean … … 50 55 %defattr(-,root,root) 51 56 %config(noreplace) %{_sysconfdir}/%{name} 52 %doc ChangeLog INSTALL COPYING README TODO README.* NEWS 53 #svn.log 54 %{_mandir}/man8/* 57 %doc ChangeLog INSTALL COPYING README README.* NEWS 58 %{_mandir}/man1/* 59 %{_mandir}/man3/* 60 %{_bindir}/* 55 61 %{_libdir}/%{name} 56 %{ _sbindir}/*62 %{perlvendorlib}/* 57 63 %{_var}/cache/%{name} 64 %{_datadir}/PBPROJ/* 58 65 59 66 %changelog
Note:
See TracChangeset
for help on using the changeset viewer.