Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:weberho:qmailtoaster
vpopmail-build-skel
vpopmail-build-skel.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vpopmail-build-skel.spec of Package vpopmail-build-skel
%define oldstructure 1 # # Spec file for package vpopmail-build-skel # # Copyright (c) 2008-2010 Weberhofer GmbH, Vienna, Austria # This file and all modifications and additions to the pristine package # are under the same license as the vpopmail package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org # #norootforbuild Name: vpopmail-build-skel Summary: Files and users needed to build vpopmail Version: 1.5 Release: 1 License: GPL Group: Development/Libraries/C and C++ Conflicts: vpopmail Buildroot: %{_tmppath}/%{name}-%{version} BuildArch: noarch %define vdir_old /home/vpopmail %define vdir %{_localstatedir}/lib/vpopmail %define qdir %{_localstatedir}/qmail %define vpopuser vpopmail %define vpopgroup vchkpw %if 0%{?suse_version} # suse stuff Requires: pwdutils BuildRequires: pwdutils %else # redhat and mandriva Requires: shadow-utils BuildRequires: shadow-utils %endif %description This package install user, group and directories as needed to compile vpopmail. %prep %setup -T -c vpopmail-build-skel %build %install %{__mkdir_p} %{buildroot}/%{vdir} touch %{buildroot}%{vdir}/dummy %pre getent group %{vpopgroup} >/dev/null || \ /usr/sbin/groupadd -g 89 -r %{vpopgroup} getent passwd %{vpopuser} >/dev/null || \ /usr/sbin/useradd -u 89 -r -M -d %{vdir} -s /sbin/nologin -c "Vpopmail User" -g %{vpopgroup} %{vpopuser} # those files are needed to compile vpopmail %{__mkdir_p} %{qdir}/bin for FILE in qmail-newu qmail-inject qmail-newmrh ; do if [ ! -e $FILE ] ; then touch %{qdir}/bin/$FILE fi done %clean %{__rm} -rf %{buildroot} %files %defattr(0644,root,root,0755) %dir %{vdir} %{vdir}/dummy
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor