1 Star 0 Fork 8

misaka00251/xfce4-session

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xfce4-session.spec 3.02 KB
一键复制 编辑 原始数据 按行查看 历史
misaka00251 提交于 2024-03-12 12:13 . Update to 4.18.3
%global xfceversion 4.18
Name: xfce4-session
Version: 4.18.3
Release: 1
Summary: Xfce session manager
License: GPLv2+
URL: http://www.xfce.org/
Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
# Add a xfce-mimeapps.list to allow setting mime handlers for Xfce apps
Source2: xfce-mimeapps.list
# Patch startxfce4 to keep it on the same vty for logind
Patch1: xfce-session-4.10-startxfce4.patch
BuildRequires: make
BuildRequires: dbus-devel >= 1.1.0
BuildRequires: dbus-glib-devel >= 0.84
BuildRequires: glib2-devel >= 2.24.0
BuildRequires: libSM-devel
BuildRequires: libwnck3-devel >= 3.14
BuildRequires: libxfce4ui-devel >= %{xfceversion}
BuildRequires: startup-notification-devel
BuildRequires: xfce4-panel-devel >= %{xfceversion}
BuildRequires: xfconf-devel >= %{xfceversion}
BuildRequires: iceauth xrdb xset
# Build tools
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: libxslt
#BuildRequires: libxml2
BuildRequires: systemd-devel >= 195
BuildRequires: polkit-devel
BuildRequires: libtool
Requires: iceauth xrdb xset
Requires: xfce-polkit >= 0.2-2
Requires: systemd >= 195
# Needed for exo desktop preferred applications
Requires: exo
Suggests: imsettings-xfce
Suggests: xfce4-screensaver
Obsoletes: xfce-utils < 4.8.3-7
# splash screens no longer exists
Obsoletes: xfce4-session-engines <= 4.13.1
Obsoletes: xfce4-session-devel <= 4.13.3
%description
xfce4-session is the session manager for the Xfce desktop environment.
%prep
%autosetup -p1
%build
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build
%install
%make_install
# remove xscreensaver autostart file
rm -fr %{buildroot}%{_sysconfdir}/xdg/autostart/xscreensaver.desktop
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
%find_lang %{name}
# install our xfce-mimeapps.list file to set mime handlers
mkdir -p %{buildroot}%{_datadir}/applications
cp -a %{SOURCE2} %{buildroot}%{_datadir}/applications/xfce-mimeapps.list
%files -f %{name}.lang
%license COPYING
%doc AUTHORS BUGS ChangeLog NEWS TODO
%doc doc/FAQ doc/NEWS.pre-4.3 doc/README.Kiosk
%{_sysconfdir}/xdg/xfce4
%{_bindir}/*
%dir %{_libdir}/xfce4/session/
%{_libdir}/xfce4/session/xfsm-shutdown-helper
%{_datadir}/applications/*.desktop
%{_datadir}/applications/xfce-mimeapps.list
%{_datadir}/xsessions/xfce.desktop
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/polkit-1/actions/org.xfce.session.policy
%{_mandir}/man1/*
%changelog
* Feb Mar 12 2024 misaka00251 <liuxin@iscas.ac.cn> - 4.18.3-1
- Update to 4.18.3
* Wed Jan 04 2023 misaka00251 <liuxin@iscas.ac.cn> - 4.18.0-1
- Update to 4.18.0
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 4.16.0-1
- Update to 4.16.0
* Sun Jul 12 2021 Dillon Chen <dillon.chen@turbolinux.com.cn> - 4.14.2-1
- Init package
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/misaka00251/xfce4-session.git
git@gitee.com:misaka00251/xfce4-session.git
misaka00251
xfce4-session
xfce4-session
master

搜索帮助