123 lines
3.2 KiB
RPMSpec
123 lines
3.2 KiB
RPMSpec
Name: gupnp-dlna
|
|
Version: 0.4.2
|
|
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
|
|
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: gssdp-devel
|
|
BuildRequires: gstreamer-devel
|
|
BuildRequires: gstreamer-plugins-base-devel
|
|
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
|
|
devices and control points, written in C using GObject and libsoup.
|
|
The GUPnP API is intended to be easy to use, efficient and flexible.
|
|
|
|
GUPnP-dlna is a collection of helpers for building DLNA (Digital
|
|
Living Network Alliance) compliant applications using GUPnP.
|
|
|
|
%package devel
|
|
Summary: Development package for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Contains libraries and header files for developing applications that
|
|
use %{name}.
|
|
|
|
%package docs
|
|
Summary: Development package for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
BuildArch: noarch
|
|
|
|
%description docs
|
|
Contains developer documentation for %{name}.
|
|
|
|
%package vala
|
|
Summary: Development package for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: vala
|
|
|
|
%description vala
|
|
Files for vala development with %{name}.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --disable-static
|
|
|
|
# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
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
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS COPYING README TODO
|
|
%{_bindir}/gupnp-dlna*
|
|
%{_libdir}/lib*.so.0*
|
|
%{_datadir}/%{name}
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/pkgconfig/gupnp-dlna-1.0.pc
|
|
%{_includedir}/%{name}-1.0/
|
|
|
|
%files docs
|
|
%defattr(-,root,root,-)
|
|
%{_datadir}/gtk-doc/html/%{name}
|
|
|
|
%files vala
|
|
%defattr(-,root,root,-)
|
|
%{_datadir}/vala/vapi/gstreamer-*
|
|
|
|
%changelog
|
|
* Fri Oct 15 2010 Peter Robinson <pbrobinson@gmail.com> 0.4.2-1
|
|
- New upstream 0.4.2 release
|
|
|
|
* Thu Oct 14 2010 Peter Robinson <pbrobinson@gmail.com> 0.4.1-1
|
|
- New upstream 0.4.1 release
|
|
|
|
* Mon Sep 27 2010 Peter Robinson <pbrobinson@gmail.com> 0.4.0-1
|
|
- New upstream 0.4.0 release
|
|
|
|
* Tue Aug 17 2010 Peter Robinson <pbrobinson@gmail.com> 0.3.0-1
|
|
- New upstream 0.3.0 release
|
|
|
|
* Fri Jun 25 2010 Peter Robinson <pbrobinson@gmail.com> 0.2.1-2
|
|
- Updated for review feedback
|
|
|
|
* Fri Jun 25 2010 Peter Robinson <pbrobinson@gmail.com> 0.2.1-1
|
|
- Initial release
|