]> git.pld-linux.org Git - packages/gtk2-engines.git/blob - gtk2-engines.spec
- updated to 2.14.3
[packages/gtk2-engines.git] / gtk2-engines.spec
1 Summary:        Default GTK+2 theme engines
2 Summary(pl.UTF-8):      Motywy do GTK+2
3 Name:           gtk2-engines
4 Version:        2.14.3
5 Release:        1
6 Epoch:          1
7 License:        GPL v2+ and LGPL v2+
8 Group:          Themes/GTK+
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.14/gtk-engines-%{version}.tar.bz2
10 # Source0-md5:  be92ddda833defb7296a850331c03d05
11 URL:            http://gtk.themes.org/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel
15 BuildRequires:  gtk+2-devel >= 2:2.12.8
16 BuildRequires:  intltool >= 0.37.0
17 BuildRequires:  libtool
18 BuildRequires:  pkgconfig
19 Requires(post): gtk+2 >= 2:2.12.9-3
20 Requires:       gtk+2 >= 2:2.12.8
21 Provides:       gnome-themes-Clearlooks
22 Provides:       gnome-themes-ThinIce
23 Provides:       gtk2-theme-engine-Clearlooks
24 Provides:       gtk2-theme-engine-Industrial
25 Provides:       gtk2-theme-engine-Smooth
26 Provides:       gtk2-theme-engine-ThinIce
27 Obsoletes:      gnome-themes-LighthouseBlue
28 Obsoletes:      gnome-themes-LighthouseBlue
29 Obsoletes:      gnome-themes-ThinIce
30 Obsoletes:      gtk-engines = 1.9.0
31 Obsoletes:      gtk2-theme-engine-Industrial
32 Obsoletes:      gtk2-theme-engine-Smooth
33 Obsoletes:      gtk2-theme-engine-ThinIce
34 Obsoletes:      gtk2-theme-engine-lighthouseblue
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
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
46 %description
47 These are the graphical engines for the various GTK+ toolkit themes.
48
49 %description -l pl.UTF-8
50 Pakiet ten zawiera moduły różnych motywów do biblioteki GTK+.
51
52 %prep
53 %setup -q -n gtk-engines-%{version}
54
55 %build
56 %{__libtoolize}
57 %{__aclocal}
58 %{__autoconf}
59 %{__automake}
60 %configure
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 # .la are not needed (according to spec included to package)
70 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.la
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post
76 umask 022
77 gdk-pixbuf-query-loaders%{pqext} > %{_gtkconfdir}/gdk-pixbuf.loaders
78 exit 0
79
80 %files
81 %defattr(644,root,root,755)
82 %doc ChangeLog README
83 %dir %{_datadir}/gtk-engines
84 %{_datadir}/gtk-engines/*.xml
85 %dir %{_datadir}/themes/Redmond
86 %{_datadir}/themes/Clearlooks
87 %{_datadir}/themes/Crux
88 %{_datadir}/themes/Industrial
89 %{_datadir}/themes/Mist
90 %{_datadir}/themes/Redmond/gtk-2.0
91 %{_datadir}/themes/ThinIce
92 %attr(755,root,root) %{_libdir}/gtk-2.0/*/engines/*.so
93 %{_pkgconfigdir}/gtk-engines-2.pc
This page took 0.028485 seconds and 3 git commands to generate.