Changeset 959


Ignore:
Timestamp:
Feb 5, 2010, 7:14:41 PM (10 years ago)
Author:
bruno
Message:

r3574@localhost: bruno | 2010-01-08 00:15:56 +0100
Working on a first set of built packages for mondorescue (mr and mindi)

Location:
projects/mondorescue/pbconf/devel
Files:
1 added
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • projects/mondorescue/pbconf/devel/MondoRescue/rpm/perl-MondoRescue.spec

    r689 r959  
    55%define srcname PBPKG
    66
    7 Summary:    PBDESC
     7Summary:    PBSUMMARY
    88Summary(fr):    Une bibliotheque de fonction de bas niveau pour le projet MondoRescue
    99
     
    3535rm -rf $RPM_BUILD_ROOT
    3636make DESTDIR=$RPM_BUILD_ROOT install
    37 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/PBPROJ
    3837find ${RPM_BUILD_ROOT} -type f -name perllocal.pod -o -name .packlist -o -name '*.bs' -a -size 0 | xargs rm -f
    3938find ${RPM_BUILD_ROOT} -type d -depth | xargs rmdir --ignore-fail-on-non-empty
     39
     40# Finalyse instalation
     41export HEAD=${RPM_BUILD_ROOT}
     42export PREFIX=%{_exec_prefix}
     43export CONFDIR=%{_sysconfdir}
     44export CACHEDIR=%{_var}/cache/%{name}
     45export PERLDIR=%{perlvendorlib}
     46post-install.sh
    4047
    4148%check
  • projects/mondorescue/pbconf/devel/mindi/rpm/mindi.spec

    r689 r959  
    44%define perlvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
    55
    6 Summary:    PBDESC
     6Summary:    PBSUMMARY
    77Name:       PBPKG
    88Version:    PBVER
     
    1616BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
    1717BuildArch:  noarch
    18 Requires:   bzip2 >= 0.9, mkisofs, binutils, gawk, dosfstools, parted, perl, mtools, perl-MondoRescue, PBDEP
     18Requires:   perl >= 5.8.4,perl-ProjectBuilder,PBDEP
    1919
    2020%description
    21 Mindi takes your kernel, modules, tools and libraries, and puts them on N
    22 bootable disks (or 1 bootable CD image). You may then boot from the disks/CD
    23 and do system maintenance - e.g. format partitions, backup/restore data,
    24 verify packages, etc.
     21PBDESC
    2522
    2623%prep
     
    3431rm -rf $RPM_BUILD_ROOT
    3532make DESTDIR=$RPM_BUILD_ROOT install
     33find ${RPM_BUILD_ROOT} -type f -name perllocal.pod -o -name .packlist -o -name '*.bs' -a -size 0 | xargs rm -f
     34find ${RPM_BUILD_ROOT} -type d -depth | xargs rmdir --ignore-fail-on-non-empty
    3635
    3736# Finalyse instalation
     
    4342./post-install.sh
    4443
    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 
    4844%check
    4945make test
     
    5349
    5450%files
    55 %defattr(-,root,root)
     51%defattr(-,root,root,-)
    5652%config(noreplace) %{_sysconfdir}/%{name}
    5753%doc ChangeLog INSTALL COPYING README README.* NEWS
    5854%{_mandir}/man1/*
    59 %{_mandir}/man3/*
     55#%{_mandir}/man3/*
    6056%{_bindir}/*
    6157%{_libdir}/%{name}
    62 %{perlvendorlib}/*
     58#%{perlvendorlib}/*
    6359%{_var}/cache/%{name}
    64 %{_datadir}/PBPROJ/*
     60%{_datadir}/%{name}
    6561
    6662%changelog
  • projects/mondorescue/pbconf/devel/mondorescue.pb

    r689 r959  
    3333
    3434# Hash of default package/package directory
    35 defpkgdir MondoRescue = mondorescue-base
     35defpkgdir MondoRescue = mr
    3636namingtype MondoRescue = perl
    3737# Not ready yet
     
    6060filteredfiles mondo = configure.in
    6161filteredfiles mondo-doc = mondorescue-howto.sgml,mondoarchive.8,mondorestore.8,mindi.8
    62 filteredfiles mindi = sbin/mindi,Makefile.PL,sbin/mranalyze-lvm,sbin/mrprepare-lvm
    63 filteredfiles MondoRescue = Makefile.PL
     62filteredfiles mindi = sbin/mindi,Makefile.PL,post-install.sh,sbin/mrprepare-lvm
     63filteredfiles MondoRescue = Makefile.PL,sbin/mranalyze-lvm,post-install.sh
    6464filteredfiles website = top.shtml
Note: See TracChangeset for help on using the changeset viewer.