d955fae997b0b3bf7214b9077375e52086cbc048
[profile/ivi/GUPnP-AV.git] / packaging / GUPnP-AV.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:       gupnp-av
9 Summary:    GUPnP-AV is a collection of helpers for building UPnP AV applications
10 Version:    0.11.2
11 Release:    0
12 Group:      System/Libraries
13 License:    LGPLv2+
14 URL:        http://www.gupnp.org/
15 Source0:    http://download.gnome.org/sources/%{name}/0.11/%{name}-%{version}.tar.gz
16 Requires(post): /sbin/ldconfig
17 Requires(postun): /sbin/ldconfig
18 BuildRequires:  pkgconfig(gupnp-1.0)
19 BuildRequires:  pkgconfig(glib-2.0)
20 BuildRequires:  pkgconfig(gobject-2.0)
21 BuildRequires:  pkgconfig(libxml-2.0)
22
23
24 %description
25 GUPnP is an object-oriented open source framework for creating UPnP
26 devices and control points, written in C using GObject and libsoup.
27 The GUPnP API is intended to be easy to use, efficient and flexible.
28
29 GUPnP-AV is a collection of helpers for building AV (audio/video)
30 applications using GUPnP.
31
32
33
34 %package devel
35 Summary:    Development package for gupnp-av
36 Group:      Development/Libraries
37 Requires:   %{name} = %{version}-%{release}
38
39 %description devel
40 Files for development with gupnp-av.
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
54 make %{?jobs:-j%jobs}
55
56 # >> build post
57 # << build post
58 %install
59 rm -rf %{buildroot}
60 # >> install pre
61 # << install pre
62 %make_install
63
64 # >> install post
65 rm -rf  $RPM_BUILD_ROOT%{_datadir}/gtk-doc
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 README
82 %{_libdir}/*.so.*
83 # << files
84
85
86 %files devel
87 %defattr(-,root,root,-)
88 # >> files devel
89 %{_includedir}/gupnp-av-1.0/libgupnp-av
90 %{_libdir}/*.so
91 %{_libdir}/pkgconfig/gupnp-av-1.0.pc
92 %{_datadir}/gupnp-av/*.xsd
93 # << files devel
94