Initial commit
This commit is contained in:
parent
9258a500b5
commit
41c7ad5154
@ -0,0 +1 @@
|
||||
gssdp-0.6.1.tar.gz
|
90
gssdp.spec
Normal file
90
gssdp.spec
Normal file
@ -0,0 +1,90 @@
|
||||
Name: gssdp
|
||||
Version: 0.6.1
|
||||
Release: 3%{?dist}
|
||||
Summary: GSSDP implements resource discovery and announcement over SSDP
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://www.gupnp.org/
|
||||
Source0: http://www.gupnp.org/sources/gssdp/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Patch0: gssdp_remove_gthread.patch
|
||||
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: libsoup-devel >= 2.4
|
||||
|
||||
BuildRequires: dbus-glib-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: GConf2-devel
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: NetworkManager-devel
|
||||
BuildRequires: libglade2-devel
|
||||
|
||||
Requires: dbus
|
||||
|
||||
%description
|
||||
GSSDP implements resource discovery and announcement over SSDP and is part
|
||||
of gUPnP. 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. GSSDP
|
||||
implements resource discovery and announcement over SSDP.
|
||||
|
||||
%package devel
|
||||
Summary: Development package for gssdp
|
||||
Group: Development/Libraries
|
||||
Requires: gssdp = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires: gtk-doc
|
||||
|
||||
%description devel
|
||||
Files for development with gssdp.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p0 -b .gthread
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/libgssdp-1.0.la
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING README NEWS
|
||||
%{_bindir}/gssdp-device-sniffer
|
||||
%{_libdir}/libgssdp-1.0.so.1
|
||||
%{_libdir}/libgssdp-1.0.so.1.0.0
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_includedir}/gssdp-1.0
|
||||
%dir %{_includedir}/gssdp-1.0/libgssdp
|
||||
%dir %{_datadir}/gtk-doc/html/gssdp/
|
||||
%doc %{_datadir}/gtk-doc/html/gssdp/*
|
||||
%{_includedir}/gssdp-1.0/libgssdp/*
|
||||
%{_libdir}/pkgconfig/gssdp-1.0.pc
|
||||
%{_libdir}/libgssdp-1.0.so
|
||||
%{_datadir}/gssdp/gssdp-device-sniffer.glade
|
||||
|
||||
%changelog
|
||||
* Tue Aug 12 2008 Peter Robinson <pbrobinson@gmail.com> 0.6.1-3
|
||||
- Patch to fix the build in rawhide
|
||||
|
||||
* Fri Aug 8 2008 Peter Robinson <pbrobinson@gmail.com> 0.6.1-2
|
||||
- Updates based on feedback
|
||||
|
||||
* Mon May 19 2008 Peter Robinson <pbrobinson@gmail.com> 0.6.1-1
|
||||
- Initial package
|
11
gssdp_remove_gthread.patch
Normal file
11
gssdp_remove_gthread.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- tools/gssdp-device-sniffer.c.orig 2008-08-12 13:16:02.000000000 +0100
|
||||
+++ tools/gssdp-device-sniffer.c 2008-08-12 13:16:15.000000000 +0100
|
||||
@@ -596,8 +596,6 @@
|
||||
{
|
||||
GError *error;
|
||||
|
||||
- g_thread_init (NULL);
|
||||
-
|
||||
error = NULL;
|
||||
client = gssdp_client_new (NULL, &error);
|
||||
if (error) {
|
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
||||
gssdp-0_6_1-3_fc9:HEAD:gssdp-0.6.1-3.fc9.src.rpm:1218567397
|
Loading…
Reference in New Issue
Block a user