modified install path for auto start in emulator
[platform/adaptation/emulator/spice-vdagent.git] / packaging / spice-vdagent.spec
1 Name: spice-vdagent
2 Version: 0.15.1
3 Release: 1
4 Summary: This is used for spice input communication
5 License: GPL-3.0
6 Source0: %{name}-%{version}.tar.gz
7 Source1001: packaging/spice-vdagent.manifest
8 BuildRequires: pkgconfig(xfixes)
9 BuildRequires: pkgconfig(xrandr)
10 BuildRequires: pkgconfig(xinerama)
11 BuildRequires: pkgconfig(x11)
12 BuildRequires: pkgconfig(glib-2.0)
13 BuildRequires: pkgconfig(pciaccess)
14 BuildRequires: spice-protocol
15
16 %description
17
18 %prep
19 %setup -q
20
21 %build
22 ./configure --prefix=%{_prefix}
23
24 make
25
26 %install
27
28 %clean
29 make clean
30 rm -rf CMakeCache.txt
31 rm -rf CMakeFiles
32 rm -rf cmake_install.cmake
33 rm -rf Makefile
34 rm -rf install_manifest.txt
35
36 %post
37
38 %postun
39
40 %files
41 %defattr(-,root,root,-)
42 /usr/bin/spice-vdagent
43 /usr/etc/rsyslog.d/spice-vdagentd.conf
44 /usr/etc/xdg/autostart/spice-vdagent.desktop
45 /usr/sbin/spice-vdagentd
46 /usr/share/gdm/autostart/LoginWindow/spice-vdagent.desktop
47 /usr/share/man/man1/spice-vdagent.1.gz
48 /usr/share/man/man1/spice-vdagentd.1.gz
49
50 %changelog