Blame SPECS/dleyna-core.spec

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