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