Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
4cbb9abc1e
!51 Remove rpath
From: @jxy_git 
Reviewed-by: @open-bot, @yangzhao_kl 
Signed-off-by: @yangzhao_kl, @open-bot
2024-06-21 02:07:20 +00:00
jxy_git
abf5bcec63 Remove rpath 2024-06-20 15:38:34 +08:00
openeuler-ci-bot
19295c9188
!47 rebuild for glib2 without sysprof and add requires sysprof-capture-4
From: @han_hui_hui 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2024-02-20 06:26:01 +00:00
hanhuihui
b2094ed312 rebuild for glib2 without sysprof and add requires sysprof-capture-4 2024-02-19 20:36:40 +08:00
openeuler-ci-bot
4b296806da
!41 [sync] PR-40: remove rpath
From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2024-02-19 12:18:05 +00:00
lwg
d6b0b20313 remove rpath
(cherry picked from commit 39e977530246184b7e1bc5845d5b017bfc36e6b5)
2023-12-07 14:16:33 +08:00
openeuler-ci-bot
af2ce7a73e
!32 [sync] PR-27: 添加sw架构
From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2022-12-14 09:28:13 +00:00
Wu Zixuan
4de7e6236b Add sw64 architecture
Signed-off-by: Wu Zixuan <wuzx1226@qq.com>
(cherry picked from commit c68d7bf135815fd82c9bf7b6dd9921f4582b0035)
2022-12-14 14:36:53 +08:00
openeuler-ci-bot
5519379962
!30 [sync] PR-28: add BuildRequires for loongarch64
From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2022-12-14 06:35:53 +00:00
Jingyun Hua
def61a91ea add BuildRequires for loongarch64
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
(cherry picked from commit 6540e17a17b88cdd8a0a73d6ebd9f12fbc1fc9ee)
2022-12-13 10:35:39 +08:00

View File

@ -1,6 +1,7 @@
%define chrpath_delete() (find $RPM_BUILD_ROOT/ -type f -exec file {} ';' | grep -W "ELF" | awk -F ':' '{print $1}' | xargs -i chrpath --delete {})
Name: mutter
Version: 3.38.4
Release: 5
Release: 10
Summary: Window and compositing manager based on Clutter
License: GPLv2+
URL: https://www.gnome.org
@ -19,9 +20,10 @@ BuildRequires: pkgconfig(graphene-gobject-1.0) pkgconfig(libpipewire-0.3) >= 0.3
BuildRequires: gnome-settings-daemon-devel meson
BuildRequires: pkgconfig(wayland-eglstream) xorg-x11-server-Xwayland
BuildRequires: cvt
%ifarch riscv64
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(sysprof-capture-4)
BuildRequires: chrpath
%ifarch riscv64 loongarch64
BuildRequires: pkgconfig(libdrm)
%endif
Obsoletes: mutter-wayland < 3.13.0
@ -57,6 +59,11 @@ developing applications that use %{name}.
%install
%meson_install
%chrpath_delete
chrpath -d %{buildroot}%{_libdir}/mutter-7/*.so.*
chrpath -d %{buildroot}%{_libdir}/lib*.so.*
%delete_la_and_a
%find_lang %{name}
@ -64,7 +71,11 @@ developing applications that use %{name}.
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
mkdir -p %{buildroot}/etc/ld.so.conf.d
%ifarch sw_64
echo "/usr/lib/mutter-7" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%else
echo "/usr/lib64/mutter-7" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%endif
%ldconfig_scriptlets
%files -f %{name}.lang
@ -97,6 +108,21 @@ echo "/usr/lib64/mutter-7" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%{_mandir}/man1/*.1.gz
%changelog
* Thu Jun 20 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 3.38.4-10
- Remove rpath
* Mon Feb 19 2024 hanhuihui<hanhuihui5@huawei.com> - 3.38.4-9
- rebuild for glib2 without sysprof and add requires sysprof-capture-4
* Wed Dec 06 2023 Paul Tohmas <relpeace@yeah.net> - 3.38.4-8
- remove rpath
* Tue Dec 14 2022 wuzx <wuzx1226@qq.com> - 3.38.4-7
- Add sw64 architecture
* Tue Dec 13 2022 huajingyun <huajingyun@loongson.cn> - 3.38.4-6
- add BuildRequires for loongarch64
* Wed Aug 10 2022 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 3.38.4-5
- add BuildRequires for riscv from <xiaoqian@nj.iscas.ac.cn> @ Wed Jan 12 2022