18400
|
1 |
#
|
|
2 |
# spec file for package SUNWblueprint
|
|
3 |
#
|
|
4 |
# includes module(s): blueprint
|
|
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 |
|
|
14 |
%ifarch amd64 sparcv9
|
|
15 |
%include arch64.inc
|
|
16 |
%use blueprint_64 = blueprint.spec
|
|
17 |
%endif
|
|
18 |
|
|
19 |
%include base.inc
|
|
20 |
|
|
21 |
%use blueprint = blueprint.spec
|
|
22 |
|
|
23 |
Name: SUNWblueprint
|
|
24 |
Summary: Engine for GTK2 Blue Print Theme
|
|
25 |
Version: %{blueprint.version}
|
|
26 |
SUNW_BaseDir: %{_basedir}
|
|
27 |
SUNW_Copyright: %{name}.copyright
|
|
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
29 |
|
|
30 |
%include default-depend.inc
|
|
31 |
BuildRequires: SUNWgtk2
|
|
32 |
BuildRequires: SUNWgtk2-devel
|
|
33 |
BuildRequires: SUNWicon-naming-utils
|
|
34 |
|
|
35 |
%if %build_l10n
|
|
36 |
%package l10n
|
|
37 |
Summary: %{summary} - l10n files
|
|
38 |
SUNW_BaseDir: %{_basedir}
|
|
39 |
%include default-depend.inc
|
|
40 |
Requires: %{name}
|
|
41 |
%endif
|
|
42 |
|
|
43 |
%prep
|
|
44 |
rm -rf %name-%version
|
|
45 |
mkdir %name-%version
|
|
46 |
|
|
47 |
%ifarch amd64 sparcv9
|
|
48 |
mkdir %name-%version/%_arch64
|
|
49 |
%blueprint_64.prep -d %name-%version/%_arch64
|
|
50 |
%endif
|
|
51 |
|
|
52 |
mkdir %name-%version/%{base_arch}
|
|
53 |
%blueprint.prep -d %name-%version/%{base_arch}
|
|
54 |
|
|
55 |
%build
|
|
56 |
export PKG_CONFIG=/usr/bin/pkg-config
|
|
57 |
PKG_CONFIG_DISABLE_UNINSTALLED=
|
|
58 |
unset PKG_CONFIG_DISABLE_UNINSTALLED
|
|
59 |
|
|
60 |
%ifarch amd64 sparcv9
|
|
61 |
%blueprint_64.build -d %name-%version/%_arch64
|
|
62 |
%endif
|
|
63 |
|
|
64 |
%blueprint.build -d %name-%version/%{base_arch}
|
|
65 |
|
|
66 |
%install
|
|
67 |
rm -rf $RPM_BUILD_ROOT
|
|
68 |
|
|
69 |
%ifarch amd64 sparcv9
|
|
70 |
%blueprint_64.install -d %name-%version/%_arch64
|
|
71 |
%endif
|
|
72 |
|
|
73 |
%blueprint.install -d %name-%version/%{base_arch}
|
|
74 |
|
|
75 |
%if %build_l10n
|
|
76 |
%else
|
|
77 |
# REMOVE l10n FILES
|
|
78 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
79 |
%endif
|
|
80 |
|
|
81 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
82 |
|
|
83 |
%clean
|
|
84 |
rm -rf $RPM_BUILD_ROOT
|
|
85 |
|
|
86 |
|
|
87 |
%files
|
|
88 |
%defattr(-, root,bin)
|
|
89 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
90 |
%dir %attr (0755, root, other) %{_datadir}/icons
|
|
91 |
%dir %attr (0755, root, other) %{_datadir}/icons/blueprint
|
|
92 |
%dir %attr (0755, root, other) %{_datadir}/icons/blueprint/48x48
|
|
93 |
%dir %attr (0755, root, other) %{_datadir}/icons/blueprint/48x48/apps
|
|
94 |
%{_datadir}/icons/blueprint/*/apps/*.png
|
|
95 |
%{_datadir}/icons/blueprint/stock/*/*.png
|
|
96 |
%{_datadir}/icons/blueprint/index.theme
|
|
97 |
%{_datadir}/icons/blueprint/*/stock/generic/stock_timezone.png
|
|
98 |
%{_datadir}/icons/blueprint/*/stock/generic/config-language.png
|
|
99 |
%{_datadir}/icons/blueprint/*/filesystems/*.png
|
|
100 |
%{_datadir}/icons/blueprint/*/filesystems/*.icon
|
|
101 |
%{_datadir}/icons/blueprint/*/mimetypes/*.png
|
|
102 |
%{_datadir}/icons/blueprint/*/devices/*.png
|
|
103 |
%{_datadir}/icons/blueprint/*/emblems/*.png
|
|
104 |
%{_datadir}/icons/blueprint/*/emblems/*.icon
|
|
105 |
%{_libdir}/gtk-2.0/*/engines/*.so
|
|
106 |
%ifarch amd64 sparcv9
|
|
107 |
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
|
|
108 |
%{_libdir}/%{_arch64}/gtk-*/2.*/engines/*
|
|
109 |
%endif
|
|
110 |
%{_datadir}/themes/*
|
|
111 |
%dir %attr (0755, root, other) %{_datadir}/pixmaps
|
|
112 |
%{_datadir}/pixmaps/*
|
|
113 |
|
|
114 |
%{_defaultdocdir}/blueprint-engine/ChangeLog
|
|
115 |
%{_defaultdocdir}/blueprint-engine/AUTHORS
|
|
116 |
%{_defaultdocdir}/blueprint-engine/COPYING
|
|
117 |
%{_defaultdocdir}/blueprint-engine/README
|
|
118 |
%{_defaultdocdir}/blueprint-engine/NEWS
|
|
119 |
|
|
120 |
%if %build_l10n
|
|
121 |
%files l10n
|
|
122 |
%defattr (-, root, bin)
|
|
123 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
124 |
%attr (-, root, other) %{_datadir}/locale
|
|
125 |
%endif
|
|
126 |
|
|
127 |
%changelog
|
|
128 |
* Fri Nov 20 2009 - [email protected]
|
|
129 |
- Add %changelog, fix directory permissions.
|