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