Group :: Desenvolvimento/Outros
RPM: gupnp-tools
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%def_disable snapshot
%define ver_major 0.12
Name: gupnp-tools
Version: %ver_major.1
Release: alt1
Summary: GUPnP Tools
Group: Development/Other
License: GPLv2+
Url: http://www.gupnp.org/
%if_disabled snapshot
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz
%else
Source: %name-%version.tar
%endif
%define glib_ver 2.68
%define gssdp_api_ver 1.6
%define gupnp_api_ver 1.6
%define gssdp_ver 1.6
%define gupnp_ver 1.6
%define gtk_ver 3.10
%define soup_api_ver 3.0
%define soup_ver 3.0
BuildRequires(pre): rpm-macros-meson
BuildRequires: meson desktop-file-utils
BuildRequires: libgio-devel >= %glib_ver
BuildRequires: libgssdp%gssdp_api_ver-devel >= %gssdp_ver
BuildRequires: libgupnp%gupnp_api_ver-devel >= %gupnp_ver
BuildRequires: libgupnp-av-devel
BuildRequires: libgtk+3-devel >= %gtk_ver libsoup%soup_api_ver-devel >= %soup_ver
BuildRequires: libxml2-devel libuuid-devel
BuildRequires: libgtksourceview4-devel
%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.
GUPnP Tools are free replacements of Intel UPnP tools that use GUPnP.
They provides client and server side tools which enable one to easily
test and debug one's UPnP devices and control points.
%prep
%setup
%build
%meson
%meson_build
%install
%meson_install
%find_lang %name
%check
%meson_test
%files -f %name.lang
%_bindir/gssdp-discover
%_bindir/gupnp-event-dumper
%_bindir/gupnp-network-light
%_bindir/gupnp-universal-cp
%_bindir/gupnp-av-cp
%_bindir/gupnp-upload
%_desktopdir/gupnp-av-cp.desktop
%_desktopdir/gupnp-network-light.desktop
%_desktopdir/gupnp-universal-cp.desktop
%_iconsdir/hicolor/*x*/*/*.png
%_datadir/%name/
%doc AUTHORS README* NEWS
%changelog
…
Todas as alterações você pod ver aqui
%define ver_major 0.12
Name: gupnp-tools
Version: %ver_major.1
Release: alt1
Summary: GUPnP Tools
Group: Development/Other
License: GPLv2+
Url: http://www.gupnp.org/
%if_disabled snapshot
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz
%else
Source: %name-%version.tar
%endif
%define glib_ver 2.68
%define gssdp_api_ver 1.6
%define gupnp_api_ver 1.6
%define gssdp_ver 1.6
%define gupnp_ver 1.6
%define gtk_ver 3.10
%define soup_api_ver 3.0
%define soup_ver 3.0
BuildRequires(pre): rpm-macros-meson
BuildRequires: meson desktop-file-utils
BuildRequires: libgio-devel >= %glib_ver
BuildRequires: libgssdp%gssdp_api_ver-devel >= %gssdp_ver
BuildRequires: libgupnp%gupnp_api_ver-devel >= %gupnp_ver
BuildRequires: libgupnp-av-devel
BuildRequires: libgtk+3-devel >= %gtk_ver libsoup%soup_api_ver-devel >= %soup_ver
BuildRequires: libxml2-devel libuuid-devel
BuildRequires: libgtksourceview4-devel
%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.
GUPnP Tools are free replacements of Intel UPnP tools that use GUPnP.
They provides client and server side tools which enable one to easily
test and debug one's UPnP devices and control points.
%prep
%setup
%build
%meson
%meson_build
%install
%meson_install
%find_lang %name
%check
%meson_test
%files -f %name.lang
%_bindir/gssdp-discover
%_bindir/gupnp-event-dumper
%_bindir/gupnp-network-light
%_bindir/gupnp-universal-cp
%_bindir/gupnp-av-cp
%_bindir/gupnp-upload
%_desktopdir/gupnp-av-cp.desktop
%_desktopdir/gupnp-network-light.desktop
%_desktopdir/gupnp-universal-cp.desktop
%_iconsdir/hicolor/*x*/*/*.png
%_datadir/%name/
%doc AUTHORS README* NEWS
%changelog
…
Todas as alterações você pod ver aqui