From 4beff2f5d003683fbf91baa220623e3c6827db92 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 19 2015 15:58:00 +0000 Subject: import dleyna-core-0.4.0-1.el7 --- diff --git a/.dleyna-core.metadata b/.dleyna-core.metadata new file mode 100644 index 0000000..fbeb579 --- /dev/null +++ b/.dleyna-core.metadata @@ -0,0 +1 @@ +99f24c9ea5935154d02f5eb67d37afa23e407dd5 SOURCES/dleyna-core-0.4.0.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..612c595 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/dleyna-core-0.4.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/dleyna-core.spec b/SPECS/dleyna-core.spec new file mode 100644 index 0000000..fbf65c2 --- /dev/null +++ b/SPECS/dleyna-core.spec @@ -0,0 +1,71 @@ +%define api 1.0 + +Name: dleyna-core +Version: 0.4.0 +Release: 1%{?dist} +Summary: Utilities for higher level dLeyna libraries + +License: LGPLv2 +URL: https://01.org/dleyna/ +Source0: https://01.org/dleyna/sites/default/files/downloads/%{name}-%{version}.tar.gz + +BuildRequires: glib2-devel >= 2.28 +BuildRequires: gupnp-devel >= 0.19.1 +BuildRequires: pkgconfig autoconf automake libtool + +%description +A set of utility functions that are used by the higher level dLeyna libraries +to communicate with DLNA devices. It provides APIs for logging, error, settings +and task management, and an IPC abstraction. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +autoreconf -f -i +%configure \ + --disable-silent-rules \ + --disable-static + +make %{?_smp_mflags} + + +%install +make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -delete + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc AUTHORS +%doc COPYING +%doc ChangeLog +%doc README +%{_libdir}/libdleyna-core-%{api}.so.* + +%files devel +%{_libdir}/libdleyna-core-%{api}.so +%{_libdir}/pkgconfig/%{name}-%{api}.pc + +%dir %{_includedir}/dleyna-%{api} +%dir %{_includedir}/dleyna-%{api}/libdleyna +%{_includedir}/dleyna-%{api}/libdleyna/core + + +%changelog +* Wed May 27 2015 Debarshi Ray - 0.4.0-1 +- Initial RHEL import +Resolves: #1221264