18861N/A#
18861N/A# spec file for package SUNWtime-slider
18861N/A#
18861N/A# includes module(s): time-slider
18861N/A#
18861N/A# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
18861N/A# This file and all modifications and additions to the pristine
18861N/A# package are under the same license as the package itself.
18861N/A#
20895N/A%define owner erwannc
18861N/A#
18861N/A%include Solaris.inc
18861N/A%include l10n.inc
18861N/A# NOTE: If the version is bumped the new tarball must be uploaded to the
18861N/A# Sun Download Center. Contact GNOME RE for assistance.
18861N/A
18861N/A%define OSR developed in the open, no OSR needed:0
18861N/A
18861N/AName: SUNWgnome-time-slider
18861N/AIPS_package_name: desktop/time-slider
18861N/AMeta(info.classification): %{classification_prefix}:Applications/Configuration and Preferences
18861N/ASummary: Time Slider ZFS snapshot management for GNOME
18970N/ALicense: cr_Oracle
20818N/AVersion: 0.2.99
18861N/ASource: http://dlc.sun.com/osol/jds/downloads/extras/time-slider/time-slider-%{version}.tar.bz2
18861N/ASource1: time-slider-po-sun-%{po_sun_version}.tar.bz2
18861N/ASUNW_BaseDir: %{_basedir}
18861N/ASUNW_Copyright: %{name}.copyright
18861N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18861N/A
18861N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
19997N/ABuildRequires: SUNWpygtk2-26
18861N/ABuildRequires: SUNWgksu-devel
18861N/ARequires: SUNWPython26
18861N/ARequires: SUNWdbus-python26
18861N/ARequires: SUNWpython26-notify
18861N/ARequires: SUNWgksu
18861N/ARequires: SUNWgnome-dialog
18861N/ARequires: %{name}-root
20857N/ARequires: service/gnome/desktop-cache
18861N/AObsoletes: SUNWzfs-auto-snapshot
18861N/A
18861N/A%package root
18861N/ASummary: %{summary} - / filesystem
18861N/ASUNW_BaseDir: /
18861N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
18861N/A
18861N/A%package l10n
18861N/ASummary: %{summary} - l10n files
18861N/ARequires: %{name}
18861N/A
18861N/A%prep
18861N/A%setup -q -n time-slider-%{version}
18861N/Abzcat %SOURCE1 | tar xf -
18861N/A# replace the old translations
18861N/Acd po-sun; cp *.po LINGUAS ../po; cd ..
18861N/A
18861N/A%build
18861N/Amake
18861N/A
18861N/A%install
18861N/Aexport PYTHON="/usr/bin/python2.6"
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/Amake install DESTDIR=$RPM_BUILD_ROOT
18861N/A
19898N/Amkdir -p $RPM_BUILD_ROOT/etc/security/auth_attr.d
19898N/Amkdir -p $RPM_BUILD_ROOT/etc/user_attr.d
19911N/Aecho 'zfssnap::::type=role;auths=solaris.smf.manage.zfs-auto-snapshot;profiles=ZFS File System Management' > $RPM_BUILD_ROOT/etc/user_attr.d/desktop-time-slider
19911N/Aecho 'solaris.smf.manage.zfs-auto-snapshot:::Manage the ZFS Automatic Snapshot Service::' > $RPM_BUILD_ROOT/etc/security/auth_attr.d/desktop-time-slider
18880N/A
18861N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
18861N/A
18861N/A%clean
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A
18861N/A%if %(test -f /usr/sadm/install/scripts/i.manifest && echo 0 || echo 1)
18861N/A%iclass manifest -f i.manifest
18861N/A%endif
18861N/A
18861N/A%post
18861N/A%restart_fmri icon-cache
18861N/A
19142N/A%actions
19142N/Auser ftpuser=false gcos-field="ZFS Automatic Snapshots Reserved UID" group=daemon login-shell=/usr/bin/pfsh password=NP uid=51 username=zfssnap
19142N/A
18861N/A%files
18861N/A%defattr (-, root, bin)
18861N/A%{_bindir}/*
18861N/A%dir %attr (0755, root, bin) %{_libdir}
18861N/A%{_libdir}/time-slider-*
18861N/A%{_libdir}/time-sliderd
18861N/A%dir %attr (0755, root, bin) %{_libdir}/time-slider
18861N/A%dir %attr (0755, root, bin) %{_libdir}/time-slider/plugins/
18861N/A%dir %attr (0755, root, bin) %{_libdir}/time-slider/plugins/rsync
18861N/A%{_libdir}/time-slider/plugins/rsync/*
18861N/A%dir %attr (0755, root, bin) %{_libdir}/time-slider/plugins/zfssend
18861N/A%{_libdir}/time-slider/plugins/zfssend/*
18861N/A%dir %attr (0755, root, sys) %{_datadir}
18861N/A%dir %attr (0755, root, other) %{_datadir}/applications
18861N/A%{_datadir}/applications/*.desktop
18861N/A%dir %attr (-, root, other) %{_datadir}/icons
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
18861N/A%{_datadir}/icons/hicolor/16x16/apps/time-slider-setup.png
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
18861N/A%{_datadir}/icons/hicolor/24x24/apps/time-slider-setup.png
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
18861N/A%{_datadir}/icons/hicolor/32x32/apps/time-slider-setup.png
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/36x36
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/36x36/apps
18861N/A%{_datadir}/icons/hicolor/36x36/apps/time-slider-setup.png
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps
18861N/A%{_datadir}/icons/hicolor/48x48/apps/time-slider-setup.png
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/72x72
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/72x72/apps
18861N/A%{_datadir}/icons/hicolor/72x72/apps/time-slider-setup.png
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/96x96
18861N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/96x96/apps
18861N/A%{_datadir}/icons/hicolor/96x96/apps/time-slider-setup.png
18861N/A%{_datadir}/time-slider/*
18861N/A
18861N/A%files root
18861N/A%defattr (-, root, bin)
18861N/A%attr (0755, root, sys) %dir %{_sysconfdir}
18861N/A%dir %attr (0755, root, bin) %{_sysconfdir}/dbus-1
18861N/A%dir %attr (0755, root, bin) %{_sysconfdir}/dbus-1/system.d
18861N/A%{_sysconfdir}/dbus-1/system.d/*
18861N/A%dir %attr (-, root, sys) %{_sysconfdir}/xdg
18861N/A%dir %attr (-, root, sys) %{_sysconfdir}/xdg/autostart
18861N/A%attr (-, root, sys) %{_sysconfdir}/xdg/autostart/*
18880N/A# '/etc' directory already declared above as "%{_sysconfdir}"
18880N/A%dir %attr (0755, root, sys) /etc/security
19898N/A%dir %attr (0755, root, sys) /etc/security/auth_attr.d
19911N/A%config %ips_tag(restart_fmri=svc:/system/rbac:default) %attr (0444, root, sys) /etc/security/auth_attr.d/*
19898N/A%dir %attr (0755, root, sys) /etc/user_attr.d
19911N/A%config %ips_tag(restart_fmri=svc:/system/rbac:default) %attr (0444, root, sys) /etc/user_attr.d/*
20818N/A%dir %attr (0755, root, bin) /lib
20818N/A%dir %attr (0755, root, bin) /lib/svc
20818N/A%dir %attr (0755, root, sys) /lib/svc/manifest
20818N/A%dir %attr (0755, root, sys) /lib/svc/manifest/application
20818N/A%class(manifest) %attr (0444, root, sys) /lib/svc/manifest/application/time-slider.xml
20818N/A%class(manifest) %attr (0444, root, sys) /lib/svc/manifest/application/time-slider-plugin.xml
20818N/A%dir %attr (0755, root, sys) /lib/svc/manifest/system
20818N/A%dir %attr (0755, root, sys) /lib/svc/manifest/system/filesystem
20818N/A%class(manifest) %attr (0444, root, sys) /lib/svc/manifest/system/filesystem/auto-snapshot.xml
18861N/A%attr (0555, root, bin) /lib/svc/method/time-slider
18861N/A%attr (0555, root, bin) /lib/svc/method/time-slider-plugin
18861N/A%attr (0555, root, bin) /lib/svc/method/time-slider-rsync
18861N/A
18861N/A%files l10n
18861N/A%defattr (-, root, other)
18861N/A%dir %attr (0755, root, sys) %{_datadir}
18861N/A%{_datadir}/locale/*
18861N/A
18861N/A%changelog
20818N/A* Fri Jul 29 2011 - erwann.chenede@oracle.com
20818N/A- moved smf files from var to lib
18970N/A* Tue Aug 17 2010 - niall.power@oracle.com
18970N/A- Adjust License tag to cr_Oracle for build 146a
18954N/A* Thu Jul 29 2010 - niall.power@oracle.com
18954N/A- Drop upstreamed patch "-rsync-expire.diff"
18954N/A- Bump to version 0.2.97
18880N/A* Wed June 16 2010 - niall.power@oracle.com
18880N/A- Add missing RBAC fragments for user_attr and auth_attr.
18880N/A- Add patch "01-rsync-expire.diff" to fix defect 16280
18861N/A* Fri June 04 2010 - niall.power@oracle.com
18861N/A- Bump to version 0.2.96. Updated with new dependencies
18861N/A* Fri Feb 05 2010 - harry.fu@sun.com
18861N/A- Copy LINGUAS and po files from po-sun only, not Makefile.
18861N/A* Thu Feb 04 2010 - harry.fu@sun.com
18861N/A- Replace the old translations with the latest ones from po-sun.
18861N/A* Wed Dec 09 2009 - niall.power@sun.com
18861N/A- Add patch time-slider-01-python26.diff and update
18861N/A BuildRequires and Requires python deps to python26 variants.
18861N/A* Mon Nov 23 2009 - niall.power@sun.com
18861N/A- Revert to previous version (0.2.10) until removed features
18861N/A reimplemented or ARC review approved. Backs out prev. commit
18861N/A* Thu Nov 05 2009 - niall.power@sun.com
18861N/A- Bumped version to 0.2.95
18861N/A- Bumped python requirements to 2.6
18861N/A- Obsoletes SUNWzfs-auto-snapshot from 0.2.95+
18861N/A* Fri Jul 10 2009 - niall.power@sun.com
18861N/A- Bump version to 0.2.10. D.O.O# 8667, 8454 & 8685
18861N/A* Fri Apr 3 2009 - laca@sun.com
18861N/A- use desktop-cache instead of postrun
18861N/A* Fri Feb 20 2009 - niall.power@sun.com
18861N/A- Bump to 0.2.6 tarball to incorporate updated l10n
18861N/A from Takao Fujiwara. bugster 6807414
18861N/A- Dropped upstreamed -01-python-env.diff
18861N/A* Thu Feb 12 2009 - niall.power@sun.com
18861N/A- Add patch 01-python-env.diff to fully fix 6754650.
18861N/A Upstreamed patch. Remainder of fix already in 0.2.5 tarball
18861N/A* Thu Feb 05 2009 - niall.power@sun.com
18861N/A- Bump to 0.2.5
18861N/A- Add patch potfiles.diff to get GTK translations.
18861N/A- Add patch g11n-i18n-ui.diff to show localized date.
18861N/A* Fri Jan 09 2009 - niall.power@sun.com
18861N/A- Bump to 0.2.3
18861N/A* Mon Dec 17 2008 - niall.power@sun.com
18861N/A- Bump to 0.2.2
18861N/A* Mon Oct 20 2008 - takao.fujiwara@sun.com
18861N/A- Bump to 0.1.2 with .po files. Add l10n packages.
18861N/A* Fri Oct 10 2008 - niall.power@sun.com
18861N/A- disable auto SMF enabelment in post install
18861N/A* Wed Oct 08 2008 - niall.power@sun.com
18861N/A- Bump to 0.1.1 Drop upstreamed g11n-i18n.diff
18861N/A* Thu Oct 02 2008 - takao.fujiwara@su.com
18861N/A- Add time-slider-01-g11n-i18n.diff
18861N/A* Wed Sep 18 2008 - niall.power@sun.com
18861N/A- Initial spec file created.
18861N/A
19286N/A
19603N/A