This commit is contained in:
Peter Robinson 2011-01-07 17:00:33 +00:00
parent 2d1d1a346f
commit f31f2ced2c
4 changed files with 19 additions and 9 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/gupnp-dlna-0.4.0.tar.gz
/gupnp-dlna-0.4.1.tar.gz
/gupnp-dlna-0.4.2.tar.gz
/gupnp-dlna-0.5.0.tar.gz

11
gupnp-dlna-fixdso.patch Normal file
View File

@ -0,0 +1,11 @@
--- gupnp-dlna-0.5.0/tools/Makefile.in.orig 2011-01-07 16:14:45.969158312 +0000
+++ gupnp-dlna-0.5.0/tools/Makefile.in 2011-01-07 16:15:48.604151920 +0000
@@ -113,7 +113,7 @@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = @LDFLAGS@ -lgstpbutils-0.10
LIBOBJS = @LIBOBJS@
LIBS = $(GST_LIBS) \
$(top_builddir)/libgupnp-dlna/libgupnp-dlna-1.0.la

View File

@ -1,14 +1,13 @@
Name: gupnp-dlna
Version: 0.4.2
Version: 0.5.0
Release: 1%{?dist}
Summary: A collection of helpers for building UPnP AV applications
Group: System Environment/Libraries
License: LGPLv2+
URL: http://www.gupnp.org/
# Note, a copy of gst-convenience is temporarily included uptil this bug is fixed in gstreamer upstream
# https://bugzilla.gnome.org/show_bug.cgi?id=625944
Source0: http://www.gupnp.org/sites/all/files/sources/%{name}-%{version}.tar.gz
Patch0: gupnp-dlna-fixdso.patch
BuildRequires: glib2-devel
BuildRequires: gssdp-devel
@ -18,7 +17,6 @@ BuildRequires: gupnp-devel
BuildRequires: gupnp-av-devel
BuildRequires: libxml2-devel
BuildRequires: gtk-doc
Provides: bundled(gst-convenience)
%description
GUPnP is an object-oriented open source framework for creating UPnP
@ -57,6 +55,7 @@ Files for vala development with %{name}.
%prep
%setup -q
%patch0 -p1 -b .fixdso
%build
%configure --disable-static
@ -68,15 +67,11 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags} V=1
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
#Remove libtool archives.
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@ -103,6 +98,9 @@ rm -rf %{buildroot}
%{_datadir}/vala/vapi/gstreamer-*
%changelog
* Fri Jan 7 2011 Peter Robinson <pbrobinson@gmail.com> 0.5.0-1
- New upstream 0.5.0 release
* Fri Oct 15 2010 Peter Robinson <pbrobinson@gmail.com> 0.4.2-1
- New upstream 0.4.2 release

View File

@ -1 +1 @@
b12b435c6c854e6d34a10db45ceebfcb gupnp-dlna-0.4.2.tar.gz
c97ffbada5cb9f700d910995fab6ab46 gupnp-dlna-0.5.0.tar.gz