Commit b9cbca77 authored by W. Michael Petullo's avatar W. Michael Petullo
Browse files

Fix build of docs (3.0) and update RPM specification


Signed-off-by: W. Michael Petullo's avatarW. Michael Petullo <mike@flyn.org>
parent 370233f7
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
......
......@@ -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) \
......
<?xml version="1.0"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
]>
<book id="index">
<bookinfo>
<title>libdmapsharing Reference Manual</title>
<releaseinfo>
for libdmapsharing 2.2
The latest version of this documentation can be found on-line at
<ulink role="online-location" url="http://www.flyn.org/projects/libdmapsharing/docs/">http://www.flyn.org/projects/libdmapsharing/docs/</ulink>.
</releaseinfo>
</bookinfo>
<chapter>
<title>Libdmapsharing Sharing Overview</title>
<xi:include href="mediadb.sgml"/>
<xi:include href="containerdb.sgml"/>
<xi:include href="shareapi.sgml"/>
</chapter>
<chapter>
<title>Libdmapsharing Browsing Overview</title>
<xi:include href="mediadb.sgml"/>
<xi:include href="containerdb.sgml"/>
<xi:include href="browserapi.sgml"/>
<xi:include href="serviceaddedcb.sgml"/>
<xi:include href="connectedcb.sgml"/>
</chapter>
<chapter>
<title>Libdmapsharing Internals</title>
<xi:include href="server-internals.sgml"/>
<xi:include href="client-internals.sgml"/>
</chapter>
<chapter>
<title>Libdmapsharing Objects and Interfaces</title>
<xi:include href="xml/daap-record.xml"/>
<xi:include href="xml/daap-share.xml"/>
<xi:include href="xml/dmap-connection.xml"/>
<xi:include href="xml/dmap-container-db.xml"/>
<xi:include href="xml/dmap-container-record.xml"/>
<xi:include href="xml/dmap-db.xml"/>
<xi:include href="xml/dmap-mdns-browser.xml"/>
<xi:include href="xml/dmap-share.xml"/>
<xi:include href="xml/dmap-record.xml"/>
<xi:include href="xml/dmap-record-factory.xml"/>
<xi:include href="xml/dpap-connection.xml"/>
<xi:include href="xml/dpap-record.xml"/>
<xi:include href="xml/dpap-share.xml"/>
<xi:include href="xml/dacp-share.xml"/>
</chapter>
<chapter id="object-tree">
<title>Object Hierarchy</title>
<xi:include href="xml/tree_index.sgml"/>
</chapter>
<index id="api-index-full">
<title>API Index</title>
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
</index>
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
</book>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment