Home | History | Annotate | Download | only in core
      1   368     niall #
      2   368     niall # spec file for package SUNWtime-slider
      3   368     niall #
      4   368     niall # includes module(s): time-slider
      5   368     niall #
      6   806      laca # Copyright 2009 Sun Microsystems, Inc.
      7   368     niall # This file and all modifications and additions to the pristine
      8   368     niall # package are under the same license as the package itself.
      9   368     niall #
     10   974  qc161282 %define owner niall
     11   368     niall #
     12   368     niall %include Solaris.inc
     13   368     niall # NOTE: If the version is bumped the new tarball must be uploaded to the
     14   368     niall #       Sun Download Center. Contact GNOME RE for assistance.
     15   368     niall 
     16   949    chrisk %define OSR developed in the open, no OSR needed:0
     17   949    chrisk 
     18   368     niall Name:                    SUNWgnome-time-slider
     19   368     niall Summary:                 Time Slider ZFS snapshot management for GNOME
     20  1053     niall Version:                 0.2.10
     21   590     niall Source:			 http://dlc.sun.com/osol/jds/downloads/extras/time-slider/time-slider-%{version}.tar.bz2
     22   368     niall SUNW_BaseDir:            %{_basedir}
     23   368     niall SUNW_Copyright:          %{name}.copyright
     24   368     niall BuildRoot:               %{_tmppath}/%{name}-%{version}-build
     25   368     niall 
     26   368     niall %include default-depend.inc
     27  1053     niall BuildRequires:           SUNWgnome-python-libs-devel
     28   368     niall BuildRequires:           SUNWgksu-devel
     29  1053     niall Requires:                SUNWPython
     30  1053     niall Requires:                SUNWgnome-python-libs
     31   368     niall Requires:                SUNWgksu
     32  1053     niall Requires:                SUNWzfs-auto-snapshot
     33   814   erwannc Requires:                SUNWgnome-dialog
     34   368     niall Requires:                %{name}-root
     35   806      laca Requires:                SUNWdesktop-cache
     36   368     niall 
     37   368     niall %package root
     38   368     niall Summary:                 %{summary} - / filesystem
     39   368     niall SUNW_BaseDir:            /
     40   368     niall %include default-depend.inc
     41   368     niall 
     42   425  fujiwara %if %build_l10n
     43   425  fujiwara %package l10n
     44   425  fujiwara Summary:                 %{summary} - l10n files
     45   425  fujiwara SUNW_BaseDir:            %{_basedir}
     46   425  fujiwara %include default-depend.inc
     47   425  fujiwara Requires:                %{name}
     48   425  fujiwara %endif
     49   425  fujiwara 
     50   368     niall %prep
     51   368     niall %setup -q -n time-slider-%{version}
     52   368     niall 
     53   368     niall %build
     54   368     niall make
     55   368     niall 
     56   368     niall %install
     57  1053     niall export PYTHON="/usr/bin/python2.4"
     58   368     niall rm -rf $RPM_BUILD_ROOT
     59   368     niall make install DESTDIR=$RPM_BUILD_ROOT
     60   368     niall 
     61   425  fujiwara # when not building -l10n packages, remove anything l10n related from
     62   425  fujiwara # $RPM_BUILD_ROOT
     63   425  fujiwara %if %build_l10n
     64   425  fujiwara %else
     65   425  fujiwara # REMOVE l10n FILES
     66   425  fujiwara rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
     67   425  fujiwara %endif
     68   425  fujiwara 
     69   368     niall %{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
     70   368     niall 
     71   368     niall %clean
     72   368     niall rm -rf $RPM_BUILD_ROOT
     73   368     niall 
     74   368     niall %if %(test -f /usr/sadm/install/scripts/i.manifest && echo 0 || echo 1)
     75   368     niall %iclass manifest -f i.manifest
     76   368     niall %endif
     77   368     niall 
     78   368     niall %post
     79   806      laca %restart_fmri icon-cache
     80   368     niall 
     81   368     niall %files
     82   368     niall %defattr (-, root, bin)
     83   368     niall %{_bindir}/*
     84   368     niall %dir %attr (0755, root, bin) %{_libdir}
     85  1053     niall %{_libdir}/time-slider-*
     86   368     niall %dir %attr (0755, root, sys) %{_datadir}
     87   368     niall %dir %attr (0755, root, other) %{_datadir}/applications
     88   590     niall %{_datadir}/applications/*.desktop
     89   368     niall %dir %attr (-, root, other) %{_datadir}/icons
     90   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor
     91   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
     92   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
     93   368     niall %{_datadir}/icons/hicolor/16x16/apps/time-slider-setup.png
     94   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
     95   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
     96   368     niall %{_datadir}/icons/hicolor/24x24/apps/time-slider-setup.png
     97   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
     98   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
     99   368     niall %{_datadir}/icons/hicolor/32x32/apps/time-slider-setup.png
    100   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor/36x36
    101   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor/36x36/apps
    102   368     niall %{_datadir}/icons/hicolor/36x36/apps/time-slider-setup.png
    103   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48
    104   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps
    105   368     niall %{_datadir}/icons/hicolor/48x48/apps/time-slider-setup.png
    106   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor/72x72
    107   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor/72x72/apps
    108   368     niall %{_datadir}/icons/hicolor/72x72/apps/time-slider-setup.png
    109   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor/96x96
    110   368     niall %dir %attr (-, root, other) %{_datadir}/icons/hicolor/96x96/apps
    111   368     niall %{_datadir}/icons/hicolor/96x96/apps/time-slider-setup.png
    112   368     niall %{_datadir}/time-slider/*
    113   368     niall 
    114   368     niall %files root
    115   368     niall %defattr (-, root, bin)
    116   368     niall %dir %attr (0755, root, sys) /var
    117   368     niall %dir %attr (0755, root, sys) /var/svc
    118   368     niall %dir %attr (0755, root, sys) /var/svc/manifest
    119   368     niall %dir %attr (0755, root, sys) /var/svc/manifest/application
    120   368     niall %class(manifest) %attr (0444, root, sys) /var/svc/manifest/application/time-slider.xml
    121   368     niall %attr (0555, root, bin) /lib/svc/method/time-slider
    122   368     niall 
    123   425  fujiwara %if %build_l10n
    124   425  fujiwara %files l10n
    125   425  fujiwara %defattr (-, root, other)
    126   425  fujiwara %dir %attr (0755, root, sys) %{_datadir}
    127   425  fujiwara %{_datadir}/locale/*
    128   425  fujiwara %endif
    129   425  fujiwara 
    130   368     niall %changelog
    131  1053     niall * Mon Nov 23 2009 - niall.power@sun.com
    132  1053     niall - Revert to previous version (0.2.10) until removed features
    133  1053     niall   reimplemented or ARC review approved. Backs out prev. commit
    134  1029     niall * Thu Nov 05 2009 - niall.power@sun.com
    135  1029     niall - Bumped version to 0.2.95
    136  1029     niall - Bumped python requirements to 2.6
    137  1029     niall - Obsoletes SUNWzfs-auto-snapshot from 0.2.95+
    138   891     niall * Fri Jul 10 2009 - niall.power@sun.com
    139   891     niall - Bump version to 0.2.10. D.O.O# 8667, 8454 & 8685
    140   806      laca * Fri Apr  3 2009 - laca@sun.com
    141   806      laca - use desktop-cache instead of postrun
    142   695     niall * Fri Feb 20 2009 - niall.power@sun.com
    143   695     niall - Bump to 0.2.6 tarball to incorporate updated l10n
    144   695     niall   from Takao Fujiwara. bugster 6807414
    145   695     niall - Dropped upstreamed -01-python-env.diff
    146   695     niall * Thu Feb 12 2009 - niall.power@sun.com
    147   666     niall - Add patch 01-python-env.diff to fully fix 6754650.
    148   666     niall   Upstreamed patch. Remainder of fix already in 0.2.5 tarball
    149   646     niall * Thu Feb 05 2009 - niall.power@sun.com
    150   646     niall - Bump to 0.2.5
    151   625  fujiwara - Add patch potfiles.diff to get GTK translations.
    152   625  fujiwara - Add patch g11n-i18n-ui.diff to show localized date.
    153   610     niall * Fri Jan 09 2009 - niall.power@sun.com
    154   610     niall - Bump to 0.2.3
    155   590     niall * Mon Dec 17 2008 - niall.power@sun.com
    156   590     niall - Bump to 0.2.2
    157   425  fujiwara * Mon Oct 20 2008 - takao.fujiwara@sun.com
    158   425  fujiwara - Bump to 0.1.2 with .po files. Add l10n packages.
    159   417     niall * Fri Oct 10 2008 - niall.power@sun.com
    160   417     niall - disable auto SMF enabelment in post install
    161   414     niall * Wed Oct 08 2008 - niall.power@sun.com
    162   414     niall - Bump to 0.1.1 Drop upstreamed g11n-i18n.diff
    163   403  fujiwara * Thu Oct 02 2008 - takao.fujiwara@su.com
    164   403  fujiwara - Add time-slider-01-g11n-i18n.diff
    165   368     niall * Wed Sep 18 2008 - niall.power@sun.com
    166   368     niall - Initial spec file created.
    167   368     niall 
    168