]>
Commit | Line | Data |
---|---|---|
2c8f6bfa ER |
1 | Summary: MATE Desktop themes |
2 | Name: mate-themes | |
99dfa2fa | 3 | Version: 1.5.2 |
b6552b33 | 4 | Release: 0.6 |
2c8f6bfa ER |
5 | License: GPL v2+ |
6 | Group: Themes | |
7 | Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz | |
99dfa2fa | 8 | # Source0-md5: 81402f9bfaf482224502d8965b79da52 |
2c8f6bfa | 9 | URL: http://mate-desktop.org/ |
a11657db | 10 | BuildRequires: gtk2-engines |
99dfa2fa | 11 | BuildRequires: icon-naming-utils >= 0.8.7 |
2c8f6bfa ER |
12 | BuildRequires: mate-common |
13 | BuildRequires: mate-doc-utils | |
14 | BuildRequires: mate-icon-theme-devel | |
2c8f6bfa ER |
15 | BuildRequires: tar >= 1:1.22 |
16 | BuildRequires: xz | |
17 | Requires: gtk2-engines | |
18 | Requires: gtk2-theme-engine-murrine | |
a11657db | 19 | Requires: mate-icon-theme >= 1.5 |
2c8f6bfa ER |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
b6552b33 ER |
24 | MATE Desktop themes: |
25 | ||
26 | - AlaDelta: gtk2, metacity | |
27 | - Aldabra: gtk2, gtk3, metacity | |
28 | - Atlanta: metacity | |
29 | - BlackMATE: cinnamon, gnome-shell, gtk2, gtk3, metacity | |
30 | - Fog: metacity | |
31 | - GreenLaguna: gtk2, gtk3, metacity | |
32 | - Menta: cinnamon, gnome-shell, gtk2, gtk3, metacity, unity, xfwm4 | |
33 | - Menta-Black: metacity | |
34 | - Quid: ? (x-gnome-metatheme) | |
35 | - Shiny: gtk2, metacity | |
36 | - Simply: gtk2 | |
37 | - TraditionalGreen: gtk2, gtk3, metacity | |
38 | - TraditionalOk: gtk2, gtk3, metacity, openbox, xfwm4 | |
2c8f6bfa | 39 | |
3685a078 ER |
40 | %package accessibility |
41 | Summary: Accessibility themes for MATE environment | |
42 | Group: Themes | |
43 | Requires: %{name} = %{version}-%{release} | |
a11657db | 44 | Requires: mate-icon-theme >= 1.5 |
3685a078 ER |
45 | |
46 | %description accessibility | |
b6552b33 ER |
47 | Accessibility themes for MATE environment: |
48 | ||
49 | - ContrastHigh: gtk2, gtk3, metacity | |
50 | - ContrastHighInverse: gtk2 | |
51 | - ContrastHighLargePrint: gtk2 | |
52 | - ContrastHighLargePrintInverse: gtk2 | |
53 | - ContrastLow: gtk2 | |
54 | - ContrastLowLargePrint: gtk2 | |
55 | - PrintLarge: gtk2 | |
56 | - Reverse: gtk2, metacity | |
3685a078 | 57 | |
2c8f6bfa ER |
58 | %prep |
59 | %setup -q | |
60 | ||
61 | %build | |
62 | NOCONFIGURE=1 ./autogen.sh | |
63 | %configure \ | |
a11657db | 64 | --disable-silent-rules \ |
2c8f6bfa ER |
65 | --enable-icon-mapping \ |
66 | ||
a11657db | 67 | %{__make} |
2c8f6bfa ER |
68 | |
69 | %install | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | %{__make} install \ | |
72 | INSTALL="install -p" \ | |
73 | DESTDIR=$RPM_BUILD_ROOT | |
74 | ||
75 | for dir in $RPM_BUILD_ROOT%{_iconsdir}/*/; do | |
76 | gtk-update-icon-cache -ft $dir | |
77 | done | |
78 | ||
79 | %find_lang %{name} | |
80 | ||
81 | %clean | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %post | |
85 | for icon_theme in \ | |
86 | Fog PrintLarge Quid Reverse Shiny Simply TraditionalOk \ | |
87 | ContrastHighLargePrint ContrastHighLargePrintInverse \ | |
88 | ContrastLow ContrastHigh ContrastHighInverse Aldabra ; | |
89 | do | |
90 | /bin/touch --no-create %{_datadir}/icons/${icon_theme} | |
91 | done | |
92 | ||
93 | %postun | |
94 | if [ $1 -eq 0 ]; then | |
95 | for icon_theme in \ | |
96 | Fog PrintLarge Quid Reverse Shiny Simply TraditionalOk \ | |
97 | ContrastHighLargePrint ContrastHighLargePrintInverse \ | |
98 | ContrastLow ContrastHigh ContrastHighInverse Aldabra; do | |
99 | /bin/touch --no-create %{_datadir}/icons/${icon_theme} | |
100 | %{_bindir}/gtk-update-icon-cache %{_datadir}/icons/${icon_theme} | |
101 | done | |
102 | fi | |
103 | ||
104 | %posttrans | |
105 | for icon_theme in \ | |
106 | Fog PrintLarge Quid Reverse Shiny Simply TraditionalOk \ | |
107 | ContrastHighLargePrint ContrastHighLargePrintInverse \ | |
108 | ContrastLow ContrastHigh ContrastHighInverse Aldabra; do | |
109 | %{_bindir}/gtk-update-icon-cache %{_datadir}/icons/${icon_theme} | |
110 | done | |
111 | exit 0 | |
112 | ||
113 | %files -f %{name}.lang | |
114 | %defattr(644,root,root,755) | |
115 | %doc AUTHORS COPYING README | |
3685a078 ER |
116 | %{_datadir}/themes/AlaDelta |
117 | %{_datadir}/themes/Aldabra | |
118 | %{_datadir}/themes/Atantla | |
a11657db | 119 | %{_datadir}/themes/BlackMATE |
2c8f6bfa | 120 | %{_datadir}/themes/Fog |
a11657db ER |
121 | %{_datadir}/themes/GreenLaguna |
122 | %{_datadir}/themes/Menta | |
123 | %{_datadir}/themes/Menta-Black | |
2c8f6bfa | 124 | %{_datadir}/themes/Quid |
2c8f6bfa ER |
125 | %{_datadir}/themes/Shiny |
126 | %{_datadir}/themes/Simply | |
a11657db | 127 | %{_datadir}/themes/TraditionalGreen |
2c8f6bfa | 128 | %{_datadir}/themes/TraditionalOk |
3685a078 ER |
129 | %{_iconsdir}/Fog |
130 | %{_iconsdir}/Quid | |
131 | %{_iconsdir}/mate/cursors | |
132 | ||
133 | %files accessibility | |
134 | %defattr(644,root,root,755) | |
135 | %{_datadir}/themes/ContrastHigh | |
136 | %{_datadir}/themes/ContrastHighInverse | |
2c8f6bfa ER |
137 | %{_datadir}/themes/ContrastHighLargePrint |
138 | %{_datadir}/themes/ContrastHighLargePrintInverse | |
139 | %{_datadir}/themes/ContrastLow | |
3685a078 | 140 | %{_datadir}/themes/ContrastLowLargePrint |
b6552b33 | 141 | %{_datadir}/themes/PrintLarge |
3685a078 | 142 | %{_datadir}/themes/Reverse |
2c8f6bfa | 143 | %{_iconsdir}/ContrastHigh |
3685a078 | 144 | %{_iconsdir}/ContrastHigh-SVG |
2c8f6bfa ER |
145 | %{_iconsdir}/ContrastHighInverse |
146 | %{_iconsdir}/ContrastHighLargePrint | |
2c8f6bfa | 147 | %{_iconsdir}/ContrastHighLargePrintInverse |
3685a078 | 148 | %{_iconsdir}/MateLargePrint |