Blame SPECS/dleyna-core.spec

4beff2
%define api 1.0
4beff2
4beff2
Name:           dleyna-core
4beff2
Version:        0.4.0
4beff2
Release:        1%{?dist}
4beff2
Summary:        Utilities for higher level dLeyna libraries
4beff2
4beff2
License:        LGPLv2
4beff2
URL:            https://01.org/dleyna/
4beff2
Source0:        https://01.org/dleyna/sites/default/files/downloads/%{name}-%{version}.tar.gz
4beff2
4beff2
BuildRequires:  glib2-devel >= 2.28
4beff2
BuildRequires:  gupnp-devel >= 0.19.1
4beff2
BuildRequires:  pkgconfig autoconf automake libtool
4beff2
4beff2
%description
4beff2
A set of utility functions that are used by the higher level dLeyna libraries
4beff2
to communicate with DLNA devices. It provides APIs for logging, error, settings
4beff2
and task management, and an IPC abstraction.
4beff2
4beff2
%package        devel
4beff2
Summary:        Development files for %{name}
4beff2
Requires:       %{name}%{?_isa} = %{version}-%{release}
4beff2
4beff2
%description    devel
4beff2
The %{name}-devel package contains libraries and header files for
4beff2
developing applications that use %{name}.
4beff2
4beff2
4beff2
%prep
4beff2
%setup -q
4beff2
4beff2
4beff2
%build
4beff2
autoreconf -f -i
4beff2
%configure \
4beff2
  --disable-silent-rules \
4beff2
  --disable-static
4beff2
4beff2
make %{?_smp_mflags}
4beff2
4beff2
4beff2
%install
4beff2
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
4beff2
find $RPM_BUILD_ROOT -name '*.la' -delete
4beff2
4beff2
%post -p /sbin/ldconfig
4beff2
4beff2
%postun -p /sbin/ldconfig
4beff2
4beff2
4beff2
%files
4beff2
%doc AUTHORS
4beff2
%doc COPYING
4beff2
%doc ChangeLog
4beff2
%doc README
4beff2
%{_libdir}/libdleyna-core-%{api}.so.*
4beff2
4beff2
%files devel
4beff2
%{_libdir}/libdleyna-core-%{api}.so
4beff2
%{_libdir}/pkgconfig/%{name}-%{api}.pc
4beff2
4beff2
%dir %{_includedir}/dleyna-%{api}
4beff2
%dir %{_includedir}/dleyna-%{api}/libdleyna
4beff2
%{_includedir}/dleyna-%{api}/libdleyna/core
4beff2
4beff2
4beff2
%changelog
4beff2
* Wed May 27 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.4.0-1
4beff2
- Initial RHEL import
4beff2
Resolves: #1221264