Sisyphus repositório
Última atualização: 15 julho 2019 | SRPMs: 17676 | Visitas: 14307564
en ru br
ALT Linux repositórios

Group :: Desenvolvimento/Outros
RPM: wxGlade

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define name wxGlade

Name: wxGlade
Summary: A GUI builder for wxWindows/wxPython
Version: 0.7.2
Release: alt2
License: MIT
Group: Development/Other
Packager: Konstantin Artyushkin <akv at>

BuildRequires: ImageMagick-tools
BuildRequires: python-devel
BuildRequires: python-module-setuptools
BuildRequires: rpm-build-python
BuildArch: noarch

wxGlade is a GUI designer written in Python with the popular GUI toolkit
wxPython, that helps you create wxWindows/wxPython user interfaces. At the
moment it can generate Python, C++ and XRC (wxWindows' XML resources) code.

As you can guess by the name, its model is Glade, the famous GTK+/GNOME
GUI builder, with which wxGlade shares the philosophy and the look & feel
(but not a line of code).

It is not (and will never be) a full featured IDE, but simply a "designer":
the generated code does nothing apart from displaying the created widgets.
If you are looking for a complete IDE, maybe Boa Constructor or PythonCard
is the right tool.

chmod a-x CREDITS.txt
chmod a-x LICENSE.txt
chmod a-x docs/src/manual.xml


%__python install --prefix=%prefix -O1 --skip-build --root=%buildroot

# icons

mkdir -p %buildroot{%_iconsdir,%_miconsdir,%_liconsdir}
convert -resize 32x32 icons/icon.xpm %buildroot%_iconsdir/%name.png
convert -resize 16x16 icons/icon.xpm %buildroot%_miconsdir/%name.png
convert -resize 48x48 icons/icon.xpm %buildroot%_liconsdir/%name.png

# menu entry

mkdir -p %buildroot%_desktopdir
cat > %buildroot%_desktopdir/%name.desktop << EOF
[Desktop Entry]
Comment=A GUI builder for wxWindows/wxPython

# docs handled by doc section

rm -rf %buildroot%_docdir/wxglade

# fix attr

chmod a+x %buildroot%python_sitelibdir/wxglade/{xrc2wxg,wxglade,templates_ui,msgdialog}.py

%doc docs CHANGES.txt README.txt TODO.txt CREDITS.txt LICENSE.txt


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