# # $Id$ # # Used if virtual name != real name (perl, ...) #%define srcname PBPKG Summary: Execute commands in a chroot environment Summary(fr): Exécute des commandes dans un environnement chrooté Name: PBREALPKG Version: PBVER Release: PBTAGPBSUF License: PBLIC Group: PBGRP Url: PBURL Source: PBREPO/PBSRC PBPATCHSRC BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) Requires: PBDEP e2fsprogs pam BuildRequires: PBBUILDDEP e2fsprogs-devel e2fsprogs pam-devel gcc-c++ %description PBDESC %description -l fr Exécute des commandes dans un environnement chrooté %prep %setup -q # Used if virtual name != real name (perl, ...) #%setup -q -n %{srcname}-%{version} PBPATCHCMD %build %configure UUID_CFLAGS=-I/usr/include UUID_LIBS=-luuid --enable-static --disable-shared --localstatedir=%{_var} #--enable-dchroot --enable-dchroot-dsa make %{?_smp_mflags} %install %{__rm} -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog %doc INSTALL THANKS README TODO NEWS %config /etc/pam.d/schroot %config /etc/schroot/* %attr(4755, root, root) %{_bindir}/schroot %{_mandir}/*/* %dir %{_includedir}/sbuild %{_includedir}/sbuild/* %{_libdir}/pkgconfig/sbuild.pc %{_libdir}/libsbuild.a %{_libdir}/libsbuild.la %dir %{_libexecdir}/schroot %{_libexecdir}/schroot/* %{_datadir}/locale/*/*/schroot.mo %dir %{_localstatedir}/schroot %{_localstatedir}/schroot/* %changelog PBLOG