]>
Commit | Line | Data |
---|---|---|
9af65f35 ER |
1 | # |
2 | # Conditional build: | |
251e3eb6 | 3 | %bcond_without a11y # all accessibility themes (only core a11y themes otherwise) |
9af65f35 | 4 | |
2c8f6bfa | 5 | Summary: MATE Desktop themes |
251e3eb6 | 6 | Summary(pl.UTF-8): Motywy dla środowiska MATE Desktop |
2c8f6bfa | 7 | Name: mate-themes |
a9324151 | 8 | Version: 1.8.1 |
fc6c29e7 | 9 | Release: 1 |
2c8f6bfa ER |
10 | License: GPL v2+ |
11 | Group: Themes | |
fe472109 | 12 | Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz |
a9324151 | 13 | # Source0-md5: 5c348c11eb78c0ee0442ee429132d2c7 |
251e3eb6 | 14 | Patch0: %{name}-sh.patch |
2c8f6bfa | 15 | URL: http://mate-desktop.org/ |
fe472109 JP |
16 | BuildRequires: autoconf >= 2.53 |
17 | BuildRequires: automake >= 1:1.9 | |
251e3eb6 JB |
18 | BuildRequires: gdk-pixbuf2-devel >= 2.0.0 |
19 | BuildRequires: gettext-devel | |
20 | BuildRequires: gtk+2-devel >= 2.0.0 | |
99dfa2fa | 21 | BuildRequires: icon-naming-utils >= 0.8.7 |
251e3eb6 JB |
22 | BuildRequires: intltool >= 0.35.0 |
23 | BuildRequires: pkgconfig >= 1:0.19 | |
2c8f6bfa ER |
24 | BuildRequires: tar >= 1:1.22 |
25 | BuildRequires: xz | |
49f66d88 | 26 | Requires: gtk-update-icon-cache |
2c8f6bfa | 27 | Requires: gtk2-engines |
fc6c29e7 | 28 | Requires: gtk2-theme-engine-murrine >= 0.98 |
a11657db | 29 | Requires: mate-icon-theme >= 1.5 |
2c8f6bfa ER |
30 | BuildArch: noarch |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
b6552b33 ER |
34 | MATE Desktop themes: |
35 | ||
251e3eb6 JB |
36 | - AlaDelta: gtk2, marco |
37 | - Atlanta: marco | |
38 | - BlackMATE: cinnamon, gnome-shell, gtk2, gtk3, marco | |
39 | - BlueMenta: connamon, gtk2, gtk3, marco, unity, xfwm4 | |
40 | - Fog: marco | |
41 | - GreenLaguna: gtk2, gtk3, marco | |
42 | - Menta: cinnamon, gnome-shell, gtk2, gtk3, marco, unity, xfwm4 | |
fe472109 | 43 | - BlackMenta: marco |
b6552b33 | 44 | - Quid: ? (x-gnome-metatheme) |
251e3eb6 | 45 | - Shiny: gtk2, marco |
b6552b33 | 46 | - Simply: gtk2 |
251e3eb6 JB |
47 | - TraditionalGreen: gtk2, gtk3, marco |
48 | - TraditionalOk: gtk2, gtk3, marco, openbox, xfwm4 | |
49 | ||
50 | %description -l pl.UTF-8 | |
51 | Motywy dla środowiska MATE Desktop: | |
52 | ||
53 | - AlaDelta: gtk2, marco | |
54 | - Atlanta: marco | |
55 | - BlackMATE: cinnamon, gtk2, gtk3, marco | |
56 | - BlueMenta: connamon, gtk2, gtk3, marco, unity, xfwm4 | |
57 | - Fog: marco | |
58 | - GreenLaguna: gtk2, gtk3, marco | |
59 | - Menta: cinnamon, gtk2, gtk3, marco, unity, xfwm4 | |
fe472109 | 60 | - BlackMenta: marco |
251e3eb6 JB |
61 | - Quid: ? (x-gnome-metatheme) |
62 | - Shiny: gtk2, marco | |
63 | - Simply: gtk2 | |
64 | - TraditionalGreen: gtk2, gtk3, marco | |
65 | - TraditionalOk: gtk2, gtk3, marco, openbox, xfwm4 | |
2c8f6bfa | 66 | |
3685a078 ER |
67 | %package accessibility |
68 | Summary: Accessibility themes for MATE environment | |
251e3eb6 | 69 | Summary(pl.UTF-8): Motywy uprzystępniające dla środowiska MATE |
3685a078 ER |
70 | Group: Themes |
71 | Requires: %{name} = %{version}-%{release} | |
a11657db | 72 | Requires: mate-icon-theme >= 1.5 |
3685a078 ER |
73 | |
74 | %description accessibility | |
b6552b33 ER |
75 | Accessibility themes for MATE environment: |
76 | ||
251e3eb6 JB |
77 | - ContrastHigh: gtk2, gtk3, marco |
78 | - ContrastHighInverse: gtk2 | |
79 | - ContrastHighLargePrint: gtk2 | |
80 | - ContrastHighLargePrintInverse: gtk2 | |
81 | - ContrastLow: gtk2 | |
82 | - ContrastLowLargePrint: gtk2 | |
83 | - PrintLarge: gtk2 | |
84 | - Reverse: gtk2, marco | |
85 | ||
86 | %description accessibility -l pl.UTF-8 | |
87 | Motywy dla środowiska MATE o zwiększonej dostępności dla | |
88 | niepełnosprawnych: | |
89 | ||
90 | - ContrastHigh: gtk2, gtk3, marco | |
b6552b33 ER |
91 | - ContrastHighInverse: gtk2 |
92 | - ContrastHighLargePrint: gtk2 | |
93 | - ContrastHighLargePrintInverse: gtk2 | |
94 | - ContrastLow: gtk2 | |
95 | - ContrastLowLargePrint: gtk2 | |
96 | - PrintLarge: gtk2 | |
251e3eb6 | 97 | - Reverse: gtk2, marco |
3685a078 | 98 | |
2c8f6bfa ER |
99 | %prep |
100 | %setup -q | |
251e3eb6 | 101 | %patch0 -p1 |
2c8f6bfa ER |
102 | |
103 | %build | |
fe472109 JP |
104 | %{__aclocal} |
105 | %{__autoconf} | |
106 | %{__automake} | |
2c8f6bfa | 107 | %configure \ |
9af65f35 | 108 | %{__enable_disable a11y all-themes} \ |
2c8f6bfa | 109 | --enable-icon-mapping \ |
251e3eb6 | 110 | --disable-silent-rules |
2c8f6bfa | 111 | |
a11657db | 112 | %{__make} |
2c8f6bfa ER |
113 | |
114 | %install | |
115 | rm -rf $RPM_BUILD_ROOT | |
116 | %{__make} install \ | |
117 | INSTALL="install -p" \ | |
118 | DESTDIR=$RPM_BUILD_ROOT | |
119 | ||
120 | for dir in $RPM_BUILD_ROOT%{_iconsdir}/*/; do | |
121 | gtk-update-icon-cache -ft $dir | |
122 | done | |
123 | ||
124 | %find_lang %{name} | |
125 | ||
126 | %clean | |
127 | rm -rf $RPM_BUILD_ROOT | |
128 | ||
129 | %post | |
49f66d88 ER |
130 | %update_icon_cache Fog |
131 | %update_icon_cache Quid | |
2c8f6bfa ER |
132 | |
133 | %postun | |
134 | if [ $1 -eq 0 ]; then | |
49f66d88 ER |
135 | %update_icon_cache Fog |
136 | %update_icon_cache Quid | |
2c8f6bfa ER |
137 | fi |
138 | ||
2c8f6bfa ER |
139 | %files -f %{name}.lang |
140 | %defattr(644,root,root,755) | |
251e3eb6 | 141 | %doc AUTHORS ChangeLog README |
3685a078 | 142 | %{_datadir}/themes/AlaDelta |
3685a078 | 143 | %{_datadir}/themes/Atantla |
a11657db | 144 | %{_datadir}/themes/BlackMATE |
fe472109 | 145 | %{_datadir}/themes/BlackMenta |
251e3eb6 | 146 | %{_datadir}/themes/BlueMenta |
2c8f6bfa | 147 | %{_datadir}/themes/Fog |
a11657db ER |
148 | %{_datadir}/themes/GreenLaguna |
149 | %{_datadir}/themes/Menta | |
2c8f6bfa | 150 | %{_datadir}/themes/Quid |
2c8f6bfa ER |
151 | %{_datadir}/themes/Shiny |
152 | %{_datadir}/themes/Simply | |
a11657db | 153 | %{_datadir}/themes/TraditionalGreen |
2c8f6bfa | 154 | %{_datadir}/themes/TraditionalOk |
3685a078 ER |
155 | %{_iconsdir}/Fog |
156 | %{_iconsdir}/Quid | |
157 | %{_iconsdir}/mate/cursors | |
158 | ||
159 | %files accessibility | |
160 | %defattr(644,root,root,755) | |
161 | %{_datadir}/themes/ContrastHigh | |
162 | %{_datadir}/themes/ContrastHighInverse | |
2c8f6bfa ER |
163 | %{_datadir}/themes/ContrastHighLargePrint |
164 | %{_datadir}/themes/ContrastHighLargePrintInverse | |
165 | %{_datadir}/themes/ContrastLow | |
3685a078 | 166 | %{_datadir}/themes/ContrastLowLargePrint |
b6552b33 | 167 | %{_datadir}/themes/PrintLarge |
3685a078 | 168 | %{_datadir}/themes/Reverse |
2c8f6bfa | 169 | %{_iconsdir}/ContrastHigh |
3685a078 | 170 | %{_iconsdir}/ContrastHigh-SVG |
2c8f6bfa ER |
171 | %{_iconsdir}/ContrastHighInverse |
172 | %{_iconsdir}/ContrastHighLargePrint | |
2c8f6bfa | 173 | %{_iconsdir}/ContrastHighLargePrintInverse |
3685a078 | 174 | %{_iconsdir}/MateLargePrint |