]>
Commit | Line | Data |
---|---|---|
d1ce2183 ER |
1 | # TODO |
2 | # - does accessibility themes require base package? | |
daf5dcdd AF |
3 | Summary: Default themes for GNOME environment |
4 | Summary(pl.UTF-8): Domyślne motywy dla środowiska GNOME | |
5 | Name: gnome-themes-standard | |
25401820 MB |
6 | Version: 3.22.3 |
7 | Release: 1 | |
67a534d2 | 8 | License: LGPL v2.1+ |
daf5dcdd | 9 | Group: Themes |
237c2369 | 10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-themes-standard/3.22/%{name}-%{version}.tar.xz |
25401820 | 11 | # Source0-md5: b51c362b157b6407303d44f93c31ee11 |
daf5dcdd AF |
12 | URL: http://www.gnome.org/ |
13 | BuildRequires: autoconf >= 2.53 | |
14 | BuildRequires: automake >= 1:1.9 | |
ababe728 | 15 | BuildRequires: cairo-devel |
67a534d2 | 16 | BuildRequires: gdk-pixbuf2-devel >= 2.0 |
fcc2d14b | 17 | BuildRequires: gettext-tools |
13b6c527 | 18 | BuildRequires: gtk+2-devel >= 2:2.24.15 |
ababe728 | 19 | BuildRequires: gtk+3-devel >= 3.10.0 |
4832785a | 20 | BuildRequires: intltool >= 0.40 |
67a534d2 | 21 | BuildRequires: librsvg-devel >= 2.0 |
daf5dcdd | 22 | BuildRequires: libtool |
4832785a | 23 | BuildRequires: pkgconfig >= 1:0.19 |
55b77874 | 24 | BuildRequires: rpmbuild(macros) >= 1.311 |
30739857 ŁK |
25 | BuildRequires: tar >= 1:1.22 |
26 | BuildRequires: xz | |
55b77874 | 27 | Requires(post): gtk-update-icon-cache |
d4ad6333 ŁK |
28 | Requires: adwaita-icon-theme |
29 | Requires: gtk+3 >= 3.14.0 | |
fecf12a4 | 30 | Suggests: gtk2-theme-engine-adwaita |
daf5dcdd AF |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
34 | Default themes for GNOME environment. | |
35 | ||
36 | %description -l pl.UTF-8 | |
37 | Domyślne motywy dla środowiska GNOME. | |
38 | ||
d1ce2183 ER |
39 | %package accessibility |
40 | Summary: Accessibility themes for GNOME environment | |
41 | Summary(pl.UTF-8): Motywy uprzystępniające dla środowiska GNOME | |
42 | Group: Themes | |
43 | Requires: %{name} = %{version}-%{release} | |
44 | Obsoletes: gnome-themes-HighContrast < 3.0-1 | |
45 | Obsoletes: gnome-themes-HighContrastLargePrint < 3.0-1 | |
b327342a ER |
46 | %if "%{_rpmversion}" >= "5" |
47 | BuildArch: noarch | |
48 | %endif | |
d1ce2183 ER |
49 | |
50 | %description accessibility | |
51 | Accessibility themes for GNOME environment | |
52 | ||
fecf12a4 | 53 | %package -n gtk2-theme-engine-adwaita |
d460e44a JB |
54 | Summary: Adwaita GTK+ 2 theme |
55 | Summary(pl.UTF-8): Motyw Adwaita dla GTK+ 2 | |
fecf12a4 | 56 | Group: Themes/GTK+ |
d460e44a | 57 | Requires: gtk+2 >= 2:2.24.15 |
fecf12a4 MB |
58 | |
59 | %description -n gtk2-theme-engine-adwaita | |
d460e44a JB |
60 | This package contains a GTK+ 2 theme for presenting widgets with a |
61 | GNOME look and feel. | |
62 | ||
63 | %description -n gtk2-theme-engine-adwaita -l pl.UTF-8 | |
d1ce2183 ER |
64 | Ten pakiet zawiera motyw GTK+ 2 do prezentowania widgetów z wyglądem i |
65 | zachowaniem GNOME. | |
fecf12a4 | 66 | |
daf5dcdd AF |
67 | %prep |
68 | %setup -q | |
69 | ||
70 | %build | |
71 | %{__glib_gettextize} | |
72 | %{__intltoolize} | |
73 | %{__libtoolize} | |
74 | %{__aclocal} | |
75 | %{__automake} | |
76 | %{__autoconf} | |
e85b4a87 MB |
77 | %configure \ |
78 | --disable-silent-rules | |
79 | ||
daf5dcdd AF |
80 | %{__make} |
81 | ||
82 | %install | |
83 | rm -rf $RPM_BUILD_ROOT | |
daf5dcdd | 84 | %{__make} install \ |
74ce53eb | 85 | INSTALL="install -p" \ |
daf5dcdd AF |
86 | DESTDIR=$RPM_BUILD_ROOT |
87 | ||
478c0e38 | 88 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.10.0/engines/libadwaita.la |
daf5dcdd | 89 | |
322a2d97 ER |
90 | # gtk+2 cache |
91 | touch $RPM_BUILD_ROOT%{_iconsdir}/HighContrast/icon-theme.cache | |
92 | ||
daf5dcdd AF |
93 | %clean |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
d1ce2183 | 96 | %post accessibility |
727e604c | 97 | %update_icon_cache HighContrast |
727e604c | 98 | |
ef515711 | 99 | %files |
daf5dcdd | 100 | %defattr(644,root,root,755) |
d460e44a | 101 | %dir %{_datadir}/themes/Adwaita |
d460e44a | 102 | %{_datadir}/themes/Adwaita/gtk-3.0 |
d460e44a | 103 | %{_datadir}/themes/Adwaita/index.theme |
e3d059c0 | 104 | %dir %{_datadir}/themes/Adwaita-dark |
25401820 | 105 | %{_datadir}/themes/Adwaita-dark/gtk-3.0 |
e3d059c0 | 106 | %{_datadir}/themes/Adwaita-dark/index.theme |
d1ce2183 ER |
107 | |
108 | %files accessibility | |
109 | %defattr(644,root,root,755) | |
d460e44a JB |
110 | %dir %{_datadir}/themes/HighContrast |
111 | %{_datadir}/themes/HighContrast/gtk-3.0 | |
d460e44a | 112 | %{_datadir}/themes/HighContrast/index.theme |
322a2d97 ER |
113 | %dir %{_iconsdir}/HighContrast |
114 | %{_iconsdir}/HighContrast/*x* | |
115 | %{_iconsdir}/HighContrast/scalable | |
116 | %ghost %{_iconsdir}/HighContrast/icon-theme.cache | |
c46e8811 | 117 | %{_datadir}/themes/HighContrast/gtk-2.0 |
fecf12a4 MB |
118 | |
119 | %files -n gtk2-theme-engine-adwaita | |
120 | %defattr(644,root,root,755) | |
121 | %attr(755,root,root) %{_libdir}/gtk-2.0/2.10.0/engines/libadwaita.so | |
122 | %{_datadir}/themes/Adwaita/gtk-2.0 | |
e3d059c0 | 123 | %{_datadir}/themes/Adwaita-dark/gtk-2.0 |