Blame SPECS/dleyna-server.spec

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