specs/SUNWos-welcome.spec
author yippi
Thu May 31 20:16:52 2012 +0000 (2012-05-31)
changeset 22481 1ff6784d9b6f
parent 22052 c7454116e3ab
child 22437 18800ab73cc4
permissions -rw-r--r--
2012-05-31 Brian Cameron <brian.cameron@oracle.com>

* base-specs/shared-mime-info.spec: Bump to 1.0.
* base-specs/nautilus.spec, base-specs/pulseaudio.spec,
base-specs/gnome-settings-daemon.spec, specs/SUNWdconf.spec:
Add patch comments.
* base-specs/gnome-panel.spec: Add --disable-telepathy-glib so
it does not build with this module we do not deliver.
     1 #
     2 # Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
     3 # This file and all modifications and additions to the pristine
     4 # package are under the same license as the package itself.
     5 #
     6 # Owner: laca
     7 #
     8 %include Solaris.inc
     9 
    10 %define owner laca
    11 
    12 Name:                SUNWos-welcome
    13 IPS_package_name:    release/os-welcome
    14 Meta(info.classification): %{classification_prefix}:System/Text Tools
    15 Summary:             Oracle Solaris Welcome Pack
    16 Version:             1.1.8
    17 Source:              os-welcome-%{version}.tar.bz2
    18 License:             cr_Oracle
    19 SUNW_BaseDir:        /
    20 SUNW_Copyright:      %{name}.copyright
    21 BuildRoot:           %{_tmppath}/%{name}-%{version}-build
    22 %include default-depend.inc
    23 %include desktop-incorporation.inc
    24 BuildRequires: SUNWgnome-common-devel
    25 BuildRequires: SUNWdesktop-cache
    26 Requires: SUNWPython26
    27 
    28 %prep
    29 %setup -q -n os-welcome-%{version}
    30 
    31 rm -rf $RPM_BUILD_ROOT
    32 make install DESTDIR=$RPM_BUILD_ROOT
    33 
    34 # Most .mo files include the translations of .desktop only.
    35 # We do not want additional packages at the moment.
    36 ( \
    37   cd $RPM_BUILD_ROOT/%_datadir/locale; \
    38   /bin/ls | grep -v '^de$' | grep -v '^es$' | grep -v '^fr$' | grep -v '^it$' |\
    39   grep -v '^ja$' | grep -v '^ko$' | grep -v '^pt_BR$' | grep -v '^ru$' |\
    40   grep -v '^ar$' | grep -v '^ca$' | grep -v '^cs$' | grep -v '^el$' |\
    41   grep -v '^he$' | grep -v '^hu$' |\
    42   grep -v '^id$' | grep -v '^nl$' | grep -v '^pl$' | grep -v '^sk$' |\
    43   grep -v '^sv$' | grep -v '^zh_CN$' | grep -v '^zh_HK$' | grep -v '^zh_TW$' |\
    44   xargs /bin/rm -r; \
    45 )
    46 
    47 
    48 %files
    49 %defattr (-, root, bin)
    50 %dir %attr (0755, root, sys) %{_basedir}
    51 %dir %attr (0755, root, bin) %{_bindir}
    52 %{_bindir}/os-about
    53 %{_bindir}/os-next-steps
    54 %dir %attr (0755, root, bin) %{_libdir}
    55 %{_libdir}/os-welcome
    56 %dir %attr (0755, root, sys) %{_datadir}
    57 %dir %attr (0755, root, other) %{_datadir}/applications
    58 %{_datadir}/applications/*.desktop
    59 %dir %attr (0755, root, other) %{_datadir}/doc
    60 %{_datadir}/doc/os-welcome/html/C
    61 %{_datadir}/doc/os-welcome/html/index.html
    62 %dir %attr (0755, root, other) %{_datadir}/pixmaps
    63 %{_datadir}/pixmaps/*.png
    64 %dir %attr (0755, root, bin) %{_datadir}/os-about
    65 %{_datadir}/os-about/*.png
    66 %{_datadir}/os-about/*.jpg
    67 
    68 %dir %attr (0755, root, other) %{_datadir}/locale
    69 
    70 %{_datadir}/doc/os-welcome/html/ar
    71 %dir %attr (0755, root, other) %{_datadir}/locale/ar
    72 %dir %attr (0755, root, other) %{_datadir}/locale/ar/LC_MESSAGES
    73 %{_datadir}/locale/ar/LC_MESSAGES/*.mo
    74 
    75 %{_datadir}/doc/os-welcome/html/ca
    76 %dir %attr (0755, root, other) %{_datadir}/locale/ca
    77 %dir %attr (0755, root, other) %{_datadir}/locale/ca/LC_MESSAGES
    78 %{_datadir}/locale/ca/LC_MESSAGES/*.mo
    79 
    80 %{_datadir}/doc/os-welcome/html/cs
    81 %dir %attr (0755, root, other) %{_datadir}/locale/cs
    82 %dir %attr (0755, root, other) %{_datadir}/locale/cs/LC_MESSAGES
    83 %{_datadir}/locale/cs/LC_MESSAGES/*.mo
    84 
    85 %{_datadir}/doc/os-welcome/html/de
    86 %dir %attr (0755, root, other) %{_datadir}/locale/de
    87 %dir %attr (0755, root, other) %{_datadir}/locale/de/LC_MESSAGES
    88 %{_datadir}/locale/de/LC_MESSAGES/*.mo
    89 
    90 %{_datadir}/doc/os-welcome/html/el
    91 %dir %attr (0755, root, other) %{_datadir}/locale/el
    92 %dir %attr (0755, root, other) %{_datadir}/locale/el/LC_MESSAGES
    93 %{_datadir}/locale/el/LC_MESSAGES/*.mo
    94 
    95 %{_datadir}/doc/os-welcome/html/es
    96 %dir %attr (0755, root, other) %{_datadir}/locale/es
    97 %dir %attr (0755, root, other) %{_datadir}/locale/es/LC_MESSAGES
    98 %{_datadir}/locale/es/LC_MESSAGES/*.mo
    99 
   100 %{_datadir}/doc/os-welcome/html/fr
   101 %dir %attr (0755, root, other) %{_datadir}/locale/fr
   102 %dir %attr (0755, root, other) %{_datadir}/locale/fr/LC_MESSAGES
   103 %{_datadir}/locale/fr/LC_MESSAGES/*.mo
   104 
   105 %{_datadir}/doc/os-welcome/html/he
   106 %dir %attr (0755, root, other) %{_datadir}/locale/he
   107 %dir %attr (0755, root, other) %{_datadir}/locale/he/LC_MESSAGES
   108 %{_datadir}/locale/he/LC_MESSAGES/*.mo
   109 
   110 %{_datadir}/doc/os-welcome/html/hu
   111 %dir %attr (0755, root, other) %{_datadir}/locale/hu
   112 %dir %attr (0755, root, other) %{_datadir}/locale/hu/LC_MESSAGES
   113 %{_datadir}/locale/hu/LC_MESSAGES/*.mo
   114 
   115 %{_datadir}/doc/os-welcome/html/id
   116 %dir %attr (0755, root, other) %{_datadir}/locale/id
   117 %dir %attr (0755, root, other) %{_datadir}/locale/id/LC_MESSAGES
   118 %{_datadir}/locale/id/LC_MESSAGES/*.mo
   119 
   120 %{_datadir}/doc/os-welcome/html/it
   121 %dir %attr (0755, root, other) %{_datadir}/locale/it
   122 %dir %attr (0755, root, other) %{_datadir}/locale/it/LC_MESSAGES
   123 %{_datadir}/locale/it/LC_MESSAGES/*.mo
   124 
   125 %{_datadir}/doc/os-welcome/html/ja
   126 %dir %attr (0755, root, other) %{_datadir}/locale/ja
   127 %dir %attr (0755, root, other) %{_datadir}/locale/ja/LC_MESSAGES
   128 %{_datadir}/locale/ja/LC_MESSAGES/*.mo
   129 
   130 %{_datadir}/doc/os-welcome/html/ko
   131 %dir %attr (0755, root, other) %{_datadir}/locale/ko
   132 %dir %attr (0755, root, other) %{_datadir}/locale/ko/LC_MESSAGES
   133 %{_datadir}/locale/ko/LC_MESSAGES/*.mo
   134 
   135 %{_datadir}/doc/os-welcome/html/nl
   136 %dir %attr (0755, root, other) %{_datadir}/locale/nl
   137 %dir %attr (0755, root, other) %{_datadir}/locale/nl/LC_MESSAGES
   138 %{_datadir}/locale/nl/LC_MESSAGES/*.mo
   139 
   140 %{_datadir}/doc/os-welcome/html/pl
   141 %dir %attr (0755, root, other) %{_datadir}/locale/pl
   142 %dir %attr (0755, root, other) %{_datadir}/locale/pl/LC_MESSAGES
   143 %{_datadir}/locale/pl/LC_MESSAGES/*.mo
   144 
   145 %{_datadir}/doc/os-welcome/html/pt_BR
   146 %dir %attr (0755, root, other) %{_datadir}/locale/pt_BR
   147 %dir %attr (0755, root, other) %{_datadir}/locale/pt_BR/LC_MESSAGES
   148 %{_datadir}/locale/pt_BR/LC_MESSAGES/*.mo
   149 
   150 %{_datadir}/doc/os-welcome/html/ru
   151 %dir %attr (0755, root, other) %{_datadir}/locale/ru
   152 %dir %attr (0755, root, other) %{_datadir}/locale/ru/LC_MESSAGES
   153 %{_datadir}/locale/ru/LC_MESSAGES/*.mo
   154 
   155 %{_datadir}/doc/os-welcome/html/sk
   156 %dir %attr (0755, root, other) %{_datadir}/locale/sk
   157 %dir %attr (0755, root, other) %{_datadir}/locale/sk/LC_MESSAGES
   158 %{_datadir}/locale/sk/LC_MESSAGES/*.mo
   159 
   160 %{_datadir}/doc/os-welcome/html/sv
   161 %dir %attr (0755, root, other) %{_datadir}/locale/sv
   162 %dir %attr (0755, root, other) %{_datadir}/locale/sv/LC_MESSAGES
   163 %{_datadir}/locale/sv/LC_MESSAGES/*.mo
   164 
   165 %{_datadir}/doc/os-welcome/html/zh_CN
   166 %dir %attr (0755, root, other) %{_datadir}/locale/zh_CN
   167 %dir %attr (0755, root, other) %{_datadir}/locale/zh_CN/LC_MESSAGES
   168 %{_datadir}/locale/zh_CN/LC_MESSAGES/*.mo
   169 
   170 %{_datadir}/doc/os-welcome/html/zh_HK
   171 %dir %attr (0755, root, other) %{_datadir}/locale/zh_HK
   172 %dir %attr (0755, root, other) %{_datadir}/locale/zh_HK/LC_MESSAGES
   173 %{_datadir}/locale/zh_HK/LC_MESSAGES/*.mo
   174 
   175 %{_datadir}/doc/os-welcome/html/zh_TW
   176 %dir %attr (0755, root, other) %{_datadir}/locale/zh_TW
   177 %dir %attr (0755, root, other) %{_datadir}/locale/zh_TW/LC_MESSAGES
   178 %{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo
   179 
   180 %attr (0755, root, sys) %dir %{_sysconfdir}
   181 %attr (0755, root, sys) %dir %{_sysconfdir}/xdg
   182 %attr (0755, root, sys) %dir %{_sysconfdir}/xdg/autostart
   183 %attr (-, root, sys) %{_sysconfdir}/xdg/autostart/*
   184 
   185 %changelog
   186 * Thu Aug 11 2011 - glynn.foster@oracle.com
   187 - Bump to 1.1.8, includes more l10n
   188 * Thu Jun 23 2011 - glynn.foster@oracle.com
   189 - Bump to 1.1.6, including l10ns
   190 * Mon Jun 20 2011 - glynn.foster@oracle.com
   191 - Bump to 1.1.5
   192 * Mon May 09 2011 - glynn.foster@oracle.com
   193 - Bump to 1.1.4, fixes what's new link
   194 * Fri Apr 29 2011 - glynn.foster@oracle.com
   195 - Bump to 1.1.3, which removes registration utility
   196   and updates the branding.
   197 * Fri Jan 21 2011 - glynn.foster@oracle.com
   198 - Bump to 1.1.2
   199 * Fri Oct 15 2010 - glynn.foster@oracle.com
   200 - Bump to 1.0.9
   201 * Thu Oct 14 2010 - glynn.foster@oracle.com
   202 - Bump to 1.0.8
   203 * Mon Oct 05 2010 - glynn.foster@sun.com
   204 - Bump to 1.0.7
   205 * Fri Oct 01 2010 - glynn.foster@sun.com
   206 - Bump to 1.0.6
   207 * Thu Aug 26 2010 - glynn.foster@sun.com
   208 - Bump to 1.0.3
   209 * Wed Aug 25 2010 - glynn.foster@sun.com
   210 - Bump to 1.0.2
   211 * Mon Aug 23 2010 - glynn.foster@sun.com
   212 - Bump, and fix so it builds
   213 * Thu Aug 19 2010 - glynn.foster@sun.com
   214 - New module, 1.0.0