diff --git a/SOURCES/0001-Add-a-manual.patch b/SOURCES/0001-Add-a-manual.patch new file mode 100644 index 0000000..78bff94 --- /dev/null +++ b/SOURCES/0001-Add-a-manual.patch @@ -0,0 +1,264 @@ +From d80c3cbfaae6683e0e1685e5337b7dfe3a36692a Mon Sep 17 00:00:00 2001 +From: Debarshi Ray +Date: Mon, 22 Jun 2020 17:02:42 +0200 +Subject: [PATCH] Add a manual + +https://github.com/phako/dleyna-renderer/pull/1 +--- + Makefile.am | 2 +- + configure.ac | 6 + + doc/Makefile.am | 18 +++ + doc/dleyna-renderer-service.conf.xml | 182 +++++++++++++++++++++++++++ + 4 files changed, 207 insertions(+), 1 deletion(-) + create mode 100644 doc/Makefile.am + create mode 100644 doc/dleyna-renderer-service.conf.xml + +diff --git a/Makefile.am b/Makefile.am +index 200e1967f0e5..35bd628faf47 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,4 +1,4 @@ +-SUBDIRS = libdleyna/renderer ++SUBDIRS = doc libdleyna/renderer + + if BUILD_SERVER + SUBDIRS += server +diff --git a/configure.ac b/configure.ac +index 271ee92ead00..4d96903c67a3 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -34,6 +34,11 @@ LT_PREREQ([2.2.6]) + LT_INIT([dlopen disable-static]) + LT_LANG([C]) + ++AC_PATH_PROG([XSLTPROC], [xsltproc]) ++if test -z "$XSLTPROC"; then ++ AC_MSG_ERROR([xsltproc not found]) ++fi ++ + # Checks for libraries. + PKG_PROG_PKG_CONFIG(0.16) + PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.28]) +@@ -231,6 +236,7 @@ AC_SUBST([with_log_level]) + AC_SUBST([with_log_type]) + + AC_CONFIG_FILES([Makefile \ ++ doc/Makefile \ + libdleyna/renderer/Makefile \ + libdleyna/renderer/dleyna-renderer-service.conf \ + server/dleyna-renderer-service-1.0.pc \ +diff --git a/doc/Makefile.am b/doc/Makefile.am +new file mode 100644 +index 000000000000..80069b1c82e7 +--- /dev/null ++++ b/doc/Makefile.am +@@ -0,0 +1,18 @@ ++XSLTPROC_FLAGS = \ ++ --nonet \ ++ --stringparam man.output.quietly 1 \ ++ --stringparam funcsynopsis.style ansi \ ++ --stringparam man.authors.section.enabled 0 \ ++ --stringparam man.copyright.section.enabled 0 ++ ++.xml.5: ++ $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< ++ ++man_MANS = \ ++ dleyna-renderer-service.conf.5 ++ ++xml_files = $(man_MANS:.5=.xml) ++ ++EXTRA_DIST = $(xml_files) ++ ++CLEANFILES = $(man_MANS) +diff --git a/doc/dleyna-renderer-service.conf.xml b/doc/dleyna-renderer-service.conf.xml +new file mode 100644 +index 000000000000..e6be27411cf9 +--- /dev/null ++++ b/doc/dleyna-renderer-service.conf.xml +@@ -0,0 +1,182 @@ ++ ++ ++ ++ dleyna-renderer-service.conf ++ June 2020 ++ dLeyna ++ ++ ++ ++ dleyna-renderer-service.conf ++ 5 ++ Linux Programmer's Manual ++ ++ ++ ++ dleyna-renderer-service.conf ++ Configuration file for dleyna-renderer ++ ++ ++ ++ ++ /etc/dleyna-renderer-service.conf ++ ++ ++ ++ ++ ++ DESCRIPTION ++ ++ The dleyna-renderer-service program provides the ++ com.intel.dleyna-renderer name on the session ++ message bus. It is a service for discovering and manipulating DLNA ++ Digital Media Renderers (or DMRs). ++ ++ ++ Users or administrators should never need to start this daemon as it will ++ be automatically started by ++ dbus-daemon1 ++ whenever a process sends a D-Bus message to the ++ com.intel.dleyna-renderer name on the session bus. ++ ++ ++ This file can be used to configure the behaviour of the ++ dleyna-renderer-service program. ++ ++ ++ ++ ++ FILE FORMAT ++ ++ The configuration file format is the so-called key file (sort of ++ ini-style) format. It consists of sections (or groups) of key-value ++ Lines beginning with a '#' and blank lines are considered comments. ++ Sections are started by a header line containing the section enclosed ++ in '[' and ']', and ended implicitly by the start of the next section ++ or the end of the file. Each key-value pair must be contained in a ++ section. ++ ++ ++ ++ ++ GENERAL SECTION ++ ++ ++ ++ ++ ++ The name of the inter-process communication method to be used. ++ The only supported value is dbus. ++ ++ ++ ++ ++ ++ ++ ++ Whether the process should stay alive forever or quit when the ++ last client disconnects. The default value is ++ false. ++ ++ ++ ++ ++ ++ ++ ++ Source port for Simple Service Discovery Protocol (or SSDP) ++ messages. The default value is 0 which ++ means that a random available port will be used. ++ ++ ++ ++ ++ ++ ++ ++ Port for push host file server. The default value is ++ 0 which means that a random available ++ port will be used. ++ ++ ++ ++ ++ ++ ++ ++ LOG SECTION ++ ++ ++ ++ ++ ++ The logging method to be used. Three technologies are supported. ++ 0 for syslog, 1 for GLib, and 2 for file. The default value is ++ 0. ++ ++ ++ ++ ++ ++ ++ ++ Comma-separated list of logging levels. The levels are 1 for ++ critical, 2 for error, 3 for warning, 4 for message, 5 for info ++ and 6 for debug. 0 excludes all levels, 7 is a combination of ++ critical, error and info, and 8 includes all levels. ++ ++ ++ The default value is 7. ++ ++ ++ ++ ++ ++ ++ ++ NETF SECTION ++ ++ ++ ++ ++ ++ Whether network filtering should be enabled or not. The default ++ values is false. ++ ++ ++ ++ ++ ++ ++ ++ Comma-separated list of interface names, service set identifiers ++ (or SSIDs), and Internet Protocol (or IP) addresses. If network ++ filtering is requested but the list is empty, then filtering ++ remains disabled. ++ ++ ++ The list is empty by default. ++ ++ ++ ++ ++ ++ ++ ++ BUGS ++ ++ Please send bug reports to either the distribution bug tracker ++ or the upstream bug tracker at ++ . ++ ++ ++ ++ ++ SEE ALSO ++ ++ ++ dbus-daemon1 ++ ++ ++ ++ +-- +2.25.4 + diff --git a/SPECS/dleyna-renderer.spec b/SPECS/dleyna-renderer.spec index 18ba00d..dca5ae6 100644 --- a/SPECS/dleyna-renderer.spec +++ b/SPECS/dleyna-renderer.spec @@ -2,7 +2,7 @@ Name: dleyna-renderer Version: 0.6.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Service for interacting with Digital Media Renderers License: LGPLv2 @@ -12,9 +12,14 @@ Source0: https://01.org/sites/default/files/downloads/dleyna/%{name}-%{ve # https://bugzilla.gnome.org/show_bug.cgi?id=741257 Patch0: 0001-UPnP-Disconnect-signal-handlers-during-destruction.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=1612579 +Patch1: 0001-Add-a-manual.patch + BuildRequires: autoconf BuildRequires: automake +BuildRequires: docbook-style-xsl BuildRequires: libtool +BuildRequires: libxslt BuildRequires: pkgconfig BuildRequires: pkgconfig(dleyna-core-1.0) BuildRequires: pkgconfig(gio-2.0) @@ -44,6 +49,7 @@ developing applications that use %{name}. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build @@ -74,6 +80,8 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/libdleyna-renderer-%{api}.so %doc ChangeLog %doc README %{_datadir}/dbus-1/services/com.intel.%{name}.service +%{_datadir}/man/man5/%{name}-service.conf.5* + %dir %{_libdir}/%{name} %{_libdir}/%{name}/libdleyna-renderer-%{api}.so.* @@ -86,6 +94,10 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/libdleyna-renderer-%{api}.so %changelog +* Sun Aug 23 2020 Debarshi Ray - 0.6.0-3 +- Add a manual +Resolves: #1612579 + * Wed Feb 07 2018 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild