Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37043847
en ru br
Репозитории ALT

Группа :: Графические оболочки/GNOME
Пакет: gnome-user-share

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable snapshot
%define _libexecdir %_prefix/libexec
%define ver_major 43
%define beta %nil
%define httpd /usr/sbin/httpd2
%define modules_path %_sysconfdir/httpd2/modules

# removed since 43.alpha

%def_disable nautilus

Name: gnome-user-share
Version: %ver_major.0
Release: alt1%beta

Summary: Gnome user file sharing
Group: Graphical desktop/GNOME
License: GPLv2+
Url: https://www.gnome.org

%if_disabled snapshot
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version%beta.tar.xz
%else
Source: %name-%version%beta.tar
%endif

%define glib_ver 2.58
%define nautilus_ver 3.27.90

Requires: apache2 >= 2.2
Requires: apache2-mod_dnssd >= 0.6

BuildRequires(pre): rpm-macros-meson
BuildRequires: meson yelp-tools desktop-file-utils
BuildRequires: libgio-devel >= %glib_ver libgtk+3-devel libnotify-devel libcanberra-gtk3-devel
BuildRequires: libselinux-devel libgudev-devel
BuildRequires: apache2 apache2-mod_dnssd pkgconfig(systemd)
%{?_enable_nautilus:BuildRequires: libnautilus-devel >= %nautilus_ver}

%description
gnome-user-share is a small package that binds together various free
software projects to bring easy to use user-level file sharing to the
masses.

The program is meant to run in the background when the user is logged
in, and when file sharing is enabled a webdav server is started that
shares the $HOME/Public folder. The share is then published to all
computers on the local network using mDNS/rendezvous, so that it shows
up in the Network location in Gnome.

The dav server used is apache, so you need that installed. Avahi or
Howl is used for mDNS support, so you need to have that installed and
mDNSResolver running.

%prep
%setup -n %name-%version%beta

%build
%meson -Dhttpd=%httpd \
      -Dmodules_path=%modules_path \
      %{?_enable_nautilus:-Dnautilus_extension=true}
%nil
%meson_build

%install
%meson_install
%find_lang --with-gnome %name

%files -f gnome-user-share.lang
%_libexecdir/%name-webdav
%_desktopdir/%name-webdav.desktop
%_datadir/%name/
%{?_enable_nautilus:%_libdir/nautilus/extensions-3.0/libnautilus-share-extension.so}
%_datadir/GConf/gsettings/%name.convert
%_datadir/glib-2.0/schemas/org.gnome.desktop.file-sharing.gschema.xml
%_prefix/lib/systemd/user/%name-webdav.service
%doc README NEWS


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin