Blame SPECS/dleyna-server.spec

42d738
%global api 1.0
42d738
42d738
Name:           dleyna-server
42d738
Version:        0.6.0
204d18
Release:        3%{?dist}
42d738
Summary:        Service for interacting with Digital Media Servers
42d738
42d738
License:        LGPLv2
42d738
URL:            https://01.org/dleyna/
42d738
Source0:        https://01.org/sites/default/files/downloads/dleyna/%{name}-%{version}.tar_2.gz
42d738
204d18
# https://bugzilla.redhat.com/show_bug.cgi?id=1464902
204d18
Patch0:         dleyna-server-Avoid-possible-crash-when-getting-server-properties.patch
204d18
42d738
BuildRequires:  autoconf automake libtool
42d738
BuildRequires:  pkgconfig(dleyna-core-1.0) >= 0.5.0
42d738
BuildRequires:  pkgconfig(gio-2.0) >= 2.28
42d738
BuildRequires:  pkgconfig(glib-2.0) >= 2.28
42d738
BuildRequires:  pkgconfig(gobject-2.0) >= 2.28
42d738
BuildRequires:  pkgconfig(gssdp-1.0) >= 0.13.2
42d738
BuildRequires:  pkgconfig(gupnp-1.0) >= 0.20.3
42d738
BuildRequires:  pkgconfig(gupnp-av-1.0) >= 0.11.5
42d738
BuildRequires:  pkgconfig(gupnp-dlna-2.0) >= 0.9.4
42d738
BuildRequires:  pkgconfig(libsoup-2.4) >= 2.28.2
42d738
Requires:       dbus
42d738
Requires:       dleyna-connector-dbus%{?_isa}
42d738
42d738
%description
42d738
D-Bus service for clients to discover and manipulate DLNA Digital Media
42d738
Servers (DMSes).
42d738
42d738
42d738
%prep
42d738
%setup -q
204d18
%patch0 -p1
42d738
42d738
42d738
%build
42d738
autoreconf -fiv
42d738
%configure \
42d738
  --disable-silent-rules \
42d738
  --disable-static
42d738
42d738
# Omit unused direct shared library dependencies.
42d738
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
42d738
42d738
%make_build
42d738
42d738
42d738
%install
42d738
%make_install
42d738
find $RPM_BUILD_ROOT -name '*.la' -delete -print
42d738
42d738
# We don't need a -devel package because only the daemon is supposed to be
42d738
# using the library.
42d738
rm -rf $RPM_BUILD_ROOT/%{_includedir}
42d738
rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/libdleyna-server-%{api}.so
42d738
rm -rf $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
42d738
42d738
42d738
%files
42d738
%license COPYING
42d738
%doc AUTHORS
42d738
%doc ChangeLog
42d738
%doc README
42d738
%{_datadir}/dbus-1/services/com.intel.%{name}.service
42d738
42d738
%dir %{_libdir}/%{name}
42d738
%{_libdir}/%{name}/libdleyna-server-%{api}.so.*
42d738
42d738
%{_libexecdir}/%{name}-service
42d738
%config(noreplace) %{_sysconfdir}/%{name}-service.conf
42d738
42d738
42d738
%changelog
204d18
* Fri Dec 11 2020 Debarshi Ray <rishi@fedoraproject.org> - 0.6.0-3
204d18
- Avoid crash when getting server properties
204d18
Resolves: #1464902
204d18
42d738
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
42d738
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
42d738
42d738
* Fri Oct 06 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.6.0-1
42d738
- Update to 0.6.0
42d738
42d738
* Thu Oct 05 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.5.0-9
42d738
- Use arch-specific Requires on dleyna-connector-dbus
42d738
42d738
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-8
42d738
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
42d738
42d738
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-7
42d738
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
42d738
42d738
* Fri Mar 03 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.5.0-6
42d738
- Fix build failure due to missing header
42d738
42d738
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-5
42d738
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
42d738
42d738
* Fri Sep 16 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.5.0-4
42d738
- Fix crash due to double-free when destroying the same dls_upnp_t or
42d738
  dls_manager_t twice (RH #1251365)
42d738
- Use make_build and make_install macros
42d738
- Update minimum required versions; use pkgconfig(...) for BRs
42d738
- Miscellaneous clean-ups
42d738
42d738
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
42d738
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
42d738
42d738
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
42d738
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
42d738
42d738
* Tue May 12 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.5.0-1
42d738
- Update to 0.5.0
42d738
42d738
* Mon May 11 2015 Nils Philippsen <nils@redhat.com> - 0.4.0-8
42d738
- rebuild for new dleyna-core
42d738
42d738
* Tue Feb 24 2015 Bastien Nocera <bnocera@redhat.com> 0.4.0-7
42d738
- Fix warning on totem startup
42d738
42d738
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-6
42d738
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
42d738
42d738
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-5
42d738
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
42d738
42d738
* Mon Feb 24 2014 Debarshi Ray <rishi@fedoraproject.org> - 0.4.0-4
42d738
- Pass -v to autoreconf and -print to find
42d738
42d738
* Fri Feb 21 2014 Debarshi Ray <rishi@fedoraproject.org> - 0.4.0-3
42d738
- Fix the Source0 as per
42d738
  https://fedoraproject.org/wiki/Packaging:SourceURL#Github
42d738
42d738
* Tue Feb 11 2014 Debarshi Ray <rishi@fedoraproject.org> - 0.4.0-2
42d738
- Mention the full commit hash corresponding to the release as per
42d738
  https://fedoraproject.org/wiki/Packaging:SourceURL#Github
42d738
42d738
* Wed Jan 15 2014 Bastien Nocera <bnocera@redhat.com> - 0.4.0-1
42d738
- Initial version