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 |
fwang |
170715 |
Version: 3.3.2 |
12 |
wally |
171456 |
Release: %mkrel 1 |
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 |
|
|
License: GPLv2+ |
16 |
|
|
Group: Graphical desktop/GNOME |
17 |
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.14.0 |
18 |
fwang |
170715 |
BuildRequires: pkgconfig(gio-2.0) >= 2.25.10 |
19 |
fwang |
170791 |
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.3.0 |
20 |
fwang |
170715 |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.3 |
21 |
wally |
148944 |
BuildRequires: pkgconfig(sm) |
22 |
|
|
BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.7 |
23 |
|
|
BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26 |
24 |
|
|
BuildRequires: pkgconfig(xcomposite) >= 0.2 |
25 |
|
|
BuildRequires: pkgconfig(clutter-1.0) >= 1.7.5 |
26 |
|
|
BuildRequires: pkgconfig(xcursor) |
27 |
|
|
BuildRequires: pkgconfig(pango) >= 1.2.0 |
28 |
|
|
BuildRequires: pkgconfig(cairo) >= 1.10.0 |
29 |
|
|
BuildRequires: pkgconfig(xfixes) |
30 |
|
|
BuildRequires: pkgconfig(xrender) |
31 |
|
|
BuildRequires: pkgconfig(xdamage) |
32 |
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.5 |
33 |
|
|
BuildRequires: cogl-devel |
34 |
|
|
BuildRequires: libxtst-devel |
35 |
|
|
BuildRequires: libmesaglu-devel |
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 |
wally |
171485 |
%package -n %{girname} |
68 |
|
|
Summary: GObject Introspection interface description for %{name} |
69 |
|
|
Group: System/Libraries |
70 |
|
|
Requires: %{libname} = %{version}-%{release} |
71 |
|
|
Conflicts: %{libname} < 3.3.2 |
72 |
|
|
|
73 |
|
|
%description -n %{girname} |
74 |
|
|
GObject Introspection interface description for %{name}. |
75 |
|
|
|
76 |
tv |
72298 |
%prep |
77 |
|
|
%setup -q |
78 |
wally |
171456 |
%apply_patches |
79 |
tv |
72298 |
|
80 |
|
|
%build |
81 |
wally |
171456 |
%configure2_5x \ |
82 |
|
|
--disable-static \ |
83 |
wally |
171485 |
--enable-introspection=yes |
84 |
wally |
171456 |
%make CFLAGS+="-DCLUTTER_DISABLE_DEPRECATION_WARNINGS" |
85 |
tv |
72298 |
|
86 |
|
|
%install |
87 |
wally |
148944 |
rm -rf %{buildroot} |
88 |
fwang |
130558 |
%makeinstall_std |
89 |
tv |
72298 |
|
90 |
|
|
%find_lang %{name} |
91 |
|
|
|
92 |
dmorgan |
102446 |
#Remove libtool archives. |
93 |
|
|
rm -rf %{buildroot}/%{_libdir}/*.la |
94 |
|
|
|
95 |
tv |
72298 |
%clean |
96 |
wally |
148944 |
rm -rf %{buildroot} |
97 |
tv |
72298 |
|
98 |
wally |
148944 |
%define schemas %{name} |
99 |
tv |
72298 |
|
100 |
|
|
%files -f %{name}.lang |
101 |
|
|
%defattr(-,root,root) |
102 |
|
|
%doc README COPYING NEWS HACKING |
103 |
|
|
%{_bindir}/* |
104 |
wally |
171456 |
%{_datadir}/GConf/gsettings/mutter-schemas.convert |
105 |
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml |
106 |
wally |
148944 |
%{_datadir}/applications/%{name}.desktop |
107 |
|
|
%{_datadir}/gnome/wm-properties/%{name}-wm.desktop |
108 |
|
|
%{_datadir}/%{name} |
109 |
|
|
%dir %{_libdir}/%{name} |
110 |
|
|
%dir %{_libdir}/%{name}/plugins |
111 |
|
|
%{_libdir}/%{name}/plugins/default.so |
112 |
tv |
72298 |
%{_mandir}/man1/* |
113 |
|
|
|
114 |
|
|
%files -n %{libname} |
115 |
|
|
%defattr(-,root,root) |
116 |
|
|
%{_libdir}/*.so.%{lib_major}* |
117 |
|
|
|
118 |
wally |
171485 |
%files -n %{girname} |
119 |
|
|
%defattr(-,root,root) |
120 |
|
|
%{_libdir}/%{name}/Meta-%{api}.typelib |
121 |
|
|
|
122 |
tv |
72298 |
%files -n %{libnamedev} |
123 |
|
|
%defattr(-,root,root) |
124 |
|
|
%{_libdir}/*.so |
125 |
|
|
%{_includedir}/* |
126 |
|
|
%{_libdir}/pkgconfig/* |
127 |
wally |
171485 |
%{_libdir}/%{name}/Meta-%{api}.gir |