Name: deepin-metacity Version: 3.22.22 Release: 1%{?dist} Summary: 2D window manager for Deepin License: GPLv2+ URL: https://github.com/linuxdeepin/deepin-metacity Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: intltool BuildRequires: itstool BuildRequires: libtool BuildRequires: yelp-tools BuildRequires: autoconf-archive BuildRequires: pkgconfig(libbamf3) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gsettings-desktop-schemas) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libcanberra) BuildRequires: pkgconfig(libcanberra-gtk3) BuildRequires: pkgconfig(libgtop-2.0) BuildRequires: pkgconfig(libstartup-notification-1.0) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(xkbcommon) BuildRequires: zenity Requires: dconf Requires: deepin-desktop-schemas Requires: control-center-filesystem %description 2D window manager for Deepin. %package devel Summary: Development package for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Header files and libraries for %{name}. %prep %setup -q sed -i '/Window/s|Win|X-Win|' src/metacity-wm.desktop.in sed -i 's|default_background.jpg|default.png|' src/ui/*.c %build ./autogen.sh %configure \ --disable-static \ --disable-schemas-compile %make_build %install %make_install PREFIX=%{_prefix} # Remove libtool archives find %{buildroot} -name '*.la' -delete %find_lang %{name} %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop \ %{buildroot}%{_datadir}/gnome/wm-properties/%{name}-wm.desktop %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %doc README %license COPYING %{_bindir}/%{name}* %{_libdir}/lib%{name}*.so.* %dir %{_datadir}/GConf/ %dir %{_datadir}/GConf/gsettings/ %{_datadir}/GConf/gsettings/%{name}-schemas.convert %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name}/ %{_datadir}/glib-2.0/schemas/com.deepin.*.xml %{_datadir}/gnome-control-center/keybindings/50-%{name}-*.xml %{_datadir}/gnome/wm-properties/%{name}-wm.desktop %{_datadir}/help/ %{_datadir}/themes/ %{_mandir}/man1/%{name}* %files devel %{_includedir}/%{name}/ %{_libdir}/pkgconfig/lib%{name}*.pc %{_libdir}/lib%{name}*.so %changelog * Thu Aug 2 2018 mosquito - 3.22.20-1 - Update to 3.22.20 * Fri Jul 27 2018 mosquito - 3.22.19-1 - Update to 3.22.19 * Tue Mar 20 2018 mosquito - 3.22.15-1 - Update to 3.22.15 * Wed Feb 07 2018 Fedora Release Engineering - 3.22.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Nov 15 2017 mosquito - 3.22.13-1 - Update to 3.22.13 * Sat Aug 5 2017 mosquito - 3.22.10-1 - Fix license * Fri Jul 14 2017 mosquito - 3.22.10-1.gite9af397 - Update to 3.22.10 * Fri May 19 2017 mosquito - 3.22.8-1.gitcb3e4c5 - Update to 3.22.8 * Sun Feb 26 2017 mosquito - 3.22.3-1.git4a90335 - Update to 3.22.3 * Tue Jan 17 2017 mosquito - 3.22.0-1.gitb633b85 - Update to 3.22.0 * Mon Jan 16 2017 Jaroslav Stepanek 3.22.0-1 - Update to version 3.22.0 * Thu Jan 05 2017 Jaroslav Stepanek 3.20.6-2 - Split the package to main and devel * Fri Dec 16 2016 Jaroslav Stepanek 3.20.6-1 - Update to version 3.20.6 * Sun Sep 18 2016 Jaroslav Stepanek 3.20.5-1 - Initial package build