summaryrefslogtreecommitdiff
path: root/packaging/GUPnP-DLNA.spec
blob: 8bafbb294304595e3a90f39c2e7d7b17eba132bb (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# 
# 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.10.2
Release:    0
Group:      Applications/Multimedia
License:    LGPLv2.1
URL:        http://www.gupnp.org
Source0:    http://download.gnome.org/sources/%{name}/0.10/%{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-1.0)
BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0)


%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-2.0
%{_bindir}/gupnp-dlna-ls-profiles-2.0
%{_libdir}/libgupnp-dlna-2.0.so.*
%{_libdir}/libgupnp-dlna-gst-2.0.so.*
%{_libdir}/gupnp-dlna/libgstreamer.so
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/aac.xml
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/ac3.xml
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/amr.xml
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/avc.xml
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/common.xml
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/dlna-profiles.rng
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/jpeg.xml
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/lpcm.xml
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mp3.xml
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg-ts.xml
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg1.xml
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg4.xml
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/png.xml
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/wma.xml
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg-common.xml
%{_datadir}/gupnp-dlna-2.0/dlna-profiles/mpeg-ps.xml
# << files


%files devel
%defattr(-,root,root,-)
# >> files devel
%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna.h
%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-audio-information.h
%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-container-information.h
%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-gst-utils.h
%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-g-values.h
%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-image-information.h
%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-information.h
%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-profile.h
%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-profile-guesser.h
%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-restriction.h
%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-value-list.h
%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-values.h
%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/gupnp-dlna-video-information.h
%{_includedir}/gupnp-dlna-2.0/libgupnp-dlna/metadata/gupnp-dlna-metadata-extractor.h
%{_libdir}/pkgconfig/gupnp-dlna-2.0.pc
%{_libdir}/pkgconfig/gupnp-dlna-metadata-2.0.pc
%{_libdir}/pkgconfig/gupnp-dlna-gst-2.0.pc
%{_libdir}/libgupnp-dlna-2.0.so
%{_libdir}/libgupnp-dlna-gst-2.0.so
%{_libdir}/gupnp-dlna/libgstreamer.so
# << files devel