ddef56b48915e805cc2b389c00f87f61914be024
[profile/ivi/renderer-service-upnp.git] / packaging / renderer-service-upnp.spec
1
2 # Do NOT Edit the Auto-generated Part!
3 # Generated by: spectacle version 0.22
4
5 # >> macros
6 # << macros
7
8 Name:       renderer-service-upnp
9 Summary:    A high level API for discovering and manipulating digital media renderers.
10 Version:    0.0.4
11 Release:    0
12 Group:      System/Libraries
13 License:    LGPLv2+
14 URL:        https://01.org/dleyna/
15 Source0:    %{name}-%{version}.tar.gz
16 Requires(post): /sbin/ldconfig
17 Requires(postun): /sbin/ldconfig
18 BuildRequires:  pkgconfig(dbus-1)
19 BuildRequires:  pkgconfig(glib-2.0)
20 BuildRequires:  pkgconfig(gio-2.0)
21 BuildRequires:  pkgconfig(gupnp-1.0)
22 BuildRequires:  pkgconfig(gupnp-av-1.0)
23 BuildRequires:  pkgconfig(libsoup-2.4)
24
25
26 %description
27 Renderer-service-upnp is a high level d-Bus API that allows
28 client applications to discover and manipulate UPNP and DLNA media
29 renderers.  Renderer-service-upnp is a d-Bus service implemented on
30 top of the GUPnP libraries.  It is designed to facilitate the creation
31 of Digital Media Controllers (DMCs), in conjunction with
32 media-service-upnp, and to implement the DLNA 2-box push use case.
33
34 %package devel
35 Summary:    Development files for renderer-service-upnp
36 Group:      Development/Libraries
37 Requires:   %{name} = %{version}-%{release}
38
39 %description devel
40 Development files for renderer-service-upnp
41
42
43 %prep
44 %setup -q -n %{name}-%{version}
45
46 # >> setup
47 # << setup
48
49 %build
50 # >> build pre
51 # << build pre
52
53 %configure --disable-static --enable-debug --disable-never-quit --with-log-level=8 --with-log-type=1
54
55 make %{?jobs:-j%jobs}
56
57 # >> build post
58 # << build post
59 %install
60 rm -rf %{buildroot}
61 # >> install pre
62 # << install pre
63 %make_install
64
65 # >> install post
66 # << install post
67
68
69
70 %post -p /sbin/ldconfig
71
72 %postun -p /sbin/ldconfig
73
74
75
76
77
78 %files
79 %defattr(-,root,root,-)
80 # >> files
81 %doc AUTHORS COPYING 
82 %{_bindir}/renderer-service-upnp
83 %{_sysconfdir}/renderer-service-upnp.conf
84 %{_prefix}/share/dbus-1/services/*
85 # << files
86
87
88 %files devel
89 %defattr(-,root,root,-)
90 # >> files devel
91 %{_libdir}/pkgconfig/renderer-service-upnp.pc
92 # << files devel
93