]> git.pld-linux.org Git - packages/needrestart-session.git/blob - needrestart-session.spec
update desktop db
[packages/needrestart-session.git] / needrestart-session.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        check for processes need to be restarted in user sessions
3 Name:           needrestart-session
4 Version:        0.3
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        https://github.com/liske/needrestart-session/archive/v%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5:  ea07cb200f2ac2162198ac0475f0213e
10 URL:            https://github.com/liske/needrestart-session
11 BuildRequires:  rpm-perlprov >= 4.1-13
12 Requires:       dbus
13 Requires:       desktop-file-utils
14 Requires:       grep
15 Requires:       needrestart >= 2.0
16 Requires:       polkit
17 Requires:       procps
18 Requires:       wmctrl
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _libexecdir     %{_prefix}/lib/%{name}
23
24 %description
25 needrestart checks which processes need to be restarted after library
26 upgrades. needrestart-session implements a notification of user
27 sessions about their obsolete processes after system upgrades.
28
29 %prep
30 %setup -q
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 %{__make} install \
35         DESTDIR=$RPM_BUILD_ROOT
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %post
41 %update_desktop_database
42
43 %postun
44 %update_desktop_database
45
46 %files
47 %defattr(644,root,root,755)
48 %doc AUTHORS README.md ChangeLog
49 %attr(755,root,root) %{_sysconfdir}/needrestart/notify.d/300-needrestart-session
50 %attr(755,root,root) %{_bindir}/needrestart-session
51 %{_desktopdir}/needrestart-session.desktop
52 %{_desktopdir}/needrestart.desktop
53 /etc/dbus-1/system.d/net.ibh.NeedRestart.System.conf
54 /etc/xdg/autostart/needrestart-dbus-session.desktop
55 %{_datadir}/dbus-1/system-services/net.ibh.NeedRestart.System.service
56 %dir %{_datadir}/needrestart-session
57 %{_datadir}/needrestart-session/needrestart.svg
58 %{_datadir}/needrestart-session/needrestart.xpm
59 %dir %{_libexecdir}
60 %attr(755,root,root) %{_libexecdir}/needrestart-dbus-session
61 %attr(755,root,root) %{_libexecdir}/needrestart-dbus-system
62 %attr(755,root,root) %{_libexecdir}/needrestart-x11
This page took 0.06135 seconds and 3 git commands to generate.