]> git.pld-linux.org Git - packages/gtk3-engines.git/blob - gtk3-engines.spec
0e27ced908a56fccc792699264ed95ec38e167fb
[packages/gtk3-engines.git] / gtk3-engines.spec
1 Summary:        Default GTK+3 theme engines
2 Summary(pl.UTF-8):      Moduły motywów do GTK+3
3 Name:           gtk3-engines
4 Version:        2.91.1
5 Release:        0.2
6 License:        GPL v2+ and LGPL v2+
7 Group:          Themes/GTK+
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.91/gtk-engines-%{version}.tar.bz2
9 # Source0-md5:  290d2fdb66743066dab92db694dd7b99
10 URL:            http://gtk.themes.org/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  gettext-devel
14 BuildRequires:  gtk+3-devel
15 BuildRequires:  intltool >= 0.40.0
16 BuildRequires:  libtool
17 BuildRequires:  pkgconfig
18 Requires(post): gtk+3
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %if "%{_lib}" != "lib"
22 %define         libext          %(lib="%{_lib}"; echo ${lib#lib})
23 %define         _gtkconfdir     /etc/gtk%{libext}-3.0
24 %define         pqext           -%{libext}
25 %else
26 %define         _gtkconfdir     /etc/gtk-3.0
27 %define         pqext           %{nil}
28 %endif
29
30 %description
31 These are the graphical engines for the various GTK+ toolkit themes.
32
33 %description -l pl.UTF-8
34 Pakiet ten zawiera moduły różnych motywów do biblioteki GTK+.
35
36 %package themes
37 Summary:        Various GTK+ toolkit themes
38 Summary(pl.UTF-8):      Różne motywy do biblioteki GTK+
39 Group:          Themes/GTK+
40 Requires:       %{name} = %{epoch}:%{version}-%{release}
41
42 %description themes
43 Various GTK+ toolkit themes.
44
45 %description themes -l pl.UTF-8
46 Różne motywy do biblioteki GTK+.
47
48 %prep
49 %setup -q -n gtk-engines-%{version}
50
51 %build
52 %{__libtoolize}
53 %{__aclocal}
54 %{__autoconf}
55 %{__automake}
56 %configure \
57         --disable-silent-rules \
58         --enable-animation
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 # no .la for loadable GTK+ modules
68 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/*/engines/*.la
69
70 %find_lang gtk3-engines
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 %attr(755,root,root) %{_libdir}/gtk-3.0/*/engines/*.so
83 %{_pkgconfigdir}/gtk-engines-3.pc
84
85 %files themes -f gtk3-engines.lang
86 %defattr(644,root,root,755)
87 %doc ChangeLog README
88 %dir %{_datadir}/gtk-engines
89 %dir %{_datadir}/gtk-engines/3.0
90 %{_datadir}/gtk-engines/3.0/*.xml
91 %dir %{_datadir}/themes/Redmond
92 %{_datadir}/themes/Clearlooks
93 %{_datadir}/themes/Crux
94 %{_datadir}/themes/Industrial
95 %{_datadir}/themes/Mist
96 %{_datadir}/themes/Redmond/gtk-3.0
97 %{_datadir}/themes/ThinIce
98 %{_datadir}/themes/GNOME3
This page took 0.212682 seconds and 2 git commands to generate.