]> git.pld-linux.org Git - packages/mate-themes.git/blob - mate-themes.spec
d0e13dadf8e88ad7a17af517d2d6652f64dbe6b1
[packages/mate-themes.git] / mate-themes.spec
1 #
2 # Conditional build:
3 %bcond_without  a11y    # all accessibility themes (only core a11y themes otherwise)
4
5 %define gtk3_mver       3.20
6 Summary:        MATE Desktop themes
7 Summary(pl.UTF-8):      Motywy dla środowiska MATE Desktop
8 Name:           mate-themes
9 Version:        3.20.5
10 Release:        1
11 License:        GPL v2+
12 Group:          Themes
13 Source0:        http://pub.mate-desktop.org/releases/themes/%{gtk3_mver}/%{name}-%{version}.tar.xz
14 # Source0-md5:  9c23641fd683371180d7a9acecb7261f
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 - Green-Submarine: cinnamon, gtk2, gtk3, marco
40 - Menta: cinnamon, gtk2, gtk3, marco, unity, xfwm4
41 - Shiny: marco
42 - TraditionalGreen: gtk2, gtk3, marco
43 - TraditionalOk: gtk2, gtk3, marco, openbox, xfwm4
44
45 %description -l pl.UTF-8
46 Motywy dla środowiska MATE Desktop:
47
48 - BlackMATE: cinnamon, gtk2, gtk3, marco, unity
49 - BlueMenta: cinnamon, gtk2, gtk3, marco, unity, xfwm4
50 - Blue-Submarine: cinnamon, gtk2, gtk3, marco
51 - Green-Submarine: cinnamon, gtk2, gtk3, marco
52 - Menta: cinnamon, gtk2, gtk3, marco, unity, xfwm4
53 - Shiny: marco
54 - TraditionalGreen: gtk2, gtk3, marco
55 - TraditionalOk: gtk2, gtk3, marco, openbox, xfwm4
56
57 %package accessibility
58 Summary:        Accessibility themes for MATE environment
59 Summary(pl.UTF-8):      Motywy uprzystępniające dla środowiska MATE
60 Group:          Themes
61 Requires:       %{name} = %{version}-%{release}
62 Requires:       mate-icon-theme >= 1.5
63
64 %description accessibility
65 Accessibility themes for MATE environment:
66
67 - ContrastHighInverse: gtk2, gtk3, marco
68
69 %description accessibility -l pl.UTF-8
70 Motywy dla środowiska MATE o zwiększonej dostępności dla
71 niepełnosprawnych:
72
73 - ContrastHighInverse: gtk2, gtk3, marco
74
75 %prep
76 %setup -q
77
78 %build
79 %{__aclocal}
80 %{__autoconf}
81 %{__automake}
82 %configure \
83         %{__enable_disable a11y all-themes} \
84         --enable-icon-mapping \
85         --disable-silent-rules
86
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91 %{__make} install \
92         INSTALL="install -p" \
93         DESTDIR=$RPM_BUILD_ROOT
94
95 for dir in $RPM_BUILD_ROOT%{_iconsdir}/*/; do
96         gtk-update-icon-cache -ft $dir
97 done
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %files
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog README
105 %{_datadir}/themes/BlackMATE
106 %{_datadir}/themes/BlueMenta
107 %{_datadir}/themes/Blue-Submarine
108 %{_datadir}/themes/Green-Submarine
109 %{_datadir}/themes/Menta
110 %{_datadir}/themes/Shiny
111 %{_datadir}/themes/TraditionalGreen
112 %{_datadir}/themes/TraditionalOk
113 %{_iconsdir}/mate/cursors
114
115 %files accessibility
116 %defattr(644,root,root,755)
117 %{_datadir}/themes/ContrastHighInverse
118 %{_iconsdir}/ContrastHigh
This page took 0.075324 seconds and 2 git commands to generate.