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