]> git.pld-linux.org Git - packages/xfce4-session.git/blame - xfce4-session.spec
- up to 4.18.2
[packages/xfce4-session.git] / xfce4-session.spec
CommitLineData
78bcb2b8 1%define xfce_version 4.18.0
90fb5b46 2Summary: Xfce session manager
1b379805 3Summary(pl.UTF-8): Zarządca sesji Xfce
2468eed7 4Name: xfce4-session
aaa727e4 5Version: 4.18.2
3d991e6b 6Release: 1
2447a5b7 7License: GPL v2
2468eed7 8Group: X11/Applications
78bcb2b8 9Source0: https://archive.xfce.org/src/xfce/xfce4-session/4.18/%{name}-%{version}.tar.bz2
aaa727e4 10# Source0-md5: 0362631bae9673f6fc6c579a4eb8e4d9
78bcb2b8 11URL: https://www.xfce.org/projects/xfce4-session
92366a10
MC
12BuildRequires: autoconf >= 2.50
13BuildRequires: automake
0411df3f
MB
14BuildRequires: dbus-devel >= 1.0.0
15BuildRequires: dbus-glib-devel >= 0.74
649370db 16BuildRequires: gettext-tools
667f44b9 17BuildRequires: gtk+3-devel
90fb5b46 18BuildRequires: intltool >= 0.35.0
92366a10 19BuildRequires: libtool
667f44b9 20BuildRequires: libwnck-devel
30a1bc65 21BuildRequires: libxfce4ui-devel >= 4.18.2
fb518912 22BuildRequires: libxfce4util-devel >= %{xfce_version}
749bda85 23BuildRequires: pkgconfig
b135412d 24BuildRequires: polkit-devel
78bcb2b8 25BuildRequires: rpmbuild(macros) >= 2.000
b135412d 26BuildRequires: systemd-devel
fb518912 27BuildRequires: xfce4-dev-tools >= %{xfce_version}
0afaf3f7 28BuildRequires: xfconf-devel >= %{xfce_version}
0411df3f 29BuildRequires: xorg-lib-libSM-devel
4635d635
MB
30Requires: gtk-update-icon-cache
31Requires: hicolor-icon-theme
32Requires: upower
84007a6f 33Requires: xfce-polkit
0d93a35f 34Requires: xfce4-dirs >= 4.6
7433db3c 35Requires: xorg-app-iceauth
8b541e01 36Obsoletes: xfce-utils
0d93a35f
KM
37Obsoletes: xfce4-session-devel < 4.16.0
38Obsoletes: xfce4-session-libs < 4.16.0
39Obsoletes: xfce4-session-static < 4.16.0
40Obsoletes: xfce4-toys
7e6cafa6
MC
41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43%description
7f1593b2 44xfce4-session is the session manager for the Xfce desktop environment.
7e6cafa6 45
b4b4bb52
JR
46%description -l pl.UTF-8
47xfce4-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
68rm -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
83rm -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*
This page took 0.218741 seconds and 4 git commands to generate.