18400
|
1 |
#
|
|
2 |
# spec file for package SUNWsun-gdm-themes
|
|
3 |
#
|
|
4 |
# includes module(s): sun-gdm-themes
|
|
5 |
#
|
|
6 |
# Copyright 2009 Sun Microsystems, Inc.
|
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
|
10 |
%define owner erwannc
|
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
%include base.inc
|
|
14 |
|
|
15 |
%use themes = sun-gdm-themes.spec
|
|
16 |
|
|
17 |
Name: SUNWsun-gdm-themes
|
|
18 |
Summary: Sun branded GNOME login manager themes
|
|
19 |
Version: %{themes.version}
|
|
20 |
SUNW_BaseDir: %{_basedir}
|
|
21 |
SUNW_Copyright: %{name}.copyright
|
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
23 |
|
|
24 |
%include default-depend.inc
|
|
25 |
BuildRequires: SUNWgtk2
|
|
26 |
BuildRequires: SUNWgtk2-devel
|
|
27 |
|
|
28 |
%if %build_l10n
|
|
29 |
%package l10n
|
|
30 |
Summary: %{summary} - l10n files
|
|
31 |
SUNW_BaseDir: %{_basedir}
|
|
32 |
%include default-depend.inc
|
|
33 |
Requires: %{name}
|
|
34 |
%endif
|
|
35 |
|
|
36 |
%prep
|
|
37 |
rm -rf %name-%version
|
|
38 |
mkdir %name-%version
|
|
39 |
|
|
40 |
mkdir %name-%version/%{base_arch}
|
|
41 |
%themes.prep -d %name-%version/%{base_arch}
|
|
42 |
|
|
43 |
%build
|
|
44 |
export PKG_CONFIG=/usr/bin/pkg-config
|
|
45 |
PKG_CONFIG_DISABLE_UNINSTALLED=
|
|
46 |
unset PKG_CONFIG_DISABLE_UNINSTALLED
|
|
47 |
|
|
48 |
%themes.build -d %name-%version/%{base_arch}
|
|
49 |
|
|
50 |
%install
|
|
51 |
rm -rf $RPM_BUILD_ROOT
|
|
52 |
|
|
53 |
%themes.install -d %name-%version/%{base_arch}
|
|
54 |
|
|
55 |
%if %build_l10n
|
|
56 |
%else
|
|
57 |
# REMOVE l10n FILES
|
|
58 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
59 |
%endif
|
|
60 |
|
|
61 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
62 |
|
|
63 |
%clean
|
|
64 |
rm -rf $RPM_BUILD_ROOT
|
|
65 |
|
|
66 |
|
|
67 |
%files
|
18444
|
68 |
%defattr (-, root, bin)
|
18400
|
69 |
%dir %attr (0755, root, sys) %{_datadir}
|
18431
|
70 |
%{_datadir}/gdm/themes/Sun-blueprint/*.png
|
|
71 |
%{_datadir}/gdm/themes/Sun-blueprint/sun-mercury.xml
|
|
72 |
%{_datadir}/gdm/themes/Sun-blueprint/GdmGreeterTheme.desktop
|
|
73 |
%{_datadir}/gdm/themes/Sun-blueprint/screenshot.jpg
|
|
74 |
%{_datadir}/gdm/themes/Sun-Nimbus/GdmGreeterTheme.desktop
|
|
75 |
%{_datadir}/gdm/themes/Sun-Nimbus/Sun-Nimbus.xml
|
|
76 |
%{_datadir}/gdm/themes/Sun-teal/*.png
|
|
77 |
%{_datadir}/gdm/themes/Sun-teal/GdmGreeterTheme.desktop
|
|
78 |
%{_datadir}/gdm/themes/Sun-teal/screenshot.jpg
|
|
79 |
%{_datadir}/gdm/themes/Sun-teal/sun-mercury.xml
|
|
80 |
%{_datadir}/gdm/themes/Sun-glass/*.png
|
|
81 |
%{_datadir}/gdm/themes/Sun-glass/screenshot.jpg
|
|
82 |
%{_datadir}/gdm/themes/Sun-glass/GdmGreeterTheme.desktop
|
|
83 |
%{_datadir}/gdm/themes/Sun-glass/sun-mercury.xml
|
|
84 |
%{_datadir}/gdm/themes/Sun-Nimbus/*.png
|
18400
|
85 |
|
|
86 |
%if %build_l10n
|
|
87 |
%files l10n
|
|
88 |
%defattr (-, root, bin)
|
|
89 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
90 |
%attr (-, root, other) %{_datadir}/locale
|
|
91 |
%endif
|
|
92 |
|
|
93 |
|
|
94 |
%changelog
|
|
95 |
* Thu Nov 19 2009 - [email protected]
|
|
96 |
- Fix directory permissions.
|
18431
|
97 |
* Thu Nov 26 2009 - [email protected]
|
|
98 |
- Fix directory permsissions, again.
|