Changeset 233


Ignore:
Timestamp:
Oct 19, 2007, 8:29:51 PM (12 years ago)
Author:
Bruno Cornec
Message:

Debian package update

Location:
0.8.5/pbconf/project-builder/deb
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • 0.8.5/pbconf/project-builder/deb/control

    r232 r233  
    33Priority: optional
    44Maintainer: PBPACKAGER
    5 Build-Depends: debhelper (>= 4.2.20), libappconfig-perl, libdate-manip-perl
     5Build-Depends: debhelper (>= 4.2.20)
    66Standards-Version: 3.6.1
    77
     
    1010Section: PBGRP
    1111Priority: optional
    12 Depends: ${shlibs:Depends}, ${misc:Depends}, mindi (>= 1.2.3-1), afio, buffer, gawk, cdrecord, lzop
    13 Recommends: dvd+rw-tools
    14 Suggests: mondo-doc
    15 Description: powerful disaster recovery suite
    16  Mondo is reliable. It backs up your Debian GNU/Linux server or workstation to
    17  tape, CD-R, CD-RW, NFS or hard disk partition. In the event of catastrophic
    18  data loss, you will be able to restore all of your data [or as much as you
    19  want], from bare metal if necessary. Mondo is in use by numerous blue-chip
    20  enterprises and large organizations, dozens of smaller companies, and tens of
    21  thousands of users.
     12Depends: ${shlibs:Depends}, ${misc:Depends}, libappconfig-perl, libdate-manip-perl
     13Recommends:
     14Suggests:
     15Description:
     16 Project Builder aka pb is a tool to produce packages for multiple
     17 distributions.
     18 It does that by minimizing the duplication of information required
     19 and a set a very simple configuration files.
    2220 .
    23  Mondo is comprehensive. Mondo supports LVM, RAID, ext2, ext3, JFS, XFS,
    24  ReiserFS, VFAT, and can support additional file systems easily. It supports
    25  adjustments in disk geometry, including migration from non-RAID to RAID. Mondo
    26  runs on all major Linux distributions and is getting better all the time. You
    27  may even use it to backup non-Linux partitions, such as NTFS.
    28  .
    29  Homepage: http://www.mondorescue.org
     21 Homepage: http://www.project-builder.org
  • 0.8.5/pbconf/project-builder/deb/copyright

    r232 r233  
    1 This package was originally debianized by Bruno Cornec <bruno@mondorescue.org> with the help of Andree Leidenfrost
    2 Sat, 27 May 2006 11:08:11 +0100.
     1This package was originally debianized by Bruno Cornec <bruno@project-builder.org>
     2Fri, 19 Oct 2007 11:08:11 +0100.
    33
    44The current upstream source was downloaded from
    5 ftp://ftp.mondorescue.org/src/.
     5ftp://ftp.project-builder.org/src/.
    66
    7 Upstream Authors: Hugo Rabson <hugo.rabson@mondorescue.org>
    8                   Jesse Keating <hosting@j2solutions.net>
    9                   Stan Benoit <troff@nakedsoul.org>
    10                   Mikael Hultgren <mikael.hultgren@gmx.net>
    11                   Bruno Cornec <bruno@mondorescue.org>
     7Upstream Authors: Bruno Cornec <bruno@project-builder.org>
    128
    139Copyright:
  • 0.8.5/pbconf/project-builder/deb/mondo.dirs

    r232 r233  
    1 usr/sbin
    2 usr/share/bug/mondo
    3 usr/share/man/man8
    4 usr/share/mondo
    5 usr/share/pixmaps
    6 var/cache/mondo
     1usr/bin
     2usr/lib/perl5
  • 0.8.5/pbconf/project-builder/deb/mondo.docs

    r232 r233  
    1 NEWS
    2 TODO
    31README
    42svn.log
  • 0.8.5/pbconf/project-builder/deb/rules

    r232 r233  
    2929endif
    3030
    31 config.status: configure
    32     dh_testdir
     31build: build-stamp
    3332
    34     # Configure the package.
    35     CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man
     33build-stamp:
     34        dh_testdir
    3635
    37 # Build both architecture dependent and independent
    38 build: build-arch build-indep
     36        # Add here commands to compile the package.
     37        perl Makefile.PL
     38        make
     39        touch $@
    3940
    40 # Build architecture dependent
    41 build-arch: build-arch-stamp
     41clean:
     42        dh_testdir
     43        dh_testroot
     44        rm -f build-stamp
    4245
    43 build-arch-stamp:  config.status
    44     dh_testdir
     46        # Add here commands to clean up after the build process.
     47        -$(MAKE) distclean
    4548
    46     # Compile the package.
    47     $(MAKE)
     49        dh_clean
    4850
    49     touch build-stamp
     51install: build
     52        dh_testdir
     53        dh_testroot
     54        dh_clean -k
     55        dh_installdirs
    5056
    51 # Build architecture independent
    52 build-indep: build-indep-stamp
     57        # Add here commands to install the package into debian/linuxcoe-sd
     58        $(MAKE) install DESTDIR=$(CURDIR)/debian/PBPKG
    5359
    54 build-indep-stamp:  config.status
    55     # Nothing to do, the only indep item is the manual which is available as html in original source
    56     touch build-indep-stamp
    5760
    58 # Clean up
    59 clean:
    60     dh_testdir
    61     dh_testroot
    62     rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP#
    63     # Clean temporary document directory
    64     rm -rf debian/doc-temp
    65     # Clean up.
    66     -$(MAKE) distclean
    67     rm -f config.log
    68 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
    69     cp -f /usr/share/misc/config.sub config.sub
    70 endif
    71 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
    72     cp -f /usr/share/misc/config.guess config.guess
    73 endif
     61# Build architecture-independent files here.
     62binary-indep: build install
     63    # We have nothing to do by default.
    7464
    75     dh_clean
     65# Build architecture-dependent files here.
     66binary-arch: build install
     67            dh_testdir
     68            dh_testroot
     69            dh_installchangelogs ChangeLog
     70            dh_installdocs
     71            dh_installexamples
     72                                            #       dh_install
     73                                            #       dh_installmenu
     74                                            #       dh_installdebconf
     75                                            #       dh_installlogrotate
     76                                            #       dh_installemacsen
     77                                            #       dh_installpam
     78                                            #       dh_installmime
     79                                            #       dh_python
     80                                            #       dh_installinit
     81                                            #       dh_installcron
     82                                            #       dh_installinfo
     83            dh_installman
     84                                            #dh_link usr/share/doc/linuxcoe-sd usr/share/doc/linuxcoe-sd-base
     85            dh_strip
     86            dh_compress
     87            dh_fixperms
     88                                #       dh_perl
     89                                #       dh_makeshlibs
     90            dh_installdeb
     91            dh_shlibdeps
     92            dh_gencontrol
     93            dh_md5sums
     94            dh_builddeb
    7695
    77 # Install architecture dependent and independent
    78 install: install-arch install-indep
    79 
    80 # Install architecture dependent
    81 install-arch: build-arch
    82     dh_testdir
    83     dh_testroot
    84     dh_clean -k -s
    85     dh_installdirs -s
    86 
    87     # Install the package files into build directory:
    88     # - start with upstream make install
    89     $(MAKE) install prefix=$(CURDIR)/debian/$(PACKAGE_NAME)/usr mandir=$(CURDIR)/debian/$(PACKAGE_NAME)/usr/share/man
    90     # - copy html manual to temporary location for renaming
    91     mkdir -p debian/doc-temp
    92     mkdir -p $(CURDIR)/debian/$(PACKAGE_NAME)/var/cache/mondo
    93     #cp -a docs/en/mondorescue-howto debian/doc-temp/html
    94 
    95     dh_install -s
    96 
    97 # Install architecture independent
    98 install-indep: build-indep
    99     dh_testdir
    100     dh_testroot
    101     dh_clean -k -i
    102     dh_installdirs -i
    103     dh_install -i
    104 
    105 # Must not depend on anything. This is to be called by
    106 # binary-arch/binary-indep
    107 # in another 'make' thread.
    108 binary-common:
    109     dh_testdir
    110     dh_testroot
    111     dh_installchangelogs ChangeLog
    112     dh_installdocs
    113     dh_installman
    114     dh_link
    115     dh_strip
    116     dh_compress
    117     dh_fixperms
    118     dh_installdeb
    119     dh_shlibdeps
    120     dh_gencontrol
    121     dh_md5sums
    122     dh_builddeb
    123 
    124 # Build architecture independant packages using the common target.
    125 binary-indep: build-indep install-indep
    126     $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
    127 
    128 # Build architecture dependant packages using the common target.
    129 binary-arch: build-arch install-arch
    130     $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
    131 
    132 # Build architecture depdendent and independent packages
    133 binary: binary-arch binary-indep
    134 .PHONY: clean binary
     96binary: binary-indep binary-arch
     97    .PHONY: build clean binary-indep binary-arch binary install
Note: See TracChangeset for help on using the changeset viewer.