# Generated by go2rpm %bcond_without check # https://github.com/anacrolix/dms %global goipath github.com/anacrolix/dms Version: 1.0.0 %gometa %global common_description %{expand: dms is a UPnP DLNA Digital Media Server. It runs from the terminal, and serves content directly from the filesystem from the working directory, or the path given. The SSDP component will broadcast and respond to requests on all available network interfaces. dms advertises and serves the raw files, in addition to alternate transcoded streams when it's able, such as mpeg2 PAL-DVD and WebM for the Chromecast. It will also provide thumbnails where possible. dms uses ffprobe/avprobe to get media data such as bitrate and duration, ffmpeg/avconv for video transoding, and ffmpegthumbnailer for generating thumbnails when browsing. These commands must be in the PATH given to dms or the features requiring them will be disabled.} %global golicenses LICENSE %global godocs README.rst TODO Name: %{goname} Release: 1%{?dist} Summary: UPnP DLNA Digital Media Server that includes basic video transcoding # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/mattn/go-gtk/gdk) BuildRequires: golang(github.com/mattn/go-gtk/gtk) BuildRequires: golang(golang.org/x/net/ipv4) %description %{common_description} %gopkg %prep %goprep # We remove dependencies to "github.com/anacrolix/ffprobe" # which depends on ffmpeg rm -rf dlna/dms rm -rf play rm -rf transcode %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue Jun 04 17:07:09 CEST 2019 Robert-André Mauchin - 1.0.0-1 - Release 1.0.0 * Tue Apr 09 15:51:05 CET 2019 Robert-André Mauchin - 0-0.1.20190409git8af4925 - First package for Fedora