|
|
f08a2b |
%global api 1.0
|
|
|
f08a2b |
|
|
|
f08a2b |
Name: dleyna-server
|
|
|
d751e3 |
Version: 0.5.0
|
|
|
f08a2b |
Release: 1%{?dist}
|
|
|
f08a2b |
Summary: Service for interacting with Digital Media Servers
|
|
|
f08a2b |
|
|
|
f08a2b |
License: LGPLv2
|
|
|
f08a2b |
URL: https://01.org/dleyna/
|
|
|
d751e3 |
Source0: https://01.org/dleyna/sites/default/files/downloads/%{name}-%{version}.tar.gz
|
|
|
f08a2b |
|
|
|
f08a2b |
BuildRequires: autoconf automake libtool
|
|
|
d751e3 |
BuildRequires: pkgconfig(dleyna-core-1.0) >= 0.5.0
|
|
|
d751e3 |
BuildRequires: pkgconfig(gio-2.0) >= 2.28
|
|
|
d751e3 |
BuildRequires: pkgconfig(glib-2.0) >= 2.28
|
|
|
d751e3 |
BuildRequires: pkgconfig(gobject-2.0) >= 2.28
|
|
|
d751e3 |
BuildRequires: pkgconfig(gssdp-1.0) >= 0.13.2
|
|
|
d751e3 |
BuildRequires: pkgconfig(gupnp-1.0) >= 0.20.3
|
|
|
d751e3 |
BuildRequires: pkgconfig(gupnp-av-1.0) >= 0.11.5
|
|
|
d751e3 |
BuildRequires: pkgconfig(gupnp-dlna-2.0) >= 0.9.4
|
|
|
d751e3 |
BuildRequires: pkgconfig(libsoup-2.4) >= 2.28.2
|
|
|
f08a2b |
Requires: dbus
|
|
|
f08a2b |
Requires: dleyna-connector-dbus
|
|
|
f08a2b |
|
|
|
f08a2b |
# https://github.com/01org/dleyna-server/issues/145
|
|
|
f08a2b |
Patch0: 0001-Device-Fix-ChildCount-property-type.patch
|
|
|
d751e3 |
# https://github.com/01org/dleyna-server/pull/151
|
|
|
d751e3 |
Patch1: 0001-Fix-possible-use-after-free-on-exit.patch
|
|
|
d751e3 |
# https://github.com/01org/dleyna-server/pull/159
|
|
|
d751e3 |
Patch2: 0001-Include-libgupnp-gupnp-context-manager.h.patch
|
|
|
f08a2b |
|
|
|
f08a2b |
%description
|
|
|
f08a2b |
D-Bus service for clients to discover and manipulate DLNA Digital Media
|
|
|
f08a2b |
Servers (DMSes).
|
|
|
f08a2b |
|
|
|
f08a2b |
|
|
|
f08a2b |
%prep
|
|
|
d751e3 |
%setup -q
|
|
|
f08a2b |
%patch0 -p1
|
|
|
d751e3 |
%patch1 -p1
|
|
|
d751e3 |
%patch2 -p1
|
|
|
d751e3 |
|
|
|
f08a2b |
|
|
|
f08a2b |
%build
|
|
|
f08a2b |
autoreconf -fiv
|
|
|
f08a2b |
%configure \
|
|
|
f08a2b |
--disable-silent-rules \
|
|
|
f08a2b |
--disable-static
|
|
|
f08a2b |
|
|
|
f08a2b |
# Omit unused direct shared library dependencies.
|
|
|
f08a2b |
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|
|
f08a2b |
|
|
|
d751e3 |
%make_build
|
|
|
f08a2b |
|
|
|
f08a2b |
|
|
|
f08a2b |
%install
|
|
|
d751e3 |
%make_install
|
|
|
f08a2b |
find $RPM_BUILD_ROOT -name '*.la' -delete -print
|
|
|
f08a2b |
|
|
|
f08a2b |
# We don't need a -devel package because only the daemon is supposed to be
|
|
|
f08a2b |
# using the library.
|
|
|
f08a2b |
rm -rf $RPM_BUILD_ROOT/%{_includedir}
|
|
|
f08a2b |
rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/libdleyna-server-%{api}.so
|
|
|
f08a2b |
rm -rf $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
|
|
|
f08a2b |
|
|
|
f08a2b |
|
|
|
f08a2b |
%files
|
|
|
f08a2b |
%doc AUTHORS
|
|
|
f08a2b |
%doc COPYING
|
|
|
f08a2b |
%doc ChangeLog
|
|
|
f08a2b |
%doc README
|
|
|
f08a2b |
%{_datadir}/dbus-1/services/com.intel.%{name}.service
|
|
|
f08a2b |
|
|
|
f08a2b |
%dir %{_libdir}/%{name}
|
|
|
f08a2b |
%{_libdir}/%{name}/libdleyna-server-%{api}.so.*
|
|
|
f08a2b |
|
|
|
f08a2b |
%{_libexecdir}/%{name}-service
|
|
|
f08a2b |
%config(noreplace) %{_sysconfdir}/%{name}-service.conf
|
|
|
f08a2b |
|
|
|
f08a2b |
|
|
|
f08a2b |
%changelog
|
|
|
d751e3 |
* Fri Mar 03 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.5.0-1
|
|
|
d751e3 |
- Update to 0.5.0
|
|
|
d751e3 |
Resolves: #1386847
|
|
|
d751e3 |
|
|
|
f08a2b |
* Tue Jun 02 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.4.0-1
|
|
|
f08a2b |
- Initial RHEL import
|
|
|
f08a2b |
Resolves: #1219532
|