Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37385819
en ru br
Репозитории ALT
S:43.0-alt1
5.1: 2.28.2-alt1.M51.1
4.1: 2.22.1-alt1.qa1
4.0: 2.16.3-alt1
3.0: 2.10.3-alt1
www.altlinux.org/Changes

Другие репозитории
Upstream:2.22.0

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

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

%define _libexecdir %_prefix/libexec

%define xdg_name org.gnome.FileRoller
%define xdg_name1 org.gnome.ArchiveManager
%define ver_major 43
%define beta %nil
%def_disable packagekit
%def_enable libarchive
%def_enable nautilus_actions

Name: file-roller
Version: %ver_major.0
Release: alt1%beta

Summary: An archive manager for GNOME
Summary (ru_RU.UTF-8): п░я─я┘п╦п╡п╟я┌п╬я─ п╢п╩я▐ GNOME
Group: File tools
License: %gpl2plus
Url: http://fileroller.sourceforge.net

Source: %gnome_ftp/%name/%ver_major/%name-%version%beta.tar.xz
Patch1: %name-3.3.90-alt-zip_command.patch

%define glib_ver 2.36.0
%define gtk_ver 3.22.0
%define handy_ver 1.5
%define libarchive_ver 3.2
%define desktop_file_utils_ver 0.8
%define nau_api_ver 4
%define nautilus_ver 43
%define portal_ver 0.5

Requires: tar gzip bzip2 ncompress lzop binutils arj lha unrar zip unzip p7zip lzma-utils xz
# Requires: cdrecord # for .iso support
Requires: dconf gnome-icon-theme

BuildRequires(pre): rpm-macros-meson rpm-build-gnome rpm-build-licenses
BuildRequires: meson yelp-tools
BuildRequires: libgio-devel >= %glib_ver
BuildRequires: libgtk+3-devel >= %gtk_ver
BuildRequires: pkgconfig(libhandy-1) >= %handy_ver
BuildRequires: desktop-file-utils >= %desktop_file_utils_ver
BuildRequires: libjson-glib-devel libportal-devel libportal-gtk3-devel >= %portal_ver
%{?_enable_libarchive:BuildRequires: libarchive-devel >= %libarchive_ver}
%{?_enable_nautilus_actions:BuildRequires: libnautilus-devel >= 43}

%description
File Roller is an archive manager for the GNOME environment.  This means that
you can : create and modify archives; view the content of an archive; view a
file contained in the archive; extract files from the archive.
File Roller is only a front-end (a graphical interface) to archiving programs
like tar and zip. The supported file types are :
   * Tar archives uncompressed (.tar) or compressed with
         * gzip (.tar.gz, .tgz)
         * bzip (.tar.bz, .tbz)
         * bzip2 (.tar.bz2, .tbz2)
         * compress (.tar.Z, .taz)
         * lzop (.tar.lzo, .tzo)
   * Ar archives (.ar)
   * Arj archives (.arj)
   * Jar archives (.jar, .ear, .war)
   * Lha archives (.lzh)
   * Rar archives (.rar)
   * Zip archives (.zip)
   * 7-Zip archives (.7z)
   * Single files compressed with gzip, bzip, bzip2, compress, lzop

%description -l ru_RU.UTF-8
File Roller - п╟я─я┘п╦п╡п╟я┌п╬я─ п╢п╩я▐ я─п╟п╠п╬я┤п╣пЁп╬ я│я┌п╬п╩п╟ GNOME. п║ п╣пЁп╬ п©п╬п╪п╬я┴я▄я▌ п╪п╬п╤п╫п╬:
я│п╬п╥п╢п╟п╡п╟я┌я▄ п╟я─я┘п╦п╡я▀ п╦ п╦п╥п╪п╣п╫я▐я┌я▄ п╦я┘ я│п╬п╢п╣я─п╤п╦п╪п╬п╣, я┤п╦я┌п╟я┌я▄ п╬пЁп╩п╟п╡п╩п╣п╫п╦п╣ п╟я─я┘п╦п╡п╬п╡,
п©я─п╬я│п╪п╟я┌я─п╦п╡п╟я┌я▄ п╦ я─п╟я│п©п╟п╨п╬п╡я▀п╡п╟я┌я▄ п╥п╟п╨п╩я▌я┤п╣п╫п╫я▀п╣ п╡ п╟я─я┘п╦п╡ я└п╟п╧п╩я▀.
File Roller я▐п╡п╩я▐п╣я┌я│я▐ пЁя─п╟я└п╦я┤п╣я│п╨п╬п╧ п╬п╠п╬п╩п╬я┤п╨п╬п╧ п╨ я─п╟п╥п╩п╦я┤п╫я▀п╪ я│я─п╣п╢я│я┌п╡п╟п╪ я│п╤п╟я┌п╦я▐
п╢п╟п╫п╫я▀я┘. п▓ я┤п╦я│п╩п╬ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣п╪я▀я┘ п©я─п╬пЁя─п╟п╪п╪п╬п╧ я┌п╦п©п╬п╡ п╟я─я┘п╦п╡п╬п╡ п╡я┘п╬п╢я▐я┌:
   * п░я─я┘п╦п╡я▀ Tar п╨п╟п╨ п╫п╣я│п╤п╟я┌я▀п╣ (.tar), я┌п╟п╨ п╦ я│п╤п╟я┌я▀п╣ п©п╬я│я─п╣п╢я│я┌п╡п╬п╪
         * gzip (.tar.gz, .tgz)
         * bzip (.tar.bz, .tbz)
         * bzip2 (.tar.bz2, .tbz2)
         * compress (.tar.Z, .taz)
         * lzop (.tar.lzo, .tzo)
   * Ar п╟я─я┘п╦п╡я▀ (.ar)
   * Arj п╟я─я┘п╦п╡я▀ (.arj)
   * Jar п╟я─я┘п╦п╡я▀ (.jar, .ear, .war)
   * Lha п╟я─я┘п╦п╡я▀ (.lzh)
   * Rar п╟я─я┘п╦п╡я▀ (.rar)
   * Zip п╟я─я┘п╦п╡я▀ (.zip)
   * 7-Zip п╟я─я┘п╦п╡я▀ (.7z)
   * п·я┌п╢п╣п╩я▄п╫я▀п╣ я└п╟п╧п╩я▀ я│п╤п╟я┌я▀п╣ п©я─п╦ п©п╬п╪п╬я┴п╦ gzip, bzip, bzip2, compress, lzop.

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

rm -f data/%xdg_name.desktop{,.in}

%build
%meson \
   %{?_enable_packagekit:-Dpackagekit=true} \
   %{?_enable_libarchive:-Dlibarchive=enabled} \
   %{?_disable_nautilus_actions:-Dnautilus-actions=false} \
   -Dnotification=enabled \
   -Dcpio='/bin/cpio'
%nil
%meson_build

%install
%meson_install

%find_lang --with-gnome %name

%files -f %name.lang
%_bindir/*
%dir %_libexecdir/%name
%_libexecdir/%name/*.sh
%_libexecdir/%name/rpm2cpio
%dir %_datadir/%name
%_datadir/%name/*
%_datadir/dbus-1/services/%xdg_name.service
%_datadir/dbus-1/services/%{xdg_name1}1.service
%_desktopdir/%xdg_name.desktop
%_iconsdir/hicolor/*/apps/%{xdg_name}*.*
%config %_datadir/glib-2.0/schemas/*
%_datadir/metainfo/%xdg_name.appdata.xml
%{?_enable_nautilus_actions:%_libdir/nautilus/extensions-%nau_api_ver/*.so}
%doc AUTHORS NEWS README.md

%changelog

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

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