Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37042614
en ru br
ALT Linux repos
S:0.3.3-alt1

Group :: Emulators
RPM: pywinery

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: pywinery
Version: 0.3.3
Release: alt1

Summary: PyWinery is a graphical, easy and simple wine-prefix manager

License: GPLv3
Group: Emulators
Url: https://github.com/ergoithz/pywinery

Packager: Konstantin Artyushkin <akv at altlinux.org>

# Source-url: https://github.com/ergoithz/pywinery/archive/%version.tar.gz

Source: %name-%version.tar

BuildArch:noarch

BuildRequires(pre): rpm-build-python3
# FIXME: AttributeError: 'gi.repository.Gtk' object has no attribute 'Container'
# typelib(gtk) provided both libgtk+3-gir and libgtk+4-gir
BuildRequires: libgtk+3-gir
BuildRequires: python3-module-pygobject3

# TODO: gi.require_version("Gtk", "3.0")

Conflicts: libgtk+4-gir

%description
PyWinery is a graphical, easy and simple wine-prefix manager which allows
you to launch apps, explore and manage configuration of separate prefixes,
graphically and faster than setting variables on linux shell.

%prep
%setup
mv branches/0.3/* .
sed -i 's|python|&3|' $(find ./ -name '%name' -type f)
sed -i 's|#!.*python.*|#!/usr/bin/env python3|' $(find ./ -name '*.py')

%build
%python3_build

%install
%python3_install

%files
%_bindir/%name
%python3_sitelibdir/%name-*.egg-info
%python3_sitelibdir/%name/*
%_desktopdir/%name.desktop
%_datadir/%name/*


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin