]> git.pld-linux.org Git - packages/gtk2-engines.git/blob - gtk2-engines.spec
- updated to 2.18.5
[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.18.5
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.18/gtk-engines-%{version}.tar.bz2
10 # Source0-md5:  8ab438af9f460b1dacbe37437612c629
11 URL:            http://gtk.themes.org/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel
15 BuildRequires:  gtk+2-devel >= 2:2.16.0
16 BuildRequires:  intltool >= 0.40.0
17 BuildRequires:  libtool
18 BuildRequires:  pkgconfig
19 Requires(post): gtk+2 >= 2:2.12.9-3
20 Requires:       gtk+2 >= 2:2.16.0
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 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ca@valencia
73
74 %find_lang gtk-engines
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post
80 umask 022
81 gdk-pixbuf-query-loaders%{pqext} > %{_gtkconfdir}/gdk-pixbuf.loaders
82 exit 0
83
84 %files -f gtk-engines.lang
85 %defattr(644,root,root,755)
86 %doc ChangeLog README
87 %dir %{_datadir}/gtk-engines
88 %{_datadir}/gtk-engines/*.xml
89 %dir %{_datadir}/themes/Redmond
90 %{_datadir}/themes/Clearlooks
91 %{_datadir}/themes/Crux
92 %{_datadir}/themes/Industrial
93 %{_datadir}/themes/Mist
94 %{_datadir}/themes/Redmond/gtk-2.0
95 %{_datadir}/themes/ThinIce
96 %attr(755,root,root) %{_libdir}/gtk-2.0/*/engines/*.so
97 %{_pkgconfigdir}/gtk-engines-2.pc
This page took 0.028122 seconds and 3 git commands to generate.