metacity/metacity.spec

121 lines
3.5 KiB
RPMSpec
Raw Permalink Normal View History

2019-09-30 11:04:37 -04:00
Name: metacity
2021-12-04 14:38:38 +08:00
Version: 3.37.1
2024-02-22 08:02:58 +00:00
Release: 6
2019-09-30 11:04:37 -04:00
Summary: Window Manager for the MATE and GNOME Flashback desktops
License: GPLv2+
URL: https://download.gnome.org/sources/metacity/
2021-12-04 14:38:38 +08:00
Source0: https://download.gnome.org/sources/metacity/3.37/%{name}-%{version}.tar.xz
2019-09-30 11:04:37 -04:00
BuildRequires: libXinerama-devel libSM-devel libICE-devel libX11-devel desktop-file-utils itstool
2022-04-01 10:48:00 +08:00
BuildRequires: autoconf, automake, gettext-devel, libtool, gnome-common yelp-tools zenity
2021-12-04 14:38:38 +08:00
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)
2022-04-01 10:48:00 +08:00
BuildRequires: pkgconfig(xres) vulkan-devel
%endif
2020-07-30 11:33:00 +08:00
BuildRequires: pkgconfig(libstartup-notification-1.0) pkgconfig(xcomposite) pkgconfig(xfixes) pkgconfig(xrender)
BuildRequires: pkgconfig(xdamage) pkgconfig(xrender) pkgconfig(xcursor) pkgconfig(libgtop-2.0)
2019-09-30 11:04:37 -04:00
Requires: startup-notification gsettings-desktop-schemas zenity
Provides: firstboot(windowmanager) = metacity
2023-08-07 02:34:58 +00:00
Patch6000: backport-compositor-vulkan-fix-build.patch
2024-02-22 08:02:58 +00:00
Patch6001: backport-remove-window-shading.patch
2023-08-07 02:34:58 +00:00
2022-04-01 10:48:00 +08:00
%if !0%{?openEuler}
Patch9000: huawei-remove-XResQueryClientIds-to-get-pid.patch
%endif
2019-09-30 11:04:37 -04:00
%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
2023-08-14 17:08:57 +08:00
CPPFLAGS="$CPPFLAGS -I%{_builddir}/%{_includedir}"
2019-09-30 11:04:37 -04:00
export CPPFLAGS
rm -f configure
(if ! test -x configure; then autoreconf -i -f; fi;
%configure \
%if !0%{?openEuler}
--disable-canberra \
%endif
--disable-schemas-compile)
2019-09-30 11:04:37 -04:00
make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS" %{?_smp_mflags}
%install
%make_install
%delete_la_and_a
%ldconfig_scriptlets
%files
%defattr(-,root,root)
2019-11-06 19:43:10 +08:00
%doc AUTHORS
%license COPYING
2019-09-30 11:04:37 -04:00
%{_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)
2021-12-04 14:38:38 +08:00
%doc HACKING NEWS rationales.txt README
2019-09-30 11:04:37 -04:00
%{_mandir}/man1/*.gz
%changelog
2024-02-22 08:02:58 +00:00
* Thu Feb 22 2024 zhangpan <zhangpan103@h-partners.com> - 3.37.1-6
- remove window shading
2023-08-14 17:08:57 +08:00
* Mon Aug 14 2023 liyunfei <liyunfei33@huawei.com> - 3.37.1-5
- fix install error with clang toolchain
2023-08-07 02:34:58 +00:00
* Mon Aug 07 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 3.37.1-4
- fix build error
2022-04-01 10:48:00 +08:00
* 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
2021-12-04 14:38:38 +08:00
* Sat Dec 04 2021 wangkerong <wangkerong@huawei.com> - 3.37.1-1
- update to 3.37.1
2020-07-30 11:08:16 +08:00
* Thu Jul 30 2020 hanhui <hanhui15@huawei.com> - 3.37.1-1
- update to 3.36.1
2019-11-06 19:43:10 +08:00
* 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
2019-09-30 11:04:37 -04:00
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.30.1-1
- Package init