]>
Commit | Line | Data |
---|---|---|
b31c1869 | 1 | Summary: Default GTK+2 theme engines |
cab216b6 | 2 | Summary(pl.UTF-8): Motywy do GTK+2 |
e6105726 | 3 | Name: gtk2-engines |
52002b33 | 4 | Version: 2.18.5 |
570d6209 | 5 | Release: 1 |
9ea31d06 | 6 | Epoch: 1 |
3f1c63e6 | 7 | License: GPL v2+ and LGPL v2+ |
e70fbcc6 | 8 | Group: Themes/GTK+ |
0b5a7ba5 | 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.18/gtk-engines-%{version}.tar.bz2 |
52002b33 | 10 | # Source0-md5: 8ab438af9f460b1dacbe37437612c629 |
9ea31d06 | 11 | URL: http://gtk.themes.org/ |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
3f1c63e6 | 14 | BuildRequires: gettext-devel |
0b5a7ba5 | 15 | BuildRequires: gtk+2-devel >= 2:2.16.0 |
ef0d2070 | 16 | BuildRequires: intltool >= 0.40.0 |
e9a62ce2 | 17 | BuildRequires: libtool |
4691de6f | 18 | BuildRequires: pkgconfig |
d04d077f | 19 | Requires(post): gtk+2 >= 2:2.12.9-3 |
0b5a7ba5 | 20 | Requires: gtk+2 >= 2:2.16.0 |
65a8fcbb | 21 | Provides: gnome-themes-Clearlooks |
f96efa04 | 22 | Provides: gnome-themes-ThinIce |
65a8fcbb | 23 | Provides: gtk2-theme-engine-Clearlooks |
f96efa04 MK |
24 | Provides: gtk2-theme-engine-Industrial |
25 | Provides: gtk2-theme-engine-Smooth | |
a0fe1c25 | 26 | Provides: gtk2-theme-engine-ThinIce |
eaf228d1 | 27 | Obsoletes: gnome-themes-LighthouseBlue |
7a972f58 | 28 | Obsoletes: gnome-themes-LighthouseBlue |
29 | Obsoletes: gnome-themes-ThinIce | |
3f1c63e6 | 30 | Obsoletes: gtk-engines = 1.9.0 |
7a972f58 | 31 | Obsoletes: gtk2-theme-engine-Industrial |
32 | Obsoletes: gtk2-theme-engine-Smooth | |
a0fe1c25 | 33 | Obsoletes: gtk2-theme-engine-ThinIce |
3f1c63e6 | 34 | Obsoletes: gtk2-theme-engine-lighthouseblue |
9ea31d06 | 35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
d04d077f MB |
37 | %if "%{_lib}" != "lib" |
38 | %define libext %(lib="%{_lib}"; echo ${lib#lib}) | |
39 | %define _gtkconfdir /etc/gtk%{libext}-2.0 | |
40 | %define pqext -%{libext} | |
41 | %else | |
42 | %define _gtkconfdir /etc/gtk-2.0 | |
43 | %define pqext %{nil} | |
44 | %endif | |
45 | ||
9ea31d06 | 46 | %description |
47 | These are the graphical engines for the various GTK+ toolkit themes. | |
48 | ||
6d72c022 JR |
49 | %description -l pl.UTF-8 |
50 | Pakiet ten zawiera moduły różnych motywów do biblioteki GTK+. | |
9ea31d06 | 51 | |
52 | %prep | |
6c7931b2 | 53 | %setup -q -n gtk-engines-%{version} |
9ea31d06 | 54 | |
55 | %build | |
59cc7909 JB |
56 | %{__libtoolize} |
57 | %{__aclocal} | |
9ea31d06 | 58 | %{__autoconf} |
59 | %{__automake} | |
60 | %configure | |
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
7bc487c8 | 66 | %{__make} install \ |
67 | DESTDIR=$RPM_BUILD_ROOT | |
9ea31d06 | 68 | |
084cc00a | 69 | # .la are not needed (according to spec included to package) |
7bc487c8 | 70 | rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.la |
084cc00a | 71 | |
1f1012fe MB |
72 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ca@valencia |
73 | ||
035658b7 MB |
74 | %find_lang gtk-engines |
75 | ||
9ea31d06 | 76 | %clean |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
7a972f58 | 79 | %post |
80 | umask 022 | |
d04d077f | 81 | gdk-pixbuf-query-loaders%{pqext} > %{_gtkconfdir}/gdk-pixbuf.loaders |
7a972f58 | 82 | exit 0 |
83 | ||
035658b7 | 84 | %files -f gtk-engines.lang |
9ea31d06 | 85 | %defattr(644,root,root,755) |
86 | %doc ChangeLog README | |
a381991e MB |
87 | %dir %{_datadir}/gtk-engines |
88 | %{_datadir}/gtk-engines/*.xml | |
f5f24a7d | 89 | %dir %{_datadir}/themes/Redmond |
65a8fcbb | 90 | %{_datadir}/themes/Clearlooks |
7a972f58 | 91 | %{_datadir}/themes/Crux |
f5f24a7d | 92 | %{_datadir}/themes/Industrial |
7a972f58 | 93 | %{_datadir}/themes/Mist |
f5f24a7d | 94 | %{_datadir}/themes/Redmond/gtk-2.0 |
95 | %{_datadir}/themes/ThinIce | |
6a0bf2c8 | 96 | %attr(755,root,root) %{_libdir}/gtk-2.0/*/engines/*.so |
3f1c63e6 | 97 | %{_pkgconfigdir}/gtk-engines-2.pc |