Blame SPECS/dleyna-core.spec

ecc610
%define api 1.0
ecc610
ecc610
Name:           dleyna-core
ecc610
Version:        0.5.0
ecc610
Release:        1%{?dist}
ecc610
Summary:        Utilities for higher level dLeyna libraries
ecc610
ecc610
License:        LGPLv2
ecc610
URL:            https://01.org/dleyna/
ecc610
Source0:        https://01.org/dleyna/sites/default/files/downloads/%{name}-%{version}.tar.gz
ecc610
ecc610
# https://github.com/01org/dleyna-core/pull/48
ecc610
Patch0:         0001-Don-t-schedule-dleyna_task_processor_t-on_quit_cb-mo.patch
ecc610
# https://github.com/01org/dleyna-core/pull/49
ecc610
Patch1:         0002-Remove-all-queues-before-dleyna_task_processor_t-on_.patch
ecc610
ecc610
BuildRequires:  autoconf
ecc610
BuildRequires:  automake
ecc610
BuildRequires:  libtool
ecc610
BuildRequires:  pkgconfig
ecc610
BuildRequires:  pkgconfig(gio-2.0)
ecc610
BuildRequires:  pkgconfig(glib-2.0)
ecc610
BuildRequires:  pkgconfig(gmodule-2.0)
ecc610
BuildRequires:  pkgconfig(gupnp-1.0)
ecc610
ecc610
%description
ecc610
A set of utility functions that are used by the higher level dLeyna libraries
ecc610
to communicate with DLNA devices. It provides APIs for logging, error, settings
ecc610
and task management, and an IPC abstraction.
ecc610
ecc610
%package        devel
ecc610
Summary:        Development files for %{name}
ecc610
Requires:       %{name}%{?_isa} = %{version}-%{release}
ecc610
ecc610
%description    devel
ecc610
The %{name}-devel package contains libraries and header files for
ecc610
developing applications that use %{name}.
ecc610
ecc610
ecc610
%prep
ecc610
%setup -q
ecc610
%patch0 -p1
ecc610
%patch1 -p1
ecc610
ecc610
ecc610
%build
ecc610
autoreconf -f -i
ecc610
%configure \
ecc610
  --disable-silent-rules \
ecc610
  --disable-static
ecc610
ecc610
make %{?_smp_mflags}
ecc610
ecc610
ecc610
%install
ecc610
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
ecc610
find $RPM_BUILD_ROOT -name '*.la' -delete
ecc610
ecc610
%post -p /sbin/ldconfig
ecc610
ecc610
%postun -p /sbin/ldconfig
ecc610
ecc610
ecc610
%files
ecc610
%doc AUTHORS
ecc610
%doc COPYING
ecc610
%doc ChangeLog
ecc610
%doc README
ecc610
%{_libdir}/libdleyna-core-%{api}.so.*
ecc610
ecc610
%files devel
ecc610
%{_libdir}/libdleyna-core-%{api}.so
ecc610
%{_libdir}/pkgconfig/%{name}-%{api}.pc
ecc610
ecc610
%dir %{_includedir}/dleyna-%{api}
ecc610
%dir %{_includedir}/dleyna-%{api}/libdleyna
ecc610
%{_includedir}/dleyna-%{api}/libdleyna/core
ecc610
ecc610
ecc610
%changelog
ecc610
* Fri Mar 03 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.5.0-1
ecc610
- Update to 0.5.0
ecc610
Resolves: #1386846
ecc610
ecc610
* Wed May 27 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.4.0-1
ecc610
- Initial RHEL import
ecc610
Resolves: #1221264