/[packages]/cauldron/mutter/current/SPECS/mutter.spec
ViewVC logotype

Annotation of /cauldron/mutter/current/SPECS/mutter.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 212378 - (hide annotations) (download)
Wed Feb 22 21:30:53 2012 UTC (12 years, 1 month ago) by wally
File size: 3435 byte(s)
- rebuild for new cogl (add P0 from upstream git)
1 wally 156080 %define url_ver %(echo %{version} | cut -d. -f1,2)
2 tv 72298
3 wally 148944 %define lib_major 0
4     %define api 3.0
5     %define libname %mklibname %{name}-private %{lib_major}
6 wally 171485 %define girname %mklibname %{name}-gir %{api}
7 wally 148944 %define libnamedev %mklibname -d %{name}-private
8 tv 72298
9 wally 148944 Summary: Mutter window manager
10     Name: mutter
11 ovitters 206361 Version: 3.3.5
12 wally 212378 Release: %mkrel 2
13 wally 148944 URL: http://ftp.gnome.org/pub/gnome/sources/mutter/
14     Source0: http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
15 wally 212378 Patch0: mutter-3.3.5-cogl-fix.patch
16 wally 148944 License: GPLv2+
17     Group: Graphical desktop/GNOME
18     BuildRequires: pkgconfig(glib-2.0) >= 2.14.0
19 fwang 170715 BuildRequires: pkgconfig(gio-2.0) >= 2.25.10
20 fwang 170791 BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.3.0
21 fwang 170715 BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.3
22 wally 148944 BuildRequires: pkgconfig(sm)
23     BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.7
24     BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26
25     BuildRequires: pkgconfig(xcomposite) >= 0.2
26     BuildRequires: pkgconfig(clutter-1.0) >= 1.7.5
27     BuildRequires: pkgconfig(xcursor)
28     BuildRequires: pkgconfig(pango) >= 1.2.0
29     BuildRequires: pkgconfig(cairo) >= 1.10.0
30     BuildRequires: pkgconfig(xfixes)
31     BuildRequires: pkgconfig(xrender)
32     BuildRequires: pkgconfig(xdamage)
33     BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.5
34     BuildRequires: cogl-devel
35     BuildRequires: libxtst-devel
36     BuildRequires: libmesaglu-devel
37     BuildRequires: zenity
38     BuildRequires: intltool
39     BuildRequires: gnome-doc-utils
40     BuildRequires: gir-repository
41     BuildRequires: gnome-common
42     Requires: zenity
43    
44 tv 72298 %description
45     Mutter is a simple window manager that integrates nicely with
46 dmorgan 102446 GNOME 3.
47 tv 72298
48     %package -n %{libname}
49 wally 148944 Summary: Libraries for Mutter
50     Group: System/Libraries
51 tv 72298
52     %description -n %{libname}
53     This package contains libraries used by Mutter.
54    
55     %package -n %{libnamedev}
56 wally 148944 Summary: Libraries and include files with Mutter
57     Group: Development/GNOME and GTK+
58     Requires: %{name} = %{version}
59     Requires: %{libname} = %{version}
60     Provides: %{name}-devel = %{version}-%{release}
61     Provides: lib%{name}-private-devel = %{version}-%{release}
62     Obsoletes: %mklibname -d %{name}-private 0
63 tv 72298
64     %description -n %{libnamedev}
65     This package provides the necessary development libraries and include
66     files to allow you to develop with Mutter.
67    
68 wally 171485 %package -n %{girname}
69     Summary: GObject Introspection interface description for %{name}
70     Group: System/Libraries
71     Requires: %{libname} = %{version}-%{release}
72     Conflicts: %{libname} < 3.3.2
73    
74     %description -n %{girname}
75     GObject Introspection interface description for %{name}.
76    
77 tv 72298 %prep
78     %setup -q
79 wally 171456 %apply_patches
80 tv 72298
81     %build
82 wally 171456 %configure2_5x \
83     --disable-static \
84 wally 171485 --enable-introspection=yes
85 wally 212378 %make
86 tv 72298
87     %install
88 wally 148944 rm -rf %{buildroot}
89 fwang 130558 %makeinstall_std
90 tv 72298
91     %find_lang %{name}
92    
93 dmorgan 102446 #Remove libtool archives.
94     rm -rf %{buildroot}/%{_libdir}/*.la
95    
96 wally 148944 %define schemas %{name}
97 tv 72298
98     %files -f %{name}.lang
99     %doc README COPYING NEWS HACKING
100     %{_bindir}/*
101 wally 171456 %{_datadir}/GConf/gsettings/mutter-schemas.convert
102     %{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml
103 ovitters 190755 %{_datadir}/gnome-control-center/keybindings/*.xml
104 wally 148944 %{_datadir}/applications/%{name}.desktop
105     %{_datadir}/gnome/wm-properties/%{name}-wm.desktop
106     %{_datadir}/%{name}
107     %dir %{_libdir}/%{name}
108     %dir %{_libdir}/%{name}/plugins
109     %{_libdir}/%{name}/plugins/default.so
110 tv 72298 %{_mandir}/man1/*
111    
112     %files -n %{libname}
113     %{_libdir}/*.so.%{lib_major}*
114    
115 wally 171485 %files -n %{girname}
116     %{_libdir}/%{name}/Meta-%{api}.typelib
117    
118 tv 72298 %files -n %{libnamedev}
119     %{_libdir}/*.so
120     %{_includedir}/*
121     %{_libdir}/pkgconfig/*
122 wally 171485 %{_libdir}/%{name}/Meta-%{api}.gir

  ViewVC Help
Powered by ViewVC 1.1.30