/[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 150357 - (hide annotations) (download)
Thu Sep 29 15:06:10 2011 UTC (12 years, 6 months ago) by colin
File size: 3077 byte(s)
Plug a memory leak (bgo#660464)
1 wally 148944 %define url_ver %(echo %{version} | cut -c 1-3)
2 tv 72298
3 wally 148944 %define lib_major 0
4     %define api 3.0
5     %define libname %mklibname %{name}-private %{lib_major}
6     %define libnamedev %mklibname -d %{name}-private
7 tv 72298
8 wally 148944 Summary: Mutter window manager
9     Name: mutter
10     Version: 3.2.0
11 colin 150357 Release: %mkrel 2
12 wally 148944 URL: http://ftp.gnome.org/pub/gnome/sources/mutter/
13     Source0: http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
14 colin 150357 Patch0001: 0001-meta-window-group-Plug-memory-leak.patch
15 wally 148944 License: GPLv2+
16     Group: Graphical desktop/GNOME
17     BuildRequires: pkgconfig(glib-2.0) >= 2.14.0
18     BuildRequires: pkgconfig(gtk+-3.0) >= 2.91.7
19     BuildRequires: pkgconfig(sm)
20     BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.7
21     BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26
22     BuildRequires: pkgconfig(xcomposite) >= 0.2
23     BuildRequires: pkgconfig(clutter-1.0) >= 1.7.5
24     BuildRequires: pkgconfig(xcursor)
25     BuildRequires: pkgconfig(pango) >= 1.2.0
26     BuildRequires: pkgconfig(cairo) >= 1.10.0
27     BuildRequires: pkgconfig(gconf-2.0) >= 1.2.0
28     BuildRequires: pkgconfig(xfixes)
29     BuildRequires: pkgconfig(xrender)
30     BuildRequires: pkgconfig(xdamage)
31     BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.5
32     BuildRequires: cogl-devel
33     BuildRequires: libxtst-devel
34     BuildRequires: libmesaglu-devel
35     BuildRequires: GConf2
36     BuildRequires: zenity
37     BuildRequires: intltool
38     BuildRequires: gnome-doc-utils
39     BuildRequires: gir-repository
40     BuildRequires: gnome-common
41     Requires: zenity
42    
43 tv 72298 %description
44     Mutter is a simple window manager that integrates nicely with
45 dmorgan 102446 GNOME 3.
46 tv 72298
47     %package -n %{libname}
48 wally 148944 Summary: Libraries for Mutter
49     Group: System/Libraries
50 tv 72298
51     %description -n %{libname}
52     This package contains libraries used by Mutter.
53    
54     %package -n %{libnamedev}
55 wally 148944 Summary: Libraries and include files with Mutter
56     Group: Development/GNOME and GTK+
57     Requires: %{name} = %{version}
58     Requires: %{libname} = %{version}
59     Provides: %{name}-devel = %{version}-%{release}
60     Provides: lib%{name}-private-devel = %{version}-%{release}
61     Obsoletes: %mklibname -d %{name}-private 0
62 tv 72298
63     %description -n %{libnamedev}
64     This package provides the necessary development libraries and include
65     files to allow you to develop with Mutter.
66    
67     %prep
68     %setup -q
69 colin 150357 %apply_patches
70 tv 72298
71     %build
72 fwang 130558 %configure2_5x --disable-static --disable-schemas-install
73     %make
74 tv 72298
75     %install
76 wally 148944 rm -rf %{buildroot}
77 fwang 130558 %makeinstall_std
78 tv 72298
79     %find_lang %{name}
80    
81 dmorgan 102446 #Remove libtool archives.
82     rm -rf %{buildroot}/%{_libdir}/*.la
83    
84 tv 72298 %clean
85 wally 148944 rm -rf %{buildroot}
86 tv 72298
87 wally 148944 %define schemas %{name}
88 tv 72298
89     %preun
90     %preun_uninstall_gconf_schemas %{schemas}
91    
92     %files -f %{name}.lang
93     %defattr(-,root,root)
94     %doc README COPYING NEWS HACKING
95     %{_sysconfdir}/gconf/schemas/*
96     %{_bindir}/*
97 wally 148944 %{_datadir}/applications/%{name}.desktop
98     %{_datadir}/gnome/wm-properties/%{name}-wm.desktop
99     %{_datadir}/%{name}
100     %dir %{_libdir}/%{name}
101     %dir %{_libdir}/%{name}/plugins
102     %{_libdir}/%{name}/plugins/default.so
103 tv 72298 %{_mandir}/man1/*
104    
105     %files -n %{libname}
106     %defattr(-,root,root)
107     %{_libdir}/*.so.%{lib_major}*
108 wally 148944 %{_libdir}/%{name}/Meta-%{api}.typelib
109 tv 72298
110     %files -n %{libnamedev}
111     %defattr(-,root,root)
112     %{_libdir}/*.so
113     %{_includedir}/*
114     %{_libdir}/pkgconfig/*
115 wally 148944 %{_libdir}/%name/Meta-%{api}.gir

  ViewVC Help
Powered by ViewVC 1.1.30