Sisyphus repositório
Última atualização: 17 outubro 2021 | SRPMs: 17359 | Visitas: 22099655
en ru br
ALT Linux repositórios
S:1.0.13-alt1

Group :: Desktop gráfico/XFce
RPM: xfce4-panel-profiles

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: xfce4-panel-profiles
Version: 1.0.12
Release: alt1

Summary: A simple application to manage Xfce panel layouts
License: GPL-3.0+
Group: Graphical desktop/XFce
Url: https://docs.xfce.org/apps/xfce4-panel-profiles/start

Vcs: https://gitlab.xfce.org/apps/xfce4-panel-profiles.git
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Packager: Xfce Team <xfce at packages.altlinux.org>
BuildArch: noarch

BuildRequires(pre): rpm-build-python3 rpm-build-gir
BuildRequires: intltool
# For libxfce4ui typelib name check
BuildRequires: libxfce4ui-gtk3-gir

%add_python3_path %_datadir/%name

Requires: xfce4-panel

%define _unpackaged_files_terminate_build 1

%description
Xfce4 Panel Profiles (xfce4-panel-profiles, formerly known as xfpanel-switch)
is a simple application to manage Xfce panel layouts.
With the modular Xfce Panel, a multitude of panel layouts can be
created. This tool makes it possible to backup, restore, import, and
export these panel layouts.

%prep
%setup
%patch -p1
# Workaround for libxfce4ui < 4.15.7
if [ -e %_typelibdir/libxfce4ui-2.0.typelib ]; then
sed -i -e "s/^gi\.require_version('Libxfce4ui', '2\.0')$/gi.require_version('libxfce4ui', '2.0')/p" \
      -e "s/^from gi\.repository import Libxfce4ui as libxfce4ui$/from gi.repository import libxfce4ui/p" \
  xfce4-panel-profiles/xfce4-panel-profiles.py
fi

%build
# It is not autotools configure
./configure \
--prefix=%_prefix \
--python=python3
%make_build

%install
%makeinstall_std
%find_lang %name

%files -f %name.lang
%doc %_defaultdocdir/%name
%_bindir/%name
%_datadir/%name/
%_desktopdir/*.desktop
%_iconsdir/hicolor/*/apps/*
%_datadir/metainfo/*.appdata.xml
%_man1dir/%name.*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009