Blame SPECS/dleyna-server.spec

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