Blame SPECS/dleyna-renderer.spec

62f96b
%global api 1.0
62f96b
62f96b
Name:           dleyna-renderer
62f96b
Version:        0.6.0
62f96b
Release:        3%{?dist}
62f96b
Summary:        Service for interacting with Digital Media Renderers
62f96b
62f96b
License:        LGPLv2
62f96b
URL:            https://01.org/dleyna/
62f96b
Source0:        https://01.org/sites/default/files/downloads/dleyna/%{name}-%{version}.tar_2.gz
62f96b
62f96b
# https://bugzilla.gnome.org/show_bug.cgi?id=741257
62f96b
Patch0:         0001-UPnP-Disconnect-signal-handlers-during-destruction.patch
62f96b
62f96b
# https://bugzilla.redhat.com/show_bug.cgi?id=1612579
62f96b
Patch1:         0001-Add-a-manual.patch
62f96b
62f96b
BuildRequires:  autoconf
62f96b
BuildRequires:  automake
62f96b
BuildRequires:  docbook-style-xsl
62f96b
BuildRequires:  libtool
62f96b
BuildRequires:  libxslt
62f96b
BuildRequires:  pkgconfig
62f96b
BuildRequires:  pkgconfig(dleyna-core-1.0)
62f96b
BuildRequires:  pkgconfig(gio-2.0)
62f96b
BuildRequires:  pkgconfig(glib-2.0)
62f96b
BuildRequires:  pkgconfig(gssdp-1.0)
62f96b
BuildRequires:  pkgconfig(gupnp-1.0)
62f96b
BuildRequires:  pkgconfig(gupnp-av-1.0)
62f96b
BuildRequires:  pkgconfig(gupnp-dlna-2.0)
62f96b
BuildRequires:  pkgconfig(libsoup-2.4)
62f96b
Requires:       dbus
62f96b
Requires:       dleyna-connector-dbus%{?_isa}
62f96b
62f96b
%description
62f96b
D-Bus service for clients to discover and manipulate DLNA Digital Media
62f96b
Renderers (DMRs).
62f96b
62f96b
62f96b
%package        devel
62f96b
Summary:        Development files for %{name}
62f96b
Requires:       %{name}%{?_isa} = %{version}-%{release}
62f96b
62f96b
%description    devel
62f96b
The %{name}-devel package contains libraries and header files for
62f96b
developing applications that use %{name}.
62f96b
62f96b
62f96b
%prep
62f96b
%setup -q
62f96b
%patch0 -p1
62f96b
%patch1 -p1
62f96b
62f96b
62f96b
%build
62f96b
autoreconf -f -i
62f96b
%configure \
62f96b
  --disable-silent-rules \
62f96b
  --disable-static
62f96b
62f96b
# Omit unused direct shared library dependencies.
62f96b
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
62f96b
62f96b
make %{?_smp_mflags}
62f96b
62f96b
62f96b
%install
62f96b
%make_install
62f96b
find $RPM_BUILD_ROOT -name '*.la' -delete
62f96b
62f96b
# We don't need to install the headers because only the daemon is supposed to be
62f96b
# using the library.
62f96b
rm -rf $RPM_BUILD_ROOT/%{_includedir}
62f96b
rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/libdleyna-renderer-%{api}.so
62f96b
62f96b
62f96b
%files
62f96b
%license COPYING
62f96b
%doc AUTHORS
62f96b
%doc ChangeLog
62f96b
%doc README
62f96b
%{_datadir}/dbus-1/services/com.intel.%{name}.service
62f96b
%{_datadir}/man/man5/%{name}-service.conf.5*
62f96b
62f96b
62f96b
%dir %{_libdir}/%{name}
62f96b
%{_libdir}/%{name}/libdleyna-renderer-%{api}.so.*
62f96b
62f96b
%{_libexecdir}/%{name}-service
62f96b
%config(noreplace) %{_sysconfdir}/%{name}-service.conf
62f96b
62f96b
%files devel
62f96b
%{_libdir}/pkgconfig/dleyna-renderer-service-%{api}.pc
62f96b
62f96b
62f96b
%changelog
62f96b
* Sun Aug 23 2020 Debarshi Ray <rishi@fedoraproject.org> - 0.6.0-3
62f96b
- Add a manual
62f96b
Resolves: #1612579
62f96b
62f96b
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
62f96b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
62f96b
62f96b
* Fri Oct 06 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.6.0-1
62f96b
- Update to 0.6.0
62f96b
62f96b
* Fri Oct 06 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.5.0-9
62f96b
- Use arch-specific Requires on dleyna-connector-dbus
62f96b
62f96b
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-8
62f96b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
62f96b
62f96b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-7
62f96b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
62f96b
62f96b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-6
62f96b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
62f96b
62f96b
* Thu Sep 15 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.5.0-5
62f96b
- Avoid any attempts to delete the same dlr_upnp_t twice (RH #1251366)
62f96b
62f96b
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-4
62f96b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
62f96b
62f96b
* Thu Jan 21 2016 Kalev Lember <klember@redhat.com> - 0.5.0-3
62f96b
- Add -devel subpackage with the .pc file
62f96b
- Use make_install macro
62f96b
- Use license macro for COPYING
62f96b
62f96b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
62f96b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
62f96b
62f96b
* Thu May 07 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.5.0-1
62f96b
- Update to 0.5.0
62f96b
62f96b
* Tue Jan 20 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.4.0-4
62f96b
- Fix crash when spawned by a call to com.intel.dLeynaRenderer.Manager.Release
62f96b
  (RH #1154788)
62f96b
62f96b
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-3
62f96b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
62f96b
62f96b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
62f96b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
62f96b
62f96b
* Wed Jan 15 2014 Bastien Nocera <bnocera@redhat.com> - 0.4.0-1
62f96b
- Update to 0.4.0
62f96b
62f96b
* Mon Sep 02 2013 Debarshi Ray <rishi@fedoraproject.org> - 0.1.3-2
62f96b
- Do not remove the rpaths anymore because the library has now been moved to a
62f96b
  private location.
62f96b
62f96b
* Mon Sep 02 2013 Debarshi Ray <rishi@fedoraproject.org> - 0.1.3-1
62f96b
- Update to 0.1.3.
62f96b
62f96b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-2
62f96b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
62f96b
62f96b
* Wed Jun 26 2013 Debarshi Ray <rishi@fedoraproject.org> - 0.1.1-1
62f96b
- Initial spec.