diff --git a/.cvsignore b/.cvsignore index e69de29..1ad505b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gupnp-0.12.1.tar.gz diff --git a/gupnp-0.12-disabletestapps.patch b/gupnp-0.12-disabletestapps.patch new file mode 100644 index 0000000..e33fc76 --- /dev/null +++ b/gupnp-0.12-disabletestapps.patch @@ -0,0 +1,31 @@ +--- Makefile.am.orig 2008-08-13 09:56:37.000000000 +0100 ++++ Makefile.am 2008-08-13 09:56:47.000000000 +0100 +@@ -1,4 +1,4 @@ +-SUBDIRS = libgupnp tools examples tests doc ++SUBDIRS = libgupnp tools doc + + pkgconfig_DATA= gupnp-1.0.pc + pkgconfigdir = $(libdir)/pkgconfig +--- configure.ac.orig 2008-08-13 10:02:16.000000000 +0100 ++++ configure.ac 2008-08-13 10:02:36.000000000 +0100 +@@ -37,9 +37,7 @@ + AC_OUTPUT([ + Makefile + libgupnp/Makefile +-examples/Makefile + tools/Makefile +-tests/Makefile + doc/Makefile + doc/version.xml + gupnp-1.0.pc +--- Makefile.in.orig 2008-08-13 10:07:58.000000000 +0100 ++++ Makefile.in 2008-08-13 10:08:11.000000000 +0100 +@@ -200,7 +200,7 @@ + sharedstatedir = @sharedstatedir@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ +-SUBDIRS = libgupnp tools examples tests doc ++SUBDIRS = libgupnp tools doc + pkgconfig_DATA = gupnp-1.0.pc + pkgconfigdir = $(libdir)/pkgconfig + EXTRA_DIST = gupnp-1.0.pc.in gupnp-1.0-uninstalled.pc.in diff --git a/gupnp.spec b/gupnp.spec new file mode 100644 index 0000000..cdc5967 --- /dev/null +++ b/gupnp.spec @@ -0,0 +1,79 @@ +Name: gupnp +Version: 0.12.1 +Release: 3%{?dist} +Summary: GUPnP is an framework for creating UPnP devices & control points + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://www.gupnp.org/ +Source0: http://www.gupnp.org/sources/gupnp/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Patch0: gupnp-0.12-disabletestapps.patch + +BuildRequires: libxml2-devel +BuildRequires: gssdp-devel >= 0.6 + +Requires: dbus + +%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. + +%package devel +Summary: Development package for gupnp +Group: Development/Libraries +Requires: gupnp = %{version}-%{release} +Requires: pkgconfig + +%description devel +Files for development with gupnp. + +%prep +%setup -q +%patch0 -p0 -b .disabletestapps + +%build +# a temporary workaround to regen build scripts until the next release of gupnp is released shortly +autoconf +%configure --disable-static +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +rm $RPM_BUILD_ROOT%{_libdir}/libgupnp-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 +%{_libdir}/libgupnp-1.0.so.2 +%{_libdir}/libgupnp-1.0.so.2.0.0 +%{_bindir}/gupnp-binding-tool + +%files devel +%defattr(-,root,root,-) +%dir %{_includedir}/gupnp-1.0 +%dir %{_includedir}/gupnp-1.0/libgupnp +%dir %{_datadir}/gtk-doc/html/gupnp/ +%doc %{_datadir}/gtk-doc/html/gupnp/* +%{_includedir}/gupnp-1.0/libgupnp/* +%{_libdir}/pkgconfig/gupnp-1.0.pc +%{_libdir}/libgupnp-1.0.so + +%changelog +* Wed Aug 13 2008 Peter Robinson 0.12.1-3 +- Fix changelog entries + +* Wed Aug 13 2008 Peter Robinson 0.12.1-2 +- Fix a compile issue on rawhide + +* Mon Jun 16 2008 Peter Robinson 0.12.1-1 +- Initial release diff --git a/import.log b/import.log new file mode 100644 index 0000000..726afd2 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +gupnp-0_12_1-3_fc9:HEAD:gupnp-0.12.1-3.fc9.src.rpm:1218651323 diff --git a/sources b/sources index e69de29..ee9ed8c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f8b0c3a759e4bf18380ed49f37e0b207 gupnp-0.12.1.tar.gz