Changeset 662 in ProjectBuilder for projects/schroot


Ignore:
Timestamp:
Feb 5, 2009, 3:16:19 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • First configuration for schroot rpm creation
Location:
projects/schroot/pbconf/devel
Files:
5 added
5 edited

Legend:

Unmodified
Added
Removed
  • projects/schroot/pbconf/devel/pbfilter/all.pbf

    r660 r662  
    1111#filter PBSRC = src/%{name}-%{version}.tar.gz
    1212# Used if virtual name != real name (perl, ...)
    13 #filter PBSRC = src/%{srcname}-%{version}.tar.gz
     13filter PBSRC = %{srcname}-%{version}.tar.gz
    1414
    1515# PBVER is replaced by the version ($pb->{'ver'} in code)
     
    2020
    2121# PBLOG is replaced by the changelog if value is yes
    22 #filter PBLOG = yes
     22filter PBLOG = yes
    2323
    2424# PBPATCHSRC is replaced by the patches names if value is yes
    25 #filter PBPATCHSRC = yes
     25filter PBPATCHSRC = yes
    2626
    2727# PBPATCHCMD is replaced by the patches commands if value is yes
    28 #filter PBPATCHCMD = yes
     28filter PBPATCHCMD = yes
    2929
    3030# PBTAG is replaced by the tag ($pb->{'tag'} in code)
     
    4747
    4848# PBDESC contains the description of the package
    49 #filter PBDESC = "Bla-Bla"
     49filter PBDESC = "schroot allows users to execute commands or interactive shells in different chroots.  Any number of named chroots may be created, and access permissions given to each, including root access for normal users, on a per-user or per-group basis.  Additionally, schroot can switch to a different user in the chroot, using PAM for authentication and authorisation.  All operations are logged for security.\n\nSeveral different types of chroot are supported, including normal directories in the filesystem, and also block devices.  Sessions, persistent chroots created on the fly from files (tar with optional compression and zip) and LVM snapshots are also supported.\n\nschroot supports kernel personalities, allowing the programs run inside the chroot to have a different personality.  For example, running 32-bit chroots on 64-bit systems, or even running binaries from alternative operating systems such as SVR4 or Xenix.\n\nschroot also integrates with sbuild, to allow building packages with all supported chroot types, including session-managed chroot types such as LVM snapshots.\n\nschroot shares most of its options with dchroot, but offers vastly more functionality."
    5050
    5151# PBURL contains the URL of the Web site of the project
    52 #filter PBURL = http://www.schroot.org
     52filter PBURL = http://packages.debian.org/unstable/admin/schroot
  • projects/schroot/pbconf/devel/pbfilter/md.pbf

    r660 r662  
    11# Specific group for Mandriva for schroot
    22# Cf: http://wiki.mandriva.com/en/Development/Packaging/Groups
    3 #filter PBGRP = Archiving/Backup
     3filter PBGRP = Archiving/Backup
    44
    55# PBLIC is replaced by the license of the application
     
    77#filter PBLIC = GPL
    88
     9filter PBBUILDDEP = liblockdev1-devel libboost-devel
     10filter PBDEP = lockdev-baudboy libboost1.34.1
  • projects/schroot/pbconf/devel/pbfilter/rpm.pbf

    r660 r662  
    66
    77# PBGRP is replaced by the RPM group of apps
    8 #filter PBGRP = Applications/Archiving
     8filter PBGRP = Applications/Archiving
    99
    1010# PBLIC is replaced by the license of the application
    11 #filter PBLIC = GPL
     11filter PBLIC = GPL
    1212
    1313# PBDEP is replaced by the list of dependencies
    14 #filter PBDEP =
     14filter PBDEP = boost lockdev
     15
     16# PBBUILDDEP  is replaced by the list of build dependencies
     17filter PBBUILDDEP = boost boost-devel lockdev-devel
    1518
    1619# PBSUF is replaced by the package suffix ($pb->{'suf'} in code)
  • projects/schroot/pbconf/devel/schroot.pb

    r660 r662  
    1616#pburl schroot = file:///src/schroot-devel.tar.gz
    1717#pburl schroot = dir:///src/schroot-devel
     18pburl schroot = git://git.debian.org/git/buildd-tools/schroot
    1819
    1920# Repository
    20 #pbrepo schroot = ftp://ftp.schroot.org
     21pbrepo schroot = ftp://ftp.schroot.org
    2122#pbml schroot = schroot-announce@lists.schroot.org
    2223#pbsmtp schroot = localhost
     
    3031# Packager label
    3132#
    32 #pbpackager schroot = William Porte <bill@schroot.org>
     33pbpackager schroot = Bruno Cornec <bruno@project-builder.org>
    3334#
    3435
     
    4243
    4344#
    44 # For Virtual machines management
    45 # Naming convention to follow: distribution name (as per ProjectBuilder::Distribution)
    46 # followed by '-' and by release number
    47 # followed by '-' and by architecture
    48 # a .vmtype extension will be added to the resulting string
    49 # a QEMU rhel-3-i286 here means that the VM will be named rhel-3-i386.qemu
    50 #
    51 #vmlist schroot = mandrake-10.1-i386,mandrake-10.2-i386,mandriva-2006.0-i386,mandriva-2007.0-i386,mandriva-2007.1-i386,mandriva-2008.0-i386,redhat-7.3-i386,redhat-9-i386,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-7-i386,fedora-8-i386,rhel-3-i386,rhel-4-i386,rhel-5-i386,suse-10.0-i386,suse-10.1-i386,suse-10.2-i386,suse-10.3-i386,sles-9-i386,sles-10-i386,gentoo-nover-i386,debian-3.1-i386,debian-4.0-i386,ubuntu-6.06-i386,ubuntu-7.04-i386,ubuntu-7.10-i386,mandriva-2007.0-x86_64,mandriva-2007.1-x86_64,mandriva-2008.0-x86_64,fedora-6-x86_64,fedora-7-x86_64,fedora-8-x86_64,rhel-4-x86_64,rhel-5-x86_64,suse-10.2-x86_64,suse-10.3-x86_64,sles-10-x86_64,gentoo-nover-x86_64,debian-4.0-x86_64,ubuntu-7.04-x86_64,ubuntu-7.10-x86_64
    52 
    53 #
    54 # Valid values for vmtype are
    55 # qemu, (vmware, xen, ... TBD)
    56 #vmtype schroot = qemu
    57 
    58 # Hash for VM stuff on vmtype
    59 #vmntp default = pool.ntp.org
    60 
    61 # We suppose we can commmunicate with the VM through SSH
    62 #vmhost schroot = localhost
    63 #vmlogin schroot = pb
    64 #vmport schroot = 2222
    65 
    66 # Timeout to wait when VM is launched/stopped
    67 #vmtmout default = 120
    68 
    69 # per VMs needed paramaters
    70 #vmopt schroot = -m 384 -daemonize
    71 #vmpath schroot = /home/qemu
    72 #vmsize schroot = 5G
    73 
    74 #
    75 # For Virtual environment management
    76 # Naming convention to follow: distribution name (as per ProjectBuilder::Distribution)
    77 # followed by '-' and by release number
    78 # followed by '-' and by architecture
    79 # a .vetype extension will be added to the resulting string
    80 # a chroot rhel-3-i286 here means that the VE will be named rhel-3-i386.chroot
    81 #
    82 #velist schroot = fedora-7-i386
    83 
    84 # VE params
    85 #vetype schroot = chroot
    86 #ventp default = pool.ntp.org
    87 #velogin schroot = pb
    88 #vepath schroot = /var/lib/mock
    89 #veconf schroot = /etc/mock
    90 #verebuild schroot = false
    91 
    92 #
    9345# Global version/tag for the project
    9446#
    95 #projver schroot = devel
    96 #projtag schroot = 1
     47projver schroot = devel
     48projtag schroot = 1
    9749
    9850# Hash of valid version names
    99 #version schroot = devel,stable
     51version schroot = devel
    10052
    10153# Is it a test version or a production version
     
    10860#pkgtag schroot = 3
    10961# Hash of default package/package directory
    110 #defpkgdir schroot = dir-schroot
     62defpkgdir schroot = .
    11163# Hash of additional package/package directory
    11264#extpkgdir minor-pkg = dir-minor-pkg
  • projects/schroot/pbconf/devel/schroot/rpm/schroot.spec

    r660 r662  
    55#%define srcname    PBPKG
    66
    7 Summary:        bla-bla
    8 Summary(fr):    french bla-bla
     7Summary:        Execute commands in a chroot environment
     8Summary(fr):    Exécute des commandes dans un environnement chrooté
    99
    1010Name:           PBREALPKG
     
    1515Url:            PBURL
    1616Source:         PBREPO/PBSRC
    17 #PBPATCHSRC
     17PBPATCHSRC
    1818BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
    19 #Requires:       PBDEP
     19Requires:       PBDEP
     20BuildRequires:  PBBUILDDEP e2fsprogs-devel e2fsprogs pam-devel gcc-c++
    2021
    2122%description
     
    2324
    2425%description -l fr
    25 french desc
     26Exécute des commandes dans un environnement chrooté
    2627
    2728%prep
     
    2930# Used if virtual name != real name (perl, ...)
    3031#%setup -q -n %{srcname}-%{version}
    31 #PBPATCHCMD
     32PBPATCHCMD
    3233
    3334%build
    34 %configure
     35%configure UUID_CFLAGS=-I/usr/include UUID_LIBS=-luuid --enable-static --disable-shared
    3536make %{?_smp_mflags}
    3637
     
    4344
    4445%files
    45 %defattr(-,root,root)
     46%defattr(-,root,root,-)
    4647%doc ChangeLog
    47 %doc INSTALL COPYING README AUTHORS NEWS
     48%doc INSTALL THANKS README TODO NEWS
     49%config /etc/pam.d/schroot
     50%config /etc/schroot/*
     51%attr(4755, root, root) %{_bindir}/schroot
     52%{_mandir}/*/*
     53%dir %{_includedir}/sbuild
     54%{_libdir}/pkgconfig/sbuild.pc
     55%{_libdir}/libsbuild.a
     56%{_libdir}/libsbuild.la
     57%dir %{_libexecdir}/schroot
    4858
    4959%changelog
Note: See TracChangeset for help on using the changeset viewer.