Репозиторий Sisyphus
Последнее обновление: 18 июня 2021 | Пакетов: 17558 | Посещений: 21230224
en ru br
Репозитории ALT

Группа :: Работа с файлами
Пакет: pantheon-files

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

%def_enable snapshot

%define _libexecdir %_prefix/libexec

%define ver_major 4.5
%define _name files
%define xdg_name org.pantheon.%_name
%define rdn_name io.elementary.%_name

Name: pantheon-files
Version: %ver_major.0
Release: alt3

Summary: The file manager of the Pantheon desktop
License: GPL-3.0
Group: File tools
Url: https://github.com/elementary/%_name

%if_disabled snapshot
Source: %url/archive/%version/%_name-%version.tar.gz
%else
Vcs: https://github.com/elementary/files.git
Source: %_name-%version.tar
%endif

Provides: %rdn_name = %version-%release

#Depends: tumbler

#Recommends: contractor
#Suggests: tumbler-plugins-extra
Requires: polkit zeitgeist tumbler elementary-icon-theme

%define granite_ver 6.0.0

BuildRequires(pre): meson
BuildRequires: flatpak-builder
BuildRequires: intltool libappstream-glib-devel
BuildRequires: vala-tools libsqlite3-devel libgtk+3-devel
BuildRequires: libgee0.8-devel libgranite-devel
BuildRequires: libgail3-devel libdbus-glib-devel libnotify-devel
BuildRequires: libxkbcommon-devel libgranite-vala >= %granite_ver
BuildRequires: libzeitgeist2.0-devel libplank-devel libplank-vala
BuildRequires: libpolkit-devel
BuildRequires: libcanberra-devel libcanberra-vala
BuildRequires: libcloudproviders-devel
BuildRequires: libgit2-glib-devel
BuildRequires: pkgconfig(libhandy-1)
BuildRequires: pkgconfig(systemd)

%description
The simple, powerful, and sexy file manager from elementary.

%package devel
Summary: Development files for pantheon-files
Group: Development/C
Requires: %name = %version-%release

%description devel
Development files for pantheon-files.

%package vala
Summary: Vala language bindings for the pantheon-files
Group: Development/Other
BuildArch: noarch
Requires: %name-devel = %version-%release

%description vala
This package provides Vala language bindings for the pantheon-files.

%prep
%setup -n %_name-%version

%build
%meson -Dwith-unity=disabled
%meson_build

%install
%meson_install
%find_lang %rdn_name

%files -f %rdn_name.lang
%doc AUTHORS README*
%_bindir/*
%_libdir/*.so.*
%_libdir/%rdn_name/
%_desktopdir/%rdn_name.desktop
%_datadir/dbus-1/services/%rdn_name.service
%_datadir/dbus-1/services/%rdn_name.Filemanager1.service
%_datadir/glib-2.0/schemas/%rdn_name.gschema.xml
%_datadir/polkit-1/actions/%rdn_name.policy
%dir %_pixmapsdir/%rdn_name
%_pixmapsdir/%rdn_name/*.png
%_datadir/metainfo/%rdn_name.appdata.xml

%_libexecdir/%rdn_name.xdg-desktop-portal
%_prefix/lib/systemd/user/%rdn_name.xdg-desktop-portal.service
%_datadir/dbus-1/services/org.freedesktop.impl.portal.desktop.elementary.files.service
%_datadir/xdg-desktop-portal/portals/%rdn_name.portal

%files devel
%_includedir/%name-widgets.h
%_includedir/%name-core/
%_libdir/*.so
%_pkgconfigdir/%name-core.pc
%_pkgconfigdir/%name-widgets.pc

%if 0
%files vala
%_vapidir/%name-core.vapi
%_vapidir/%name-widgets.vapi
%endif

%changelog

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

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