4 Star 0 Fork 4

src-openEuler/xfce4-screensaver

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xfce4-screensaver.spec 3.25 KB
一键复制 编辑 原始数据 按行查看 历史
misaka00251 提交于 2024-03-12 17:56 . Update to 4.18.3
%global minorversion 4.18
Name: xfce4-screensaver
Version: 4.18.3
Release: 1
Summary: Screensaver application for Xfce Desktop
License: GPLv2 and LGPLv2
URL: https://git.xfce.org/apps/xfce4-screensaver/
Source0: https://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-c++
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(libxklavier)
BuildRequires: pkgconfig(xscrnsaver)
BuildRequires: pkgconfig(libxfce4ui-2)
BuildRequires: pkgconfig(libxfconf-0)
BuildRequires: pkgconfig(garcon-gtk3-1)
BuildRequires: libwnck3-devel
BuildRequires: systemd-devel
BuildRequires: pam-devel
BuildRequires: desktop-file-utils
BuildRequires: intltool
Requires: xfdesktop
Requires: xfconf
Requires: xfce4-session
%description
xfce4-screensaver is a screen saver and locker that aims to have
simple, sane, secure defaults and be well integrated with the desktop.
xfce-screensaver is a port of MATE Screensaver, itself a port of GNOME
Screensaver. It has been tightly integrated with the Xfce desktop, utilizing
Xfce libraries and the Xfconf configuration backend.
%prep
%autosetup
%build
%configure --with-systemd --enable-pam --enable-locking
%make_build
%install
%make_install
for file in %{buildroot}%{_datadir}/applications/screensavers/*.desktop ; do
desktop-file-install \
--add-category="X-XFCE" \
--delete-original \
--dir=%{buildroot}%{_datadir}/applications/screensavers \
$file
done
desktop-file-install \
--add-category="X-XFCE" \
--delete-original \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/%{name}-preferences.desktop
%find_lang %{name}
%files -f %{name}.lang
%license COPYING COPYING.LGPL
%{_sysconfdir}/pam.d/xfce4-screensaver
%{_sysconfdir}/xdg/autostart/xfce4-screensaver.desktop
%{_sysconfdir}/xdg/menus/xfce4-screensavers.menu
%{_bindir}/%{name}
%{_bindir}/xfce4-screensaver-command
%{_bindir}/xfce4-screensaver-configure
%{_bindir}/xfce4-screensaver-preferences
%{_libexecdir}/xfce4-screensaver-dialog
%{_libexecdir}/xfce4-screensaver-gl-helper
%{_datadir}/icons/hicolor/*/apps/org.xfce.ScreenSaver.*
%{_datadir}/applications/screensavers/xfce-personal-slideshow.desktop
%{_datadir}/applications/screensavers/xfce-popsquares.desktop
%{_datadir}/applications/screensavers/xfce-floaters.desktop
%{_datadir}/applications/xfce4-screensaver-preferences.desktop
%{_datadir}/dbus-1/services/org.xfce.ScreenSaver.service
%{_datadir}/desktop-directories/xfce4-screensaver.directory
%{_mandir}/man1/xfce4-screensaver-command.1.*
%{_mandir}/man1/xfce4-screensaver-preferences.1.*
%{_mandir}/man1/xfce4-screensaver.1.*
%{_datadir}/pixmaps/xfce-logo-white.svg
%{_libexecdir}/%{name}
%changelog
* Tue Mar 12 2024 misaka00251 <liuxin@iscas.ac.cn> - 4.18.3-1
- Update to 4.18.3
* Mon Jun 20 2022 zhanglin <lin.zhang@turbolinux.com.cn> - 4.16.0-1
- Update to 4.16.0
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 0.1.11-1
- Update to 0.1.11
* Fri Jul 17 2020 <dillon.chen@turbolinux.com.cn> - 0.1.10-1
- Init package
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/xfce4-screensaver.git
git@gitee.com:src-openeuler/xfce4-screensaver.git
src-openeuler
xfce4-screensaver
xfce4-screensaver
master

搜索帮助