[libdmapsharing] Fix build of docs (3.0) and update RPM specification Signed-off-by: W. Michael Petullo <mike flyn or



commit b9cbca7748029a71e64b97c2a891e98e8639ad09
Author: W. Michael Petullo <mike flyn org>
Date:   Sun Dec 19 22:02:13 2010 -0600

    Fix build of docs (3.0) and update RPM specification
    Signed-off-by: W. Michael Petullo <mike flyn org>

 .../{libdmapsharing.spec => libdmapsharing3.spec}  |   36 ++++++-----
 docs/Makefile.am                                   |    4 +-
 docs/libdmapsharing-docs.sgml                      |   67 --------------------
 3 files changed, 23 insertions(+), 84 deletions(-)
---
diff --git a/distro/libdmapsharing.spec b/distro/libdmapsharing3.spec
similarity index 71%
rename from distro/libdmapsharing.spec
rename to distro/libdmapsharing3.spec
index c5cb79f..857cdef 100644
--- a/distro/libdmapsharing.spec
+++ b/distro/libdmapsharing3.spec
@@ -1,14 +1,14 @@
-Name: libdmapsharing
-Version: 2.0.0
+Name: libdmapsharing3
+Version: 2.9.0
 Release: 1%{?dist}
 License: LGPLv2+
-Source: http://downloads.sourceforge.net/%name/%{name}-%{version}.tar.gz
+Source: http://www.flyn.org/projects/libdmapsharing/libdmapsharing-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-URL: http://sourceforge.net/projects/libdmapsharing/
+URL: http://www.flyn.org/projects/libdmapsharing/
 Summary: A DMAP client and server library
 Group: Development/Libraries
-BuildRequires: pkgconfig, glib2-devel, libsoup-devel
-BuildRequires: avahi-glib-devel
+BuildRequires: pkgconfig, glib2-devel, libsoup-devel >= 2.32
+BuildRequires: avahi-glib-devel, gdk-pixbuf2-devel, gstreamer-plugins-base-devel >= 0.10.23.2
 
 %description 
 libdmapsharing implements the DMAP protocols. This includes support for
@@ -16,14 +16,14 @@ DAAP and DPAP.
 
 %files 
 %defattr(-, root, root, -)
-%{_libdir}/libdmapsharing.so.*
+%{_libdir}/libdmapsharing-3.0.so.*
 %doc AUTHORS COPYING ChangeLog NEWS README
 
 
 %package devel
 Summary: Files needed to develop applications using libdmapsharing
 Group: Development/Libraries
-Requires: libdmapsharing = %{version}-%{release}, glib2-devel, libsoup-devel, avahi-glib-devel, pkgconfig
+Requires: %{name} = %{version}-%{release}, glib2-devel, libsoup-devel, avahi-glib-devel, pkgconfig
 
 %description devel
 libdmapsharing implements the DMAP protocols. This includes support for
@@ -32,14 +32,14 @@ other resources needed for developing applications using libdmapsharing.
 
 %files devel
 %defattr(-, root, root, -)
-%{_libdir}/pkgconfig/libdmapsharing-*.pc
-%{_includedir}/libdmapsharing-*/
-%{_libdir}/libdmapsharing.so
-%{_datadir}/gtk-doc/html/libdmapsharing
+%{_libdir}/pkgconfig/libdmapsharing-3.0.pc
+%{_includedir}/libdmapsharing-3.0/
+%{_libdir}/libdmapsharing-3.0.so
+%{_datadir}/gtk-doc/html/libdmapsharing-3.0
 
 %prep
 
-%setup -q
+%setup -q -n libdmapsharing-%{version}
 
 %build
 %configure --disable-static
@@ -48,7 +48,7 @@ make %{?_smp_mflags}
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
-rm -f ${RPM_BUILD_ROOT}%{_libdir}/libdmapsharing.la
+rm -f ${RPM_BUILD_ROOT}%{_libdir}/libdmapsharing-3.0.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -58,7 +58,13 @@ rm -rf $RPM_BUILD_ROOT
 %postun -p /sbin/ldconfig
 
 %changelog
-* Fri Aug 28 2009 W. Michael Petullo <mike[ ]flyn org> - 1.9.0.18-1
+* Sun Dec 19 2010 W. Michael Petullo <mike[ ]flyn org> - 2.1.13-1
+- New upstream version.
+
+* Fri Jun 04 2010 W. Michael Petullo <mike[ ]flyn org> - 1.9.0.21-1
+- New upstream version.
+
+* Fri May 28 2010 W. Michael Petullo <mike[ ]flyn org> - 1.9.0.18-1
 - New upstream version.
 
 * Fri Aug 28 2009 W. Michael Petullo <mike[ ]flyn org> - 1.9.0.13-1
diff --git a/docs/Makefile.am b/docs/Makefile.am
index bd6f455..b8092b3 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -9,7 +9,7 @@ AUTOMAKE_OPTIONS = 1.6
 # of using the various options.
 
 # The name of the module, e.g. 'glib'.
-DOC_MODULE=libdmapsharing
+DOC_MODULE=libdmapsharing-3.0
 
 # Uncomment for versioned docs and specify the version of the module, e.g. '2'.
 #DOC_MODULE_VERSION=2
@@ -95,7 +95,7 @@ GTKDOC_CFLAGS= \
 	$(MDNS_CFLAGS)
 
 GTKDOC_LIBS= \
-	$(top_builddir)/libdmapsharing/libdmapsharing.la \
+	$(top_builddir)/libdmapsharing/libdmapsharing-3.0.la \
 	$(GLIB_LIBS) \
 	$(GTHREAD_LIBS) \
 	$(GOBJECT_LIBS) \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]