/[packages]/cauldron/gnome-themes-extras/current/SPECS/gnome-themes-extras.spec
ViewVC logotype

Contents of /cauldron/gnome-themes-extras/current/SPECS/gnome-themes-extras.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 744823 - (show annotations) (download)
Wed Oct 15 01:03:47 2014 UTC (9 years, 6 months ago) by umeabot
File size: 1958 byte(s)
Second Mageia 5 Mass Rebuild
1 %define gtkbinaryver %(pkg-config gtk+-2.0 --variable=gtk_binary_version)
2
3 Summary: Additional themes collection for GNOME
4 Name: gnome-themes-extras
5 Version: 2.22.0
6 Release: %mkrel 11
7 License: GPLv2+ and CC-BY-SA
8 Group: Graphical desktop/GNOME
9 Source0: https://download.gnome.org/sources/gnome-themes-extras/%{name}-%{version}.tar.bz2
10 Patch: gnome-themes-extras-2.22.0-darklooks.patch
11 URL: http://librsvg.sourceforge.net/theme.php
12 BuildRequires: libgtk+2.0-devel
13 BuildRequires: gtk-engines2
14 BuildRequires: perl(XML::Parser)
15 BuildRequires: icon-naming-utils >= 0.8.1
16 BuildArch: noarch
17 # for the svg theme engine
18 Requires: librsvg
19 # for the industrial theme engine
20 Requires: gtk-engines2 >= 2.6
21
22 %description
23 Additional themes collection for GNOME: this package contains the
24 Darklooks metatheme and the Foxtrot, Gion and Neu icon themes for GNOME2.
25
26 %prep
27 %setup -q
28 %patch -p1
29 %build
30
31 #don't use configure macro, it doesn't work
32 ./configure --prefix=%_prefix --libdir=%_libdir
33 %make
34
35 %install
36 %makeinstall
37
38 %find_lang gnome-themes-extras
39
40 ### Remove files not to be installed
41 rm -rf $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/%{gtkbinaryver}/engines/{*.{a,la},libindustrial.so,libsmooth.so}
42 rm -rf $RPM_BUILD_ROOT%_datadir/themes/Industrial
43
44
45 for dir in %buildroot%{_datadir}/icons/*; do
46 touch $dir/icon-theme.cache
47 done
48
49 %post
50 %update_icon_cache Foxtrot
51 %update_icon_cache Gion
52 %update_icon_cache Neu
53 %update_icon_cache gnome-alternative
54 %postun
55 %clean_icon_cache Foxtrot
56 %clean_icon_cache Gion
57 %clean_icon_cache Neu
58 %clean_icon_cache gnome-alternative
59 %files -f gnome-themes-extras.lang
60 %dir %{_datadir}/icons/*
61 %{_datadir}/icons/*/???x???
62 %{_datadir}/icons/*/??x??
63 %{_datadir}/icons/*/scalable
64 %_datadir/icons/Foxtrot/index.theme
65 %_datadir/icons/Gion/index.theme
66 %_datadir/icons/Neu/index.theme
67 %_datadir/icons/gnome-alternative/index.theme
68 %{_datadir}/themes/*
69 %doc AUTHORS MAINTAINERS ChangeLog COPYING README TODO
70 %ghost %{_datadir}/icons/*/icon-theme.cache

  ViewVC Help
Powered by ViewVC 1.1.30