blob: e80deb8d1021383b04fe935b9229a5addde5f53d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.22
#
# >> macros
# << macros
Name: gupnp-dlna
Summary: Utility library for easing DLNA-related tasks
Version: 0.6.6
Release: 0
Group: Applications/Multimedia
License: LGPLv2.1
URL: http://www.gupnp.org
Source0: http://download.gnome.org/sources/%{name}/0.6/%{name}-%{version}.tar.gz
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(gstreamer-0.10)
BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
%description
GUPnP is an object-oriented open source framework for creating UPnP
devices and control points, written in C using GObject and
libsoup. The GUPnP API is intended to be easy to use, efficient and
flexible.
GUPnP DLNA is a small utility library that aims to ease the
DLNA-related tasks such as media profile guessing, transcoding to a
given profile, etc.
%package devel
Summary: Development files for gupnp-dlna
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Files for development with gupnp-dlna
%prep
%setup -q -n %{name}-%{version}
# >> setup
# << setup
%build
# >> build pre
# << build pre
%configure --disable-static
make %{?jobs:-j%jobs}
# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install
# >> install post
rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
# << install post
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
# >> files
%{_bindir}/gupnp-dlna-info
%{_bindir}/gupnp-dlna-ls-profiles
%{_libdir}/libgupnp-dlna-1.0.so.*
%{_datadir}/gupnp-dlna/dlna-profiles/aac.xml
%{_datadir}/gupnp-dlna/dlna-profiles/ac3.xml
%{_datadir}/gupnp-dlna/dlna-profiles/amr.xml
%{_datadir}/gupnp-dlna/dlna-profiles/avc.xml
%{_datadir}/gupnp-dlna/dlna-profiles/common.xml
%{_datadir}/gupnp-dlna/dlna-profiles/dlna-profiles.rng
%{_datadir}/gupnp-dlna/dlna-profiles/jpeg.xml
%{_datadir}/gupnp-dlna/dlna-profiles/lpcm.xml
%{_datadir}/gupnp-dlna/dlna-profiles/mp3.xml
%{_datadir}/gupnp-dlna/dlna-profiles/mpeg-ts.xml
%{_datadir}/gupnp-dlna/dlna-profiles/mpeg1.xml
%{_datadir}/gupnp-dlna/dlna-profiles/mpeg4.xml
%{_datadir}/gupnp-dlna/dlna-profiles/png.xml
%{_datadir}/gupnp-dlna/dlna-profiles/wma.xml
# << files
%files devel
%defattr(-,root,root,-)
# >> files devel
%{_includedir}/gupnp-dlna-1.0/libgupnp-dlna/gupnp-dlna-discoverer.h
%{_includedir}/gupnp-dlna-1.0/libgupnp-dlna/gupnp-dlna-information.h
%{_includedir}/gupnp-dlna-1.0/libgupnp-dlna/gupnp-dlna-profile.h
%{_libdir}/pkgconfig/gupnp-dlna-1.0.pc
%{_libdir}/libgupnp-dlna-1.0.so
# << files devel
|