SUNWgnome-time-slider.spec revision 18880
#
# spec file for package SUNWtime-slider
#
# includes module(s): time-slider
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
#
# NOTE: If the version is bumped the new tarball must be uploaded to the
# Sun Download Center. Contact GNOME RE for assistance.
#owner:niall date:2010-06-16 type:bug defect:16280
SUNW_BaseDir: %{_basedir}
Requires: SUNWpython26-notify
SUNW_BaseDir: /
%if %build_l10n
SUNW_BaseDir: %{_basedir}
%prep
%if %build_l10n
# replace the old translations
echo 'zfssnap::::type=role;auths=solaris.smf.manage.zfs-auto-snapshot;profiles=ZFS File System Management' > $RPM_BUILD_ROOT/etc/user_attr
echo 'solaris.smf.manage.zfs-auto-snapshot:::Manage the ZFS Automatic Snapshot Service::' > $RPM_BUILD_ROOT/etc/security/auth_attr
# when not building -l10n packages, remove anything l10n related from
# $RPM_BUILD_ROOT
%if %build_l10n
%else
# REMOVE l10n FILES
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
%if %(test -f /usr/sadm/install/scripts/i.manifest && echo 0 || echo 1)
%post
%{_bindir}/*
# '/etc' directory already declared above as "%{_sysconfdir}"
%if %build_l10n