]>
Commit | Line | Data |
---|---|---|
78bcb2b8 | 1 | %define xfce_version 4.18.0 |
90fb5b46 | 2 | Summary: Xfce session manager |
1b379805 | 3 | Summary(pl.UTF-8): Zarządca sesji Xfce |
2468eed7 | 4 | Name: xfce4-session |
30a1bc65 | 5 | Version: 4.18.1 |
3d991e6b | 6 | Release: 1 |
2447a5b7 | 7 | License: GPL v2 |
2468eed7 | 8 | Group: X11/Applications |
78bcb2b8 | 9 | Source0: https://archive.xfce.org/src/xfce/xfce4-session/4.18/%{name}-%{version}.tar.bz2 |
30a1bc65 | 10 | # Source0-md5: 3f6e20b6f528adcd62085dce7a153297 |
78bcb2b8 | 11 | URL: https://www.xfce.org/projects/xfce4-session |
92366a10 MC |
12 | BuildRequires: autoconf >= 2.50 |
13 | BuildRequires: automake | |
0411df3f MB |
14 | BuildRequires: dbus-devel >= 1.0.0 |
15 | BuildRequires: dbus-glib-devel >= 0.74 | |
649370db | 16 | BuildRequires: gettext-tools |
667f44b9 | 17 | BuildRequires: gtk+3-devel |
90fb5b46 | 18 | BuildRequires: intltool >= 0.35.0 |
92366a10 | 19 | BuildRequires: libtool |
667f44b9 | 20 | BuildRequires: libwnck-devel |
30a1bc65 | 21 | BuildRequires: libxfce4ui-devel >= 4.18.2 |
fb518912 | 22 | BuildRequires: libxfce4util-devel >= %{xfce_version} |
749bda85 | 23 | BuildRequires: pkgconfig |
b135412d | 24 | BuildRequires: polkit-devel |
78bcb2b8 | 25 | BuildRequires: rpmbuild(macros) >= 2.000 |
b135412d | 26 | BuildRequires: systemd-devel |
fb518912 | 27 | BuildRequires: xfce4-dev-tools >= %{xfce_version} |
0afaf3f7 | 28 | BuildRequires: xfconf-devel >= %{xfce_version} |
0411df3f | 29 | BuildRequires: xorg-lib-libSM-devel |
4635d635 MB |
30 | Requires: gtk-update-icon-cache |
31 | Requires: hicolor-icon-theme | |
32 | Requires: upower | |
84007a6f | 33 | Requires: xfce-polkit |
0d93a35f | 34 | Requires: xfce4-dirs >= 4.6 |
7433db3c | 35 | Requires: xorg-app-iceauth |
8b541e01 | 36 | Obsoletes: xfce-utils |
0d93a35f KM |
37 | Obsoletes: xfce4-session-devel < 4.16.0 |
38 | Obsoletes: xfce4-session-libs < 4.16.0 | |
39 | Obsoletes: xfce4-session-static < 4.16.0 | |
40 | Obsoletes: xfce4-toys | |
7e6cafa6 MC |
41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42 | ||
43 | %description | |
7f1593b2 | 44 | xfce4-session is the session manager for the Xfce desktop environment. |
7e6cafa6 | 45 | |
b4b4bb52 JR |
46 | %description -l pl.UTF-8 |
47 | xfce4-session jest zarządcą sesji dla środowiska Xfce. | |
fbe60487 | 48 | |
7e6cafa6 | 49 | %prep |
1816fcda | 50 | %setup -q |
7e6cafa6 MC |
51 | |
52 | %build | |
35a64ea6 | 53 | %{__intltoolize} |
92366a10 | 54 | %{__libtoolize} |
90fb5b46 | 55 | %{__aclocal} |
92366a10 MC |
56 | %{__autoheader} |
57 | %{__automake} | |
58 | %{__autoconf} | |
0a490466 | 59 | %configure \ |
df112423 | 60 | --enable-systemd \ |
90fb5b46 | 61 | %{!?with_static_libs:--disable-static} \ |
4635d635 | 62 | --disable-silent-rules \ |
7433db3c | 63 | ICEAUTH=/usr/bin/iceauth |
0411df3f MB |
64 | |
65 | %{__make} | |
7e6cafa6 MC |
66 | |
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
40030604 | 69 | |
7e6cafa6 | 70 | %{__make} install \ |
40030604 | 71 | DESTDIR=$RPM_BUILD_ROOT |
9fc6dfd2 | 72 | |
84007a6f | 73 | # just a copy or ur |
0d93a35f KM |
74 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK |
75 | # unsupported | |
78bcb2b8 | 76 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,hye,ie} |
84007a6f JR |
77 | # unify |
78 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy} | |
3b4a66dd | 79 | |
40030604 | 80 | %find_lang %{name} |
7e6cafa6 MC |
81 | |
82 | %clean | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
3bfa1188 MB |
85 | %post |
86 | %update_icon_cache hicolor | |
87 | ||
88 | %postun | |
89 | %update_icon_cache hicolor | |
90 | ||
40030604 | 91 | %files -f %{name}.lang |
7e6cafa6 | 92 | %defattr(644,root,root,755) |
0d93a35f | 93 | %doc AUTHORS COPYING ChangeLog NEWS TODO |
242e8911 JR |
94 | %attr(755,root,root) %{_bindir}/startxfce4 |
95 | %attr(755,root,root) %{_bindir}/xflock4 | |
0411df3f MB |
96 | %attr(755,root,root) %{_bindir}/xfce4-session |
97 | %attr(755,root,root) %{_bindir}/xfce4-session-logout | |
98 | %attr(755,root,root) %{_bindir}/xfce4-session-settings | |
4635d635 | 99 | %dir %{_libdir}/xfce4/session |
4635d635 | 100 | %attr(755,root,root) %{_libdir}/xfce4/session/xfsm-shutdown-helper |
3bfa1188 | 101 | %{_sysconfdir}/xdg/autostart/*.desktop |
0411df3f | 102 | %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml |
242e8911 JR |
103 | %{_sysconfdir}/xdg/xfce4/Xft.xrdb |
104 | %{_sysconfdir}/xdg/xfce4/xinitrc | |
92366a10 | 105 | |
0afaf3f7 | 106 | %{_datadir}/polkit-1/actions/org.xfce.session.policy |
242e8911 | 107 | %{_datadir}/xsessions/xfce.desktop |
92366a10 MC |
108 | %{_desktopdir}/*.desktop |
109 | %{_iconsdir}/hicolor/*/*/* | |
fbe60487 | 110 | %{_mandir}/man1/*.1* |