Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37048058
en ru br
Репозитории ALT
S:1.5.0-alt1
5.1: 0.4.6-alt1.1
4.1: 0.3.9-alt0.M41.1
4.0: 0.3.3-alt5.M40.1
3.0: 0.0.8-alt0.1.1
www.altlinux.org/Changes

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

Группа :: Система/Настройка/Оборудование
Пакет: gparted

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

%def_disable snapshot
%define _libexecdir %_prefix/libexec
%define Name GParted

%def_with pic
%def_disable usermode
%def_enable xhost_root
%def_disable check

Name: gparted
Version: 1.5.0
Release: alt1

Summary: %Name Partition Editor
Summary(ru_RU.UTF-8): п═п╣п╢п╟п╨я┌п╬я─ я─п╟п╥п╢п╣п╩п╬п╡ %Name
Summary(uk_UA.UTF-8): п═п╣п╢п╟п╨я┌п╬я─ я─п╬п╥п╢я√п╩я√п╡ %Name
Group: System/Configuration/Hardware
License: %gpl2plus
Url: http://%name.sourceforge.net/

%if_disabled snapshot
Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.gz
%else
Vcs: https://gitlab.gnome.org/GNOME/gparted.git
Source: %name-%version.tar
%endif
Source1: %name-pam
Source2: %name-security

AutoReq: yes, noshell

%define polkit_ver 0.112

Requires: yelp
Requires: polkit >= %polkit_ver
%{?_enable_usermode:Requires: consolehelper}
Requires: hdparm
Requires: dosfstools >= 3.0.18 ntfs-3g btrfs-progs >= 4.5
Requires: cryptsetup
# for raid support
Requires: mdadm dmraid dmsetup lvm2
# for UDF filesystems support
Requires: udftools >= 2.0
# since 1.2.0 (optional)
# exfatprogs conflicts with exfat-utils
Requires: exfatprogs >= 1.1.0

BuildRequires(pre): rpm-build-licenses
BuildRequires: libparted-devel >= 3.2
BuildRequires: libglibmm-devel >= 2.32 libgtkmm3-devel >= 3.4.0
BuildRequires: gcc-c++ libprogsreiserfs-devel libuuid-devel
BuildRequires: yelp-tools
BuildRequires: polkit >= %polkit_ver libpolkit-devel
%{?_enable_check:BuildRequires: xvfb-run}

%description
%Name stands for %Name Partition Editor. It uses libparted to detect
and manipulate devices and partitiontables while several (optional)
filesystemtools provide support for filesystems not included in
libparted. These optional packages will be detected at runtime and
don't require a rebuild of %Name.
%Name is written in C++ and uses gtkmm as Graphical Toolkit. The
general approach is to keep the GUI as simple as possible.

%description -l ru_RU.UTF-8
%Name - %Name Partition Editor. п·п╫ п╦я│п©п╬п╩я▄п╥я┐п╣я┌ libparted п╢п╩я▐
п╬п╠п╫п╟я─я┐п╤п╣п╫п╦я▐ п╦ п╪п╟п╫п╦п©я┐п╩я▐я├п╦п╧ я│ я┐я│я┌я─п╬п╧я│я┌п╡п╟п╪п╦ п╦ я┌п╟п╠п╩п╦я├п╟п╪п╦ я─п╟п╥п╢п╣п╩п╬п╡, п╟ я┌п╟п╨п╤п╣
п╫п╣п╨п╬я┌п╬я─я▀п╣ (п╫п╣п╬п╠я▐п╥п╟я┌п╣п╩я▄п╫я▀п╣) п╦п╫я│я┌я─я┐п╪п╣п╫я┌я▀ (п╫п╣ п╡п╨п╩я▌я┤п╣п╫п╫я▀п╣ п╡ libparted),
п╬п╠п╣я│п©п╣я┤п╦п╡п╟я▌я┴п╦п╣ п©п╬п╢п╢п╣я─п╤п╨я┐ я└п╟п╧п╩п╬п╡я▀я┘ я│п╦я│я┌п╣п╪. п╜я┌п╦ п╫п╣п╬п╠я▐п╥п╟я┌п╣п╩я▄п╫я▀п╣ п©п╟п╨п╣я┌я▀
п╬п╠п╫п╟я─я┐п╤п╦п╡п╟я▌я┌я│я▐ п╡п╬ п╡я─п╣п╪я▐ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ п╦ п╫п╣ я┌я─п╣п╠я┐я▌я┌ п©п╣я─п╣я│п╠п╬я─п╨п╦ %Name.
%Name п╫п╟п©п╦я│п╟п╫ п╫п╟ C++ я│ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣п╪ gtkmm п╡ п╨п╟я┤п╣я│я┌п╡п╣ пЁя─п╟я└п╦я┤п╣я│п╨п╬пЁп╬
п╦п╫я│я┌я─я┐п╪п╣п╫я┌п╟я─п╦я▐. п⌠п╩п╟п╡п╫п╟я▐ п╥п╟п╢п╟я┤п╟ - п╬я│я┌п╟п╡п╦я┌я▄ GUI п╪п╟п╨я│п╦п╪п╟п╩я▄п╫п╬ п©я─п╬я│я┌я▀п╪.

