SUNWgnome-time-slider.spec revision 18861
10139N/A#
10139N/A# spec file for package SUNWtime-slider
10139N/A#
16880N/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
17185N/A# package are under the same license as the package itself.
10139N/A#
16880N/A%define owner niall
17178N/A#
17178N/A%include Solaris.inc
10139N/A%include l10n.inc
16880N/A# NOTE: If the version is bumped the new tarball must be uploaded to the
10139N/A# Sun Download Center. Contact GNOME RE for assistance.
17806N/A
12578N/A%define OSR developed in the open, no OSR needed:0
10139N/A
10139N/AName: SUNWgnome-time-slider
10139N/AIPS_package_name: desktop/time-slider
17724N/AMeta(info.classification): %{classification_prefix}:Applications/Configuration and Preferences
17797N/ASummary: Time Slider ZFS snapshot management for GNOME
17797N/AVendor: Sun Microsystems, Inc.
17797N/ALicense: CDDL
16880N/AVersion: 0.2.96
17733N/ASource: http://dlc.sun.com/osol/jds/downloads/extras/time-slider/time-slider-%{version}.tar.bz2
17797N/ASource1: time-slider-po-sun-%{po_sun_version}.tar.bz2
17753N/ASUNW_BaseDir: %{_basedir}
16880N/ASUNW_Copyright: %{name}.copyright
17089N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
17797N/A
16880N/A%include default-depend.inc
16880N/ABuildRequires: SUNWgnome-python26-libs-devel
16880N/ABuildRequires: SUNWgksu-devel
17797N/ARequires: SUNWPython26
16880N/ARequires: SUNWdbus-python26
16880N/ARequires: SUNWgnome-python26-libs
16880N/ARequires: SUNWpython26-notify
17733N/ARequires: SUNWgksu
16880N/ARequires: SUNWgnome-dialog
17089N/ARequires: %{name}-root
17073N/ARequires: SUNWdesktop-cache
17089N/AObsoletes: SUNWzfs-auto-snapshot
17733N/A
17074N/A%package root
17089N/ASummary: %{summary} - / filesystem
17733N/ASUNW_BaseDir: /
17733N/A%include default-depend.inc
17222N/A
17725N/A%if %build_l10n
17247N/A%package l10n
17725N/ASummary: %{summary} - l10n files
17753N/ASUNW_BaseDir: %{_basedir}
17753N/A%include default-depend.inc
17753N/ARequires: %{name}
17753N/A%endif
17753N/A
17753N/A%prep
17753N/A%setup -q -n time-slider-%{version}
17753N/A%if %build_l10n
17753N/Abzcat %SOURCE1 | tar xf -
17402N/A# replace the old translations
17753N/Acd po-sun; cp *.po LINGUAS ../po; cd ..
17806N/A%endif
17535N/A
17806N/A%build
17546N/Amake
17806N/A
17733N/A%install
17733N/Aexport PYTHON="/usr/bin/python2.6"
17629N/Arm -rf $RPM_BUILD_ROOT
17806N/Amake install DESTDIR=$RPM_BUILD_ROOT
17733N/A
17672N/A# when not building -l10n packages, remove anything l10n related from
17806N/A# $RPM_BUILD_ROOT
17858N/A%if %build_l10n
17858N/A%else
17858N/A# REMOVE l10n FILES
17858N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
16880N/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}
10139N/A
10139N/A%clean
12274N/Arm -rf $RPM_BUILD_ROOT
12274N/A
12274N/A%if %(test -f /usr/sadm/install/scripts/i.manifest && echo 0 || echo 1)
12274N/A%iclass manifest -f i.manifest
10139N/A%endif
10139N/A
10139N/A%post
10139N/A%restart_fmri icon-cache
11002N/A
13025N/A%files
17693N/A%defattr (-, root, bin)
17693N/A%{_bindir}/*
17693N/A%dir %attr (0755, root, bin) %{_libdir}
17693N/A%{_libdir}/time-slider-*
17693N/A%{_libdir}/time-sliderd
17725N/A%dir %attr (0755, root, bin) %{_libdir}/time-slider
17693N/A%dir %attr (0755, root, bin) %{_libdir}/time-slider/plugins/
17693N/A%dir %attr (0755, root, bin) %{_libdir}/time-slider/plugins/rsync
17725N/A%{_libdir}/time-slider/plugins/rsync/*
17693N/A%dir %attr (0755, root, bin) %{_libdir}/time-slider/plugins/zfssend
17693N/A%{_libdir}/time-slider/plugins/zfssend/*
17693N/A%dir %attr (0755, root, sys) %{_datadir}
17858N/A%dir %attr (0755, root, other) %{_datadir}/applications
17858N/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
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
10139N/A%{_datadir}/icons/hicolor/16x16/apps/time-slider-setup.png
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
10139N/A%{_datadir}/icons/hicolor/24x24/apps/time-slider-setup.png
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
10139N/A%{_datadir}/icons/hicolor/32x32/apps/time-slider-setup.png
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/36x36
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/36x36/apps
16880N/A%{_datadir}/icons/hicolor/36x36/apps/time-slider-setup.png
16880N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48
16880N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps
16880N/A%{_datadir}/icons/hicolor/48x48/apps/time-slider-setup.png
16880N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/72x72
16880N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/72x72/apps
10139N/A%{_datadir}/icons/hicolor/72x72/apps/time-slider-setup.png
16880N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/96x96
16880N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/96x96/apps
10139N/A%{_datadir}/icons/hicolor/96x96/apps/time-slider-setup.png
10139N/A%{_datadir}/time-slider/*
10139N/A
16880N/A%files root
16880N/A%defattr (-, root, bin)
10139N/A%attr (0755, root, sys) %dir %{_sysconfdir}
10139N/A%dir %attr (0755, root, bin) %{_sysconfdir}/dbus-1
16880N/A%dir %attr (0755, root, bin) %{_sysconfdir}/dbus-1/system.d
11155N/A%{_sysconfdir}/dbus-1/system.d/*
16880N/A%dir %attr (-, root, sys) %{_sysconfdir}/xdg
16880N/A%dir %attr (-, root, sys) %{_sysconfdir}/xdg/autostart
17249N/A%attr (-, root, sys) %{_sysconfdir}/xdg/autostart/*
17249N/A%dir %attr (0755, root, sys) /var
10139N/A%dir %attr (0755, root, sys) /var/svc
10139N/A%dir %attr (0755, root, sys) /var/svc/manifest
10139N/A%dir %attr (0755, root, sys) /var/svc/manifest/application
10139N/A%class(manifest) %attr (0444, root, sys) /var/svc/manifest/application/time-slider.xml
16880N/A%class(manifest) %attr (0444, root, sys) /var/svc/manifest/application/time-slider-plugin.xml
16880N/A%dir %attr (0755, root, sys) /var/svc/manifest/system
16880N/A%dir %attr (0755, root, sys) /var/svc/manifest/system/filesystem
16880N/A%class(manifest) %attr (0444, root, sys) /var/svc/manifest/system/filesystem/auto-snapshot.xml
10139N/A%attr (0555, root, bin) /lib/svc/method/time-slider
17059N/A%attr (0555, root, bin) /lib/svc/method/time-slider-plugin
17059N/A%attr (0555, root, bin) /lib/svc/method/time-slider-rsync
17059N/A
16880N/A%if %build_l10n
16880N/A%files l10n
16880N/A%defattr (-, root, other)
17059N/A%dir %attr (0755, root, sys) %{_datadir}
17059N/A%{_datadir}/locale/*
17611N/A%endif
11358N/A
16880N/A%changelog
16880N/A* Fri June 04 2010 - niall.power@oracle.com
10248N/A- Bump to version 0.2.96. Updated with new dependencies
17669N/A* Fri Feb 05 2010 - harry.fu@sun.com
16880N/A- Copy LINGUAS and po files from po-sun only, not Makefile.
16880N/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
16880N/A- Revert to previous version (0.2.10) until removed features
16880N/A reimplemented or ARC review approved. Backs out prev. commit
16880N/A* Thu Nov 05 2009 - niall.power@sun.com
16880N/A- Bumped version to 0.2.95
16880N/A- Bumped python requirements to 2.6
16880N/A- Obsoletes SUNWzfs-auto-snapshot from 0.2.95+
16880N/A* Fri Jul 10 2009 - niall.power@sun.com
16880N/A- Bump version to 0.2.10. D.O.O# 8667, 8454 & 8685
16880N/A* Fri Apr 3 2009 - laca@sun.com
16880N/A- use desktop-cache instead of postrun
16880N/A* Fri Feb 20 2009 - niall.power@sun.com
16880N/A- Bump to 0.2.6 tarball to incorporate updated l10n
16880N/A from Takao Fujiwara. bugster 6807414
16880N/A- Dropped upstreamed -01-python-env.diff
16880N/A* Thu Feb 12 2009 - niall.power@sun.com
16880N/A- Add patch 01-python-env.diff to fully fix 6754650.
16880N/A Upstreamed patch. Remainder of fix already in 0.2.5 tarball
16880N/A* Thu Feb 05 2009 - niall.power@sun.com
16880N/A- Bump to 0.2.5
16880N/A- Add patch potfiles.diff to get GTK translations.
16880N/A- Add patch g11n-i18n-ui.diff to show localized date.
16880N/A* Fri Jan 09 2009 - niall.power@sun.com
16880N/A- Bump to 0.2.3
16880N/A* Mon Dec 17 2008 - niall.power@sun.com
16880N/A- Bump to 0.2.2
16880N/A* Mon Oct 20 2008 - takao.fujiwara@sun.com
16880N/A- Bump to 0.1.2 with .po files. Add l10n packages.
16880N/A* Fri Oct 10 2008 - niall.power@sun.com
16880N/A- disable auto SMF enabelment in post install
16880N/A* Wed Oct 08 2008 - niall.power@sun.com
16880N/A- Bump to 0.1.1 Drop upstreamed g11n-i18n.diff
10139N/A* Thu Oct 02 2008 - takao.fujiwara@su.com
16880N/A- Add time-slider-01-g11n-i18n.diff
16880N/A* Wed Sep 18 2008 - niall.power@sun.com
16880N/A- Initial spec file created.
16880N/A
10139N/A