121 lines
3.5 KiB
RPMSpec
121 lines
3.5 KiB
RPMSpec
Name: metacity
|
|
Version: 3.37.1
|
|
Release: 6
|
|
Summary: Window Manager for the MATE and GNOME Flashback desktops
|
|
License: GPLv2+
|
|
URL: https://download.gnome.org/sources/metacity/
|
|
Source0: https://download.gnome.org/sources/metacity/3.37/%{name}-%{version}.tar.xz
|
|
|
|
|
|
BuildRequires: libXinerama-devel libSM-devel libICE-devel libX11-devel desktop-file-utils itstool
|
|
BuildRequires: autoconf, automake, gettext-devel, libtool, gnome-common yelp-tools zenity
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0 pkgconfig(gio-2.0) >= 2.44.0
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) pkgconfig(pango)
|
|
%if %{?openEuler:1}0
|
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
|
BuildRequires: pkgconfig(xres) vulkan-devel
|
|
%endif
|
|
BuildRequires: pkgconfig(libstartup-notification-1.0) pkgconfig(xcomposite) pkgconfig(xfixes) pkgconfig(xrender)
|
|
BuildRequires: pkgconfig(xdamage) pkgconfig(xrender) pkgconfig(xcursor) pkgconfig(libgtop-2.0)
|
|
|
|
Requires: startup-notification gsettings-desktop-schemas zenity
|
|
Provides: firstboot(windowmanager) = metacity
|
|
|
|
Patch6000: backport-compositor-vulkan-fix-build.patch
|
|
Patch6001: backport-remove-window-shading.patch
|
|
|
|
%if !0%{?openEuler}
|
|
Patch9000: huawei-remove-XResQueryClientIds-to-get-pid.patch
|
|
%endif
|
|
|
|
%description
|
|
Metacity is a small window manager, using GTK+ to do everything.
|
|
It is developed mainly for the MATE and GNOME Flashback desktops.
|
|
|
|
%package devel
|
|
Summary: Development files and Header files for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
rm -f src/org.gnome.metacity.gschema.valid
|
|
|
|
%build
|
|
CPPFLAGS="$CPPFLAGS -I%{_builddir}/%{_includedir}"
|
|
export CPPFLAGS
|
|
rm -f configure
|
|
(if ! test -x configure; then autoreconf -i -f; fi;
|
|
%configure \
|
|
%if !0%{?openEuler}
|
|
--disable-canberra \
|
|
%endif
|
|
--disable-schemas-compile)
|
|
|
|
make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS" %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
%delete_la_and_a
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS
|
|
%license COPYING
|
|
%{_bindir}/metacity*
|
|
%{_libdir}/libmetacity.so.*
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/glib-2.0/schemas/*.xml
|
|
%{_datadir}/gnome-control-center/keybindings/*
|
|
%{_datadir}/locale/*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/*
|
|
%{_includedir}/metacity/libmetacity/*.h
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/libmetacity.so
|
|
|
|
%files help
|
|
%defattr(-,root,root)
|
|
%doc HACKING NEWS rationales.txt README
|
|
%{_mandir}/man1/*.gz
|
|
|
|
%changelog
|
|
* Thu Feb 22 2024 zhangpan <zhangpan103@h-partners.com> - 3.37.1-6
|
|
- remove window shading
|
|
|
|
* Mon Aug 14 2023 liyunfei <liyunfei33@huawei.com> - 3.37.1-5
|
|
- fix install error with clang toolchain
|
|
|
|
* Mon Aug 07 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 3.37.1-4
|
|
- fix build error
|
|
|
|
* Fri Apr 1 2022 wuchaochao <wuchaochao4@h-partres.com> - 3.37.1-3
|
|
- remove XResQueryClientIds to get pid and remove BuildRequires:vulkan-devel
|
|
|
|
* Sat Mar 05 2022 hanhui <hanhui15@h-partners.com> - 3.37.1-2
|
|
- custom installation depend on libcanberra
|
|
|
|
* Sat Dec 04 2021 wangkerong <wangkerong@huawei.com> - 3.37.1-1
|
|
- update to 3.37.1
|
|
|
|
* Thu Jul 30 2020 hanhui <hanhui15@huawei.com> - 3.37.1-1
|
|
- update to 3.36.1
|
|
|
|
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.30.1-2
|
|
- Type:bugfix
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:change the directory of the license files
|
|
|
|
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.30.1-1
|
|
- Package init
|