]>
Commit | Line | Data |
---|---|---|
daf5dcdd AF |
1 | Summary: Default themes for GNOME environment |
2 | Summary(pl.UTF-8): Domyślne motywy dla środowiska GNOME | |
3 | Name: gnome-themes-standard | |
ababe728 | 4 | Version: 3.10.0 |
ef515711 | 5 | Release: 1 |
daf5dcdd AF |
6 | License: LGPL |
7 | Group: Themes | |
ababe728 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-themes-standard/3.10/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 854209d213c8d6ab89c053a3f9077e57 | |
daf5dcdd AF |
10 | URL: http://www.gnome.org/ |
11 | BuildRequires: autoconf >= 2.53 | |
12 | BuildRequires: automake >= 1:1.9 | |
ababe728 MB |
13 | BuildRequires: cairo-devel |
14 | BuildRequires: gdk-pixbuf2-devel | |
daf5dcdd | 15 | BuildRequires: gettext-devel |
13b6c527 | 16 | BuildRequires: gtk+2-devel >= 2:2.24.15 |
ababe728 | 17 | BuildRequires: gtk+3-devel >= 3.10.0 |
4832785a | 18 | BuildRequires: intltool >= 0.40 |
16f055e8 | 19 | BuildRequires: librsvg-devel |
daf5dcdd | 20 | BuildRequires: libtool |
4832785a | 21 | BuildRequires: pkgconfig >= 1:0.19 |
55b77874 | 22 | BuildRequires: rpmbuild(macros) >= 1.311 |
30739857 ŁK |
23 | BuildRequires: tar >= 1:1.22 |
24 | BuildRequires: xz | |
55b77874 | 25 | Requires(post): gtk-update-icon-cache |
e35c06cc | 26 | Requires: gnome-icon-theme >= 3.4.0 |
fecf12a4 | 27 | Suggests: gtk2-theme-engine-adwaita |
cf94ccb2 | 28 | Obsoletes: gnome-themes-HighContrast < 3.0-1 |
cf94ccb2 | 29 | Obsoletes: gnome-themes-HighContrastLargePrint < 3.0-1 |
daf5dcdd AF |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
33 | Default themes for GNOME environment. | |
34 | ||
35 | %description -l pl.UTF-8 | |
36 | Domyślne motywy dla środowiska GNOME. | |
37 | ||
fecf12a4 MB |
38 | %package -n gtk2-theme-engine-adwaita |
39 | Summary: Adwaita gtk2 theme | |
40 | Group: Themes/GTK+ | |
41 | ||
42 | %description -n gtk2-theme-engine-adwaita | |
43 | This package contains a gtk2 theme for presenting widgets with a GNOME | |
44 | look and feel. | |
45 | ||
daf5dcdd AF |
46 | %prep |
47 | %setup -q | |
48 | ||
49 | %build | |
50 | %{__glib_gettextize} | |
51 | %{__intltoolize} | |
52 | %{__libtoolize} | |
53 | %{__aclocal} | |
54 | %{__automake} | |
55 | %{__autoconf} | |
e85b4a87 MB |
56 | %configure \ |
57 | --disable-silent-rules | |
58 | ||
daf5dcdd AF |
59 | %{__make} |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
e85b4a87 | 63 | |
daf5dcdd | 64 | %{__make} install \ |
74ce53eb | 65 | INSTALL="install -p" \ |
daf5dcdd AF |
66 | DESTDIR=$RPM_BUILD_ROOT |
67 | ||
478c0e38 | 68 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.10.0/engines/libadwaita.la |
daf5dcdd AF |
69 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/3.0.0/theming-engines/libadwaita.la |
70 | ||
322a2d97 ER |
71 | # gtk+2 cache |
72 | touch $RPM_BUILD_ROOT%{_iconsdir}/HighContrast/icon-theme.cache | |
73 | ||
daf5dcdd AF |
74 | %clean |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
727e604c | 77 | %post |
727e604c | 78 | %update_icon_cache HighContrast |
727e604c | 79 | |
ef515711 | 80 | %files |
daf5dcdd | 81 | %defattr(644,root,root,755) |
78026959 | 82 | %attr(755,root,root) %{_libdir}/gtk-3.0/3.0.0/theming-engines/libadwaita.so |
daf5dcdd | 83 | %{_datadir}/themes/Adwaita |
fecf12a4 | 84 | %exclude %{_datadir}/themes/Adwaita/gtk-2.0 |
727e604c | 85 | %{_datadir}/themes/HighContrast |
fecf12a4 | 86 | %exclude %{_datadir}/themes/HighContrast/gtk-2.0 |
322a2d97 ER |
87 | %dir %{_iconsdir}/Adwaita |
88 | %{_iconsdir}/Adwaita/cursors | |
89 | %dir %{_iconsdir}/HighContrast | |
90 | %{_iconsdir}/HighContrast/*x* | |
91 | %{_iconsdir}/HighContrast/scalable | |
92 | %ghost %{_iconsdir}/HighContrast/icon-theme.cache | |
fecf12a4 MB |
93 | |
94 | %files -n gtk2-theme-engine-adwaita | |
95 | %defattr(644,root,root,755) | |
96 | %attr(755,root,root) %{_libdir}/gtk-2.0/2.10.0/engines/libadwaita.so | |
97 | %{_datadir}/themes/Adwaita/gtk-2.0 | |
98 | %{_datadir}/themes/HighContrast/gtk-2.0 | |
6ccb7022 | 99 | %{_datadir}/gnome-background-properties/adwaita.xml |
a45252f7 ER |
100 | |
101 | # XXX: package here, not to pull libgnome deps | |
102 | %dir %{_datadir}/gnome-background-properties |