]> git.pld-linux.org Git - packages/xfce4-session.git/blob - xfce4-session.spec
c969d500c580af83c480941d18a51542ee66c869
[packages/xfce4-session.git] / xfce4-session.spec
1 %define         xfce_version    4.18.0
2 Summary:        Xfce session manager
3 Summary(pl.UTF-8):      Zarządca sesji Xfce
4 Name:           xfce4-session
5 Version:        4.18.1
6 Release:        1
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        https://archive.xfce.org/src/xfce/xfce4-session/4.18/%{name}-%{version}.tar.bz2
10 # Source0-md5:  3f6e20b6f528adcd62085dce7a153297
11 URL:            https://www.xfce.org/projects/xfce4-session
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  dbus-devel >= 1.0.0
15 BuildRequires:  dbus-glib-devel >= 0.74
16 BuildRequires:  gettext-tools
17 BuildRequires:  gtk+3-devel
18 BuildRequires:  intltool >= 0.35.0
19 BuildRequires:  libtool
20 BuildRequires:  libwnck-devel
21 BuildRequires:  libxfce4ui-devel >= 4.18.2
22 BuildRequires:  libxfce4util-devel >= %{xfce_version}
23 BuildRequires:  pkgconfig
24 BuildRequires:  polkit-devel
25 BuildRequires:  rpmbuild(macros) >= 2.000
26 BuildRequires:  systemd-devel
27 BuildRequires:  xfce4-dev-tools >= %{xfce_version}
28 BuildRequires:  xfconf-devel >= %{xfce_version}
29 BuildRequires:  xorg-lib-libSM-devel
30 Requires:       gtk-update-icon-cache
31 Requires:       hicolor-icon-theme
32 Requires:       upower
33 Requires:       xfce-polkit
34 Requires:       xfce4-dirs >= 4.6
35 Requires:       xorg-app-iceauth
36 Obsoletes:      xfce-utils
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
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 %description
44 xfce4-session is the session manager for the Xfce desktop environment.
45
46 %description -l pl.UTF-8
47 xfce4-session jest zarządcą sesji dla środowiska Xfce.
48
49 %prep
50 %setup -q
51
52 %build
53 %{__intltoolize}
54 %{__libtoolize}
55 %{__aclocal}
56 %{__autoheader}
57 %{__automake}
58 %{__autoconf}
59 %configure \
60         --enable-systemd \
61         %{!?with_static_libs:--disable-static} \
62         --disable-silent-rules \
63         ICEAUTH=/usr/bin/iceauth
64
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 # just a copy or ur
74 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK
75 # unsupported
76 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,hye,ie}
77 # unify
78 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy}
79
80 %find_lang %{name}
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post
86 %update_icon_cache hicolor
87
88 %postun
89 %update_icon_cache hicolor
90
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc AUTHORS COPYING ChangeLog NEWS TODO
94 %attr(755,root,root) %{_bindir}/startxfce4
95 %attr(755,root,root) %{_bindir}/xflock4
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
99 %dir %{_libdir}/xfce4/session
100 %attr(755,root,root) %{_libdir}/xfce4/session/xfsm-shutdown-helper
101 %{_sysconfdir}/xdg/autostart/*.desktop
102 %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
103 %{_sysconfdir}/xdg/xfce4/Xft.xrdb
104 %{_sysconfdir}/xdg/xfce4/xinitrc
105
106 %{_datadir}/polkit-1/actions/org.xfce.session.policy
107 %{_datadir}/xsessions/xfce.desktop
108 %{_desktopdir}/*.desktop
109 %{_iconsdir}/hicolor/*/*/*
110 %{_mandir}/man1/*.1*
This page took 0.0588 seconds and 2 git commands to generate.