]> git.pld-linux.org Git - packages/gtk2-engines.git/blame - gtk2-engines.spec
- updated to 2.18.5
[packages/gtk2-engines.git] / gtk2-engines.spec
CommitLineData
b31c1869 1Summary: Default GTK+2 theme engines
cab216b6 2Summary(pl.UTF-8): Motywy do GTK+2
e6105726 3Name: gtk2-engines
52002b33 4Version: 2.18.5
570d6209 5Release: 1
9ea31d06 6Epoch: 1
3f1c63e6 7License: GPL v2+ and LGPL v2+
e70fbcc6 8Group: Themes/GTK+
0b5a7ba5 9Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.18/gtk-engines-%{version}.tar.bz2
52002b33 10# Source0-md5: 8ab438af9f460b1dacbe37437612c629
9ea31d06 11URL: http://gtk.themes.org/
12BuildRequires: autoconf
13BuildRequires: automake
3f1c63e6 14BuildRequires: gettext-devel
0b5a7ba5 15BuildRequires: gtk+2-devel >= 2:2.16.0
ef0d2070 16BuildRequires: intltool >= 0.40.0
e9a62ce2 17BuildRequires: libtool
4691de6f 18BuildRequires: pkgconfig
d04d077f 19Requires(post): gtk+2 >= 2:2.12.9-3
0b5a7ba5 20Requires: gtk+2 >= 2:2.16.0
65a8fcbb 21Provides: gnome-themes-Clearlooks
f96efa04 22Provides: gnome-themes-ThinIce
65a8fcbb 23Provides: gtk2-theme-engine-Clearlooks
f96efa04
MK
24Provides: gtk2-theme-engine-Industrial
25Provides: gtk2-theme-engine-Smooth
a0fe1c25 26Provides: gtk2-theme-engine-ThinIce
eaf228d1 27Obsoletes: gnome-themes-LighthouseBlue
7a972f58 28Obsoletes: gnome-themes-LighthouseBlue
29Obsoletes: gnome-themes-ThinIce
3f1c63e6 30Obsoletes: gtk-engines = 1.9.0
7a972f58 31Obsoletes: gtk2-theme-engine-Industrial
32Obsoletes: gtk2-theme-engine-Smooth
a0fe1c25 33Obsoletes: gtk2-theme-engine-ThinIce
3f1c63e6 34Obsoletes: gtk2-theme-engine-lighthouseblue
9ea31d06 35BuildRoot: %{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
47These are the graphical engines for the various GTK+ toolkit themes.
48
6d72c022
JR
49%description -l pl.UTF-8
50Pakiet 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
64rm -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 70rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.la
084cc00a 71
1f1012fe
MB
72rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ca@valencia
73
035658b7
MB
74%find_lang gtk-engines
75
9ea31d06 76%clean
77rm -rf $RPM_BUILD_ROOT
78
7a972f58 79%post
80umask 022
d04d077f 81gdk-pixbuf-query-loaders%{pqext} > %{_gtkconfdir}/gdk-pixbuf.loaders
7a972f58 82exit 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
This page took 0.048028 seconds and 4 git commands to generate.