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