1 Star 0 Fork 11

ikernel_Mryao/gnome-desktop3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gnome-desktop3.spec 4.56 KB
一键复制 编辑 原始数据 按行查看 历史
wuzx 提交于 2022-10-20 10:41 . Add sw64 architecture
%global gdk_pixbuf2_version 2.36.5
%global gtk3_version 3.3.6
%global gtk4_version 4.4.0
%global glib2_version 2.53.0
%global gsettings_desktop_schemas_version 3.27.0
%global po_package gnome-desktop-3.0
Name: gnome-desktop3
Version: 42.2
Release: 2
Summary: GNOME is designed to help you use your computer in control.
License: GPLv2+ and LGPLv2+
URL: https://gitlab.gnome.org/GNOME/gnome-desktop
Source0: https://download.gnome.org/sources/gnome-desktop/42/gnome-desktop-%{version}.tar.xz
Source1: gnome-mimeapps.list
Source2: totem-defaults.list
Source3: file-roller-defaults.list
Source4: eog-defaults.list
Source5: evince-defaults.list
Patch0: make-inscript2-default-for-indic-languages.patch
Patch1: gnome-desktop-3.38.6-sw.patch
BuildRequires: gcc gettext itstool meson
BuildRequires: pkgconfig(libudev) pkgconfig(iso-codes)
BuildRequires: pkgconfig(gobject-introspection-1.0) gtk-doc >= 1.14
BuildRequires: pkgconfig(libseccomp) pkgconfig(xkeyboard-config)
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= %{gdk_pixbuf2_version}
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= %{gsettings_desktop_schemas_version}
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
Requires: shared-mime-info
Conflicts: shared-mime-info < 2.0-4
Requires: bubblewrap glib2 >= %{glib2_version}
Requires: gdk-pixbuf2%{?_isa} >= %{gdk_pixbuf2_version}
Requires: glib2%{?_isa} >= %{glib2_version}
Requires: gsettings-desktop-schemas >= %{gsettings_desktop_schemas_version}
Conflicts: gnome-shell < 3.33.4
Obsoletes: compat-gnome-desktop310 < 3.12
%if !0%{?flatpak}
Requires: bubblewrap
%endif
%description
The gnome-desktop3 package has been designed from the ground up to help you have
the best computing experience.
%package devel
Summary: Development files for gnome-desktop3
License: LGPLv2+
Requires: %{name} = %{version}-%{release}
Provides: %{name}-tests = %{version}-%{release}
Obsoletes: %{name}-tests < %{version}-%{release}
%description devel
Development files for gnome-desktop.
%prep
%autosetup -n gnome-desktop-%{version} -p1
%build
%meson -Dgtk_doc=true -Dinstalled_tests=true
%meson_build
%install
%meson_install
%delete_la_and_a
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list
cat %SOURCE2 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list
cat %SOURCE3 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list
cat %SOURCE4 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list
cat %SOURCE5 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list
%find_lang %{po_package} --all-name --with-gnome
%files -f %{po_package}.lang
%doc AUTHORS NEWS README.md
%license COPYING COPYING.LIB
%{_datadir}/gnome/gnome-version.xml
%{_datadir}/applications/gnome-mimeapps.list
%{_libdir}/libgnome-desktop-3.so.19{,.*}
%{_libdir}/libgnome-bg-4.so.1{,.*}
%{_libdir}/libgnome-desktop-4.so.1{,.*}
%{_libdir}/libgnome-rr-4.so.1{,.*}
%{_libdir}/girepository-1.0/GnomeDesktop-3.0.typelib
%{_libdir}/girepository-1.0/Gnome*-4.0.typelib
%{_libexecdir}/gnome-desktop-debug/
%files devel
%{_libdir}/libgnome-desktop-3.so
%{_libdir}/libgnome-*-4.so
%{_libdir}/pkgconfig/gnome-desktop-3.0.pc
%{_libdir}/pkgconfig/gnome-*-4.pc
%{_includedir}/gnome-desktop-3.0
%{_includedir}/gnome-desktop-4.0
%{_datadir}/gir-1.0/GnomeDesktop-3.0.gir
%{_datadir}/gir-1.0/Gnome*-4.0.gir
%doc %{_datadir}/gtk-doc/html/gnome-desktop3/
%{_libexecdir}/installed-tests/gnome-desktop
%{_datadir}/installed-tests
%changelog
* Thu Oct 20 2022 wuzx<wuzx1226@qq.com> - 42.2-2
- add sw64 patch
* Wed Jun 8 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.2-1
- Upgrade to 42.2
* Mon Jun 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.1-1
- Upgrade to 42.1
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.0-1
- Update to 42.0
* Mon May 24 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.6-1
- Upgrade to 3.38.6
- Update Version, BuildRequires, stage install
* Sat Jan 30 2021 yanglu <yanglu60@huawei.com> - 3.38.3-1
- update to 3.38.3
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.30.1-3
- change the path of files
* Wed Sep 18 2019 Lijin Yang <yanglijin@huawei.com> - 3.30.1-2
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ikernel-mryao/gnome-desktop3.git
git@gitee.com:ikernel-mryao/gnome-desktop3.git
ikernel-mryao
gnome-desktop3
gnome-desktop3
master

搜索帮助