2024-01-06 07:27:49 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: mutter
|
2024-01-06 07:27:49 +01:00
|
|
|
Version: 3.16.2
|
2024-01-06 07:27:49 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A compositing window manager based on Metacity
|
|
|
|
Group: Graphical Desktop/Libraries/GNOME
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://live.gnome.org
|
|
|
|
Source: ftp://ftp.gnome.org/pub/gnome/sources/mutter/%{majver}/mutter-%{version}.tar.xz
|
2024-01-06 07:27:49 +01:00
|
|
|
Patch0: mutter-3.14.1-gcc-4.9.patch
|
|
|
|
Patch1: mutter-3.14.2-build-fix-x86.patch
|
2024-01-06 07:27:49 +01:00
|
|
|
Patch2: mutter-3.16.1.1-gcc-4.9.2.patch
|
2024-01-06 07:27:49 +01:00
|
|
|
License: GPL
|
2024-01-06 07:27:49 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: gnome-desktop-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: gsettings-desktop-schemas-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libGL-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXau-devel
|
|
|
|
BuildRequires: libXcomposite-devel
|
|
|
|
BuildRequires: libXcursor-devel
|
|
|
|
BuildRequires: libXdamage-devel
|
|
|
|
BuildRequires: libXdmcp-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXfixes-devel
|
|
|
|
BuildRequires: libXi-devel
|
|
|
|
BuildRequires: libXinerama-devel
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
BuildRequires: libXrender-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libatk-devel
|
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libcanberra-devel
|
|
|
|
BuildRequires: libclutter-devel
|
|
|
|
BuildRequires: libcogl-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libdrm-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libgbm-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libgraphite2-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libgtk-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libharfbuzz-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libjson-glib-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libltdl-devel
|
|
|
|
BuildRequires: libogg-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libstartup-notification-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libtdb-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libuuid-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libvorbis-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libxcb-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libxkbcommon-devel
|
|
|
|
BuildRequires: libxkbfile-devel
|
|
|
|
BuildRequires: libxkbcommon-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: upower-devel
|
2024-01-06 07:27:49 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 07:27:49 +01:00
|
|
|
BuildRequires: libcogl-devel >= 1.18
|
|
|
|
BuildRequires: libgnome-desktop-devel >= %{majver}
|
|
|
|
BuildRequires: upower-devel >= 0.99
|
2024-01-06 07:27:49 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Mutter is a compositing window manager based on Metacity.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
## note: you can add this requirement if .pc files are provided by this package
|
|
|
|
#Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Group: Documentation
|
|
|
|
Summary: %{name} API documentation
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: gtk-doc
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
This package includes the %{name} API documentation.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 07:27:49 +01:00
|
|
|
#%patch0 -p1
|
2024-01-06 07:27:49 +01:00
|
|
|
%patch1 -p1
|
2024-01-06 07:27:49 +01:00
|
|
|
%patch2 -p1
|
2024-01-06 07:27:49 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 07:27:49 +01:00
|
|
|
%configure \
|
|
|
|
%ifnarch x86_64
|
|
|
|
CFLAGS="-Wno-error=sign-compare"
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 07:27:49 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 07:27:49 +01:00
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas
|
|
|
|
fi
|
|
|
|
:
|
2024-01-06 07:27:49 +01:00
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/mutter
|
|
|
|
#%{_bindir}/mutter-message
|
|
|
|
#%{_bindir}/mutter-theme-viewer
|
|
|
|
#%{_bindir}/mutter-window-demo
|
|
|
|
%{_datadir}/applications/mutter.desktop
|
2024-01-06 07:27:49 +01:00
|
|
|
%{_datadir}/applications/mutter-wayland.desktop
|
2024-01-06 07:27:49 +01:00
|
|
|
#%{_datadir}/mutter/icons/mutter-window-demo.png
|
|
|
|
%{_datadir}/GConf/gsettings/mutter-schemas.convert
|
2024-01-06 07:27:49 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.mutter.wayland.gschema.xml
|
2024-01-06 07:27:49 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml
|
|
|
|
%{_datadir}/gnome-control-center/keybindings/50-mutter-*.xml
|
2024-01-06 07:27:49 +01:00
|
|
|
#%{_datadir}/gnome/wm-properties/mutter-wm.desktop
|
2024-01-06 07:27:49 +01:00
|
|
|
#%{_mandir}/man1/mutter-message.1.gz
|
|
|
|
#%{_mandir}/man1/mutter-theme-viewer.1.gz
|
|
|
|
#%{_mandir}/man1/mutter-window-demo.1.gz
|
2024-01-06 07:27:49 +01:00
|
|
|
%{_mandir}/man1/mutter.1*
|
2024-01-06 07:27:49 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libmutter.so.*
|
|
|
|
%dir %{_libdir}/mutter
|
|
|
|
%dir %{_libdir}/mutter/plugins
|
|
|
|
%{_libdir}/mutter/plugins/default.so
|
|
|
|
%{_libdir}/mutter/Meta-3.0.typelib
|
2024-01-06 07:27:49 +01:00
|
|
|
%{_libexecdir}/mutter-restart-helper
|
|
|
|
%doc COPYING
|
2024-01-06 07:27:49 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/mutter
|
|
|
|
%dir %{_includedir}/mutter/meta
|
|
|
|
%{_includedir}/mutter/meta/*.h
|
2024-01-06 07:27:49 +01:00
|
|
|
#%{_libdir}/libmutter.a
|
2024-01-06 07:27:49 +01:00
|
|
|
%{_libdir}/libmutter.la
|
|
|
|
%{_libdir}/libmutter.so
|
|
|
|
%{_libdir}/mutter/Meta-3.0.gir
|
|
|
|
%{_libdir}/pkgconfig/libmutter.pc
|
2024-01-06 07:27:49 +01:00
|
|
|
#%{_libdir}/pkgconfig/mutter-plugins.pc
|
|
|
|
%doc NEWS
|
2024-01-06 07:27:49 +01:00
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/gtk-doc/html/meta/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 07:27:49 +01:00
|
|
|
* Fri May 15 2015 Automatic Build System <autodist@mambasoft.it> 3.16.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:27:49 +01:00
|
|
|
* Thu Apr 30 2015 Automatic Build System <autodist@mambasoft.it> 3.16.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:27:49 +01:00
|
|
|
* Thu Apr 02 2015 Automatic Build System <autodist@mambasoft.it> 3.14.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 07:27:49 +01:00
|
|
|
* Sun Dec 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.3-1mamba
|
|
|
|
- update to 3.14.3
|
|
|
|
|
|
|
|
* Sat Nov 22 2014 Automatic Build System <autodist@mambasoft.it> 3.14.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 16 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.1-1mamba
|
|
|
|
- update to 3.14.1
|
|
|
|
|
2024-01-06 07:27:49 +01:00
|
|
|
* Wed Jun 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.2-1mamba
|
|
|
|
- update to 3.12.2
|
|
|
|
|
2024-01-06 07:27:49 +01:00
|
|
|
* Thu Feb 20 2014 Automatic Build System <autodist@mambasoft.it> 3.10.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jan 19 2014 Automatic Build System <autodist@mambasoft.it> 3.10.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Nov 14 2013 Automatic Build System <autodist@mambasoft.it> 3.10.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Nov 04 2013 Automatic Build System <autodist@mambasoft.it> 3.10.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 12 2013 Automatic Build System <autodist@mambasoft.it> 3.9.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Jun 24 2013 Automatic Build System <autodist@mambasoft.it> 3.9.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed May 29 2013 Automatic Build System <autodist@mambasoft.it> 3.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed May 01 2013 Automatic Build System <autodist@mambasoft.it> 3.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Apr 16 2013 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Apr 10 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Automatic Build System <autodist@mambasoft.it> 3.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Nov 23 2012 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 16 2012 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 27 2012 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
|
|
|
|
- update to 3.6.0
|
|
|
|
|
|
|
|
* Sat Sep 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.1-2mamba
|
|
|
|
- move typelib file from libmutter-devel to libmutter package
|
|
|
|
|
|
|
|
* Sat Sep 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.1-1mamba
|
|
|
|
- package created by autospec
|