]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_without a11y # all accessibility themes (only core a11y themes otherwise) | |
4 | ||
5 | %define gtk3_mver 3.18 | |
6 | Summary: MATE Desktop themes | |
7 | Summary(pl.UTF-8): Motywy dla środowiska MATE Desktop | |
8 | Name: mate-themes | |
9 | Version: 1.12.2 | |
10 | Release: 1 | |
11 | License: GPL v2+ | |
12 | Group: Themes | |
13 | Source0: http://pub.mate-desktop.org/releases/1.12/%{name}-gtk%{gtk3_mver}-%{version}.tar.xz | |
14 | # Source0-md5: 457749603a9affc1ae6dada0a095f193 | |
15 | URL: http://mate-desktop.org/ | |
16 | BuildRequires: autoconf >= 2.53 | |
17 | BuildRequires: automake >= 1:1.9 | |
18 | BuildRequires: gdk-pixbuf2-devel >= 2.0.0 | |
19 | BuildRequires: gettext-tools | |
20 | BuildRequires: gtk+2-devel >= 2.0.0 | |
21 | BuildRequires: icon-naming-utils >= 0.8.7 | |
22 | BuildRequires: intltool >= 0.35.0 | |
23 | BuildRequires: pkgconfig >= 1:0.19 | |
24 | BuildRequires: tar >= 1:1.22 | |
25 | BuildRequires: xz | |
26 | Requires: gtk-update-icon-cache | |
27 | Requires: gtk2-engines | |
28 | Requires: gtk2-theme-engine-murrine >= 0.98 | |
29 | Requires: mate-icon-theme >= 1.5 | |
30 | BuildArch: noarch | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | MATE Desktop themes: | |
35 | ||
36 | - BlackMATE: cinnamon, gtk2, gtk3, marco, unity | |
37 | - BlueMenta: cinnamon, gtk2, gtk3, marco, unity, xfwm4 | |
38 | - Blue-Submarine: cinnamon, gtk2, gtk3, marco | |
39 | - GreenLaguna: gtk2, gtk3, marco, unity | |
40 | - Green-Submarine: cinnamon, gtk2, gtk3, marco | |
41 | - Menta: cinnamon, gtk2, gtk3, marco, unity, xfwm4 | |
42 | - Shiny: marco | |
43 | - TraditionalGreen: gtk2, gtk3, marco | |
44 | - TraditionalOk: gtk2, gtk3, marco, openbox, xfwm4 | |
45 | - TraditionalOkTest: gtk2, gtk3, marco | |
46 | ||
47 | %description -l pl.UTF-8 | |
48 | Motywy dla środowiska MATE Desktop: | |
49 | ||
50 | - BlackMATE: cinnamon, gtk2, gtk3, marco, unity | |
51 | - BlueMenta: cinnamon, gtk2, gtk3, marco, unity, xfwm4 | |
52 | - Blue-Submarine: cinnamon, gtk2, gtk3, marco | |
53 | - GreenLaguna: gtk2, gtk3, marco, unity | |
54 | - Green-Submarine: cinnamon, gtk2, gtk3, marco | |
55 | - Menta: cinnamon, gtk2, gtk3, marco, unity, xfwm4 | |
56 | - Shiny: marco | |
57 | - TraditionalGreen: gtk2, gtk3, marco | |
58 | - TraditionalOk: gtk2, gtk3, marco, openbox, xfwm4 | |
59 | - TraditionalOkTest: gtk2, gtk3, marco | |
60 | ||
61 | %package accessibility | |
62 | Summary: Accessibility themes for MATE environment | |
63 | Summary(pl.UTF-8): Motywy uprzystępniające dla środowiska MATE | |
64 | Group: Themes | |
65 | Requires: %{name} = %{version}-%{release} | |
66 | Requires: mate-icon-theme >= 1.5 | |
67 | ||
68 | %description accessibility | |
69 | Accessibility themes for MATE environment: | |
70 | ||
71 | - ContrastHigh: gtk2, gtk3, marco | |
72 | - ContrastHighInverse: gtk2, gtk3, marco | |
73 | ||
74 | %description accessibility -l pl.UTF-8 | |
75 | Motywy dla środowiska MATE o zwiększonej dostępności dla | |
76 | niepełnosprawnych: | |
77 | ||
78 | - ContrastHigh: gtk2, gtk3, marco | |
79 | - ContrastHighInverse: gtk2, gtk3, marco | |
80 | ||
81 | %prep | |
82 | %setup -q -n %{name}-gtk%{gtk3_mver}-%{version} | |
83 | ||
84 | %build | |
85 | %{__aclocal} | |
86 | %{__autoconf} | |
87 | %{__automake} | |
88 | %configure \ | |
89 | %{__enable_disable a11y all-themes} \ | |
90 | --enable-icon-mapping \ | |
91 | --disable-silent-rules | |
92 | ||
93 | %{__make} | |
94 | ||
95 | %install | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | %{__make} install \ | |
98 | INSTALL="install -p" \ | |
99 | DESTDIR=$RPM_BUILD_ROOT | |
100 | ||
101 | for dir in $RPM_BUILD_ROOT%{_iconsdir}/*/; do | |
102 | gtk-update-icon-cache -ft $dir | |
103 | done | |
104 | ||
105 | %find_lang %{name} | |
106 | ||
107 | %clean | |
108 | rm -rf $RPM_BUILD_ROOT | |
109 | ||
110 | %files -f %{name}.lang | |
111 | %defattr(644,root,root,755) | |
112 | %doc AUTHORS ChangeLog README | |
113 | %{_datadir}/themes/BlackMATE | |
114 | %{_datadir}/themes/BlueMenta | |
115 | %{_datadir}/themes/Blue-Submarine | |
116 | %{_datadir}/themes/GreenLaguna | |
117 | %{_datadir}/themes/Green-Submarine | |
118 | %{_datadir}/themes/Menta | |
119 | %{_datadir}/themes/Shiny | |
120 | %{_datadir}/themes/TraditionalGreen | |
121 | %{_datadir}/themes/TraditionalOk | |
122 | %{_datadir}/themes/TraditionalOkTest | |
123 | %{_iconsdir}/mate/cursors | |
124 | ||
125 | %files accessibility | |
126 | %defattr(644,root,root,755) | |
127 | %{_datadir}/themes/ContrastHigh | |
128 | %{_datadir}/themes/ContrastHighInverse | |
129 | %{_iconsdir}/ContrastHigh |