%description -l uk_UA.UTF-8
%Name - %Name Partition Editor. п▓я√п╫ п╡п╦п╨п╬я─п╦я│я┌п╬п╡я┐я■ libparted п╢п╩я▐
п╡п╦я▐п╡п╩п╣п╫п╫я▐ я┌п╟ п╪п╟п╫я√п©я┐п╩я▐я├я√п╧ п╥ п©я─п╦я│я┌я─п╬я▐п╪п╦ я√ я┌п╟п╠п╩п╦я├я▐п╪п╦ я─п╟п╥п╢я√п╩я√п╡, п╟ я┌п╟п╨п╬п╤
п╢п╣я▐п╨я√ (п╫п╣п╬п╠п╬п╡'я▐п╥п╨п╬п╡я√) я√п╫я│я┌я─я┐п╪п╣п╫я┌п╦ (п╫п╣ п╡п╨п╩я▌я┤п╣п╫я√ п╡ libparted), я▐п╨я√
п╥п╟п╠п╣п╥п©п╣я┤я┐я▌я┌я▄ п©я√п╢я┌я─п╦п╪п╨я┐ я└п╟п╧п╩п╬п╡п╦я┘ я│п╦я│я┌п╣п╪. п╕я√ п╫п╣п╬п╠п╬п╡'я▐п╥п╨п╬п╡я√ п©п╟п╨п╣я┌п╦
п╡п╦я▐п╡п╩я▐я▌я┌я▄я│я▐ п©я√п╢ я┤п╟я│ п╡п╦п╨п╬п╫п╟п╫п╫я▐ я√ п╫п╣ п©п╬я┌я─п╣п╠я┐я▌я┌я▄ п©п╣я─п╣п╠я┐п╢п╬п╡п╦ %Name.
%Name п╫п╟п©п╦я│п╟п╫п╬ п╫п╟ C++ п╥ п╡п╦п╨п╬я─п╦я│я┌п╟п╫п╫я▐п╪ gtkmm п╡ я▐п╨п╬я│я┌я√ пЁя─п╟я└я√я┤п╫п╬пЁп╬
я√п╫я│я┌я─я┐п╪п╣п╫я┌п╟я─я√я▌. п⌠п╬п╩п╬п╡п╫п╣ п╥п╟п╡п╢п╟п╫п╫я▐ - п╥п╟п╩п╦я┬п╦я┌п╦ GUI п╪п╟п╨я│п╦п╪п╟п╩я▄п╫п╬ п©я─п╬я│я┌п╦п╪.


%prep
%setup

# get polkit version from pkaction in hasher

subst 's/pkexec --version/pkaction --version/' configure*

%build
#NOCONFIGURE=1 ./autogen.sh
%add_optflags %(getconf LFS_CFLAGS)
%configure %{subst_with pic} \
%{?_enable_usermode:--bindir=%_sbindir} \
%{?_enable_xhost_root:--enable-xhost-root} \
--enable-libparted-dmraid \
--enable-online-resize
%make_build
bzip2 --best --keep --force ChangeLog

%install
%makeinstall_std
%find_lang --with-gnome %name

%if_enabled usermode
install -pD -m640 %SOURCE1 %buildroot%_sysconfdir/pam.d/%name
install -pD -m640 %SOURCE2 %buildroot%_sysconfdir/security/console.apps/%name
install -d -m 0755 %buildroot%_bindir
ln -s %_bindir/consolehelper %buildroot%_bindir/%name
sed -i 's|%_sbindir|%_bindir|' %buildroot%_desktopdir/%name.desktop
%endif

%check
xvfb-run %make check

%files -f %name.lang
%doc AUTHORS ChangeLog.* README NEWS
%_bindir/%name
%_libexecdir/%{name}bin
%_man8dir/%name.8.*
%_iconsdir/hicolor/*/apps/*
%_desktopdir/%name.desktop
%_datadir/polkit-1/actions/org.gnome.gparted.policy
%_datadir/appdata/%name.appdata.xml

%if_enabled usermode
%_bindir/%name
%_sysconfdir/pam.d/%name
%_sysconfdir/security/console.apps/%name
%endif

%changelog

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

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