162 lines
6.9 KiB
RPMSpec
162 lines
6.9 KiB
RPMSpec
Name: wxformbuilder
|
|
Version: 3.4.2
|
|
Release: 1mamba
|
|
Summary: A RAD tool for wxWidgets GUI design
|
|
Group: Graphical Desktop/Applications/Development
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://sourceforge.net/projects/wxformbuilder/
|
|
Source: http://downloads.sourceforge.net/project/wxformbuilder/wxformbuilder-nightly/%{version}-beta/wxFormBuilder_v%{version}-beta-source.zip
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libwx_baseu-devel
|
|
BuildRequires: libwx_gtk3u-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
wxFormBuilder is a RAD tool for wxWidgets GUI design.
|
|
|
|
Features:
|
|
- Visual design of wxWidgets dialogs, frames, panels, toolbars and menubars
|
|
- Source code generation for C++, Python, PHP, Lua and XRC
|
|
- Support for AUI-managed frames
|
|
- Support for wxWidgets 3.0 widgets
|
|
- Available from Ubuntu PPA (ppa:wxformbuilder/release, ppa:wxformbuilder/wxwidgets)
|
|
- Available from wxPack (https://github.com/rjpcomputing/wxpack/wiki)
|
|
|
|
%prep
|
|
%setup -q -c
|
|
|
|
%build
|
|
# WARNING: on x86_64 with gcc 4.9.2 requires ld.gold
|
|
cd source
|
|
sh ./create_build_files4.sh
|
|
cd build/3.0/gmake
|
|
make config=release
|
|
#CXX="gcc -fno-devirtualize"
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
install -d -m0755 %{buildroot}%{_datadir} %{buildroot}%{_bindir}
|
|
cp -a source/output %{buildroot}%{_datadir}/wxformbuilder
|
|
ln -s %{_datadir}/wxformbuilder/bin/wxformbuilder %{buildroot}%{_bindir}/wxformbuilder
|
|
rm -f %{buildroot}%{_datadir}/wxformbuilder/share/wxformbuilder
|
|
ln -sf .. %{buildroot}%{_datadir}/wxformbuilder/share/wxformbuilder
|
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/applications
|
|
cat >> %{buildroot}%{_datadir}/applications/wxformbuilder.desktop << _EOF
|
|
[Desktop Entry]
|
|
Type=Application
|
|
Encoding=UTF-8
|
|
Name=wxFormBuilder
|
|
GenericName=RAD
|
|
Comment=Designer, GUI Builder, and RAD Tool For wxWidgets
|
|
Comment[it]=Designer, GUI Builder e strumento RAD per wxWidgets
|
|
Exec=wxformbuilder
|
|
Terminal=False
|
|
Icon=%{_datadir}/wxformbuilder/resources/icons/logo.png
|
|
Categories=Application;Development
|
|
_EOF
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/wxformbuilder
|
|
%dir %{_datadir}/wxformbuilder
|
|
%{_datadir}/wxformbuilder/Changelog.txt
|
|
%dir %{_datadir}/wxformbuilder/bin
|
|
%{_datadir}/wxformbuilder/bin/wxformbuilder
|
|
%dir %{_datadir}/wxformbuilder/lib
|
|
%dir %{_datadir}/wxformbuilder/lib/wxformbuilder
|
|
%{_datadir}/wxformbuilder/lib/wxformbuilder/libadditional.so
|
|
%{_datadir}/wxformbuilder/lib/wxformbuilder/libcommon.so
|
|
%{_datadir}/wxformbuilder/lib/wxformbuilder/libcontainers.so
|
|
%{_datadir}/wxformbuilder/lib/wxformbuilder/libforms.so
|
|
%{_datadir}/wxformbuilder/lib/wxformbuilder/liblayout.so
|
|
%{_datadir}/wxformbuilder/license.txt
|
|
%dir %{_datadir}/wxformbuilder/plugins
|
|
%dir %{_datadir}/wxformbuilder/plugins/additional
|
|
%dir %{_datadir}/wxformbuilder/plugins/additional/icons
|
|
%{_datadir}/wxformbuilder/plugins/additional/icons/*.xpm
|
|
%dir %{_datadir}/wxformbuilder/plugins/additional/xml
|
|
%{_datadir}/wxformbuilder/plugins/additional/xml/additional.cppcode
|
|
%{_datadir}/wxformbuilder/plugins/additional/xml/additional.luacode
|
|
%{_datadir}/wxformbuilder/plugins/additional/xml/additional.phpcode
|
|
%{_datadir}/wxformbuilder/plugins/additional/xml/additional.pythoncode
|
|
%{_datadir}/wxformbuilder/plugins/additional/xml/additional.xml
|
|
%dir %{_datadir}/wxformbuilder/plugins
|
|
%dir %{_datadir}/wxformbuilder/plugins/common
|
|
%dir %{_datadir}/wxformbuilder/plugins/common/icons
|
|
%{_datadir}/wxformbuilder/plugins/common/icons/*.xpm
|
|
%{_datadir}/wxformbuilder/plugins/common/xml/common.cppcode
|
|
%{_datadir}/wxformbuilder/plugins/common/xml/common.luacode
|
|
%{_datadir}/wxformbuilder/plugins/common/xml/common.phpcode
|
|
%{_datadir}/wxformbuilder/plugins/common/xml/common.pythoncode
|
|
%{_datadir}/wxformbuilder/plugins/common/xml/common.xml
|
|
%{_datadir}/wxformbuilder/plugins/common/xml/menutoolbar.cppcode
|
|
%{_datadir}/wxformbuilder/plugins/common/xml/menutoolbar.luacode
|
|
%{_datadir}/wxformbuilder/plugins/common/xml/menutoolbar.phpcode
|
|
%{_datadir}/wxformbuilder/plugins/common/xml/menutoolbar.pythoncode
|
|
%{_datadir}/wxformbuilder/plugins/common/xml/menutoolbar.xml
|
|
%dir %{_datadir}/wxformbuilder/plugins/containers
|
|
%dir %{_datadir}/wxformbuilder/plugins/containers/icons
|
|
%{_datadir}/wxformbuilder/plugins/containers/icons/*.xpm
|
|
%dir %{_datadir}/wxformbuilder/plugins/containers/xml
|
|
%{_datadir}/wxformbuilder/plugins/containers/xml/containers.cppcode
|
|
%{_datadir}/wxformbuilder/plugins/containers/xml/containers.luacode
|
|
%{_datadir}/wxformbuilder/plugins/containers/xml/containers.phpcode
|
|
%{_datadir}/wxformbuilder/plugins/containers/xml/containers.pythoncode
|
|
%{_datadir}/wxformbuilder/plugins/containers/xml/containers.xml
|
|
%dir %{_datadir}/wxformbuilder/plugins/forms
|
|
%dir %{_datadir}/wxformbuilder/plugins/forms/icons
|
|
%{_datadir}/wxformbuilder/plugins/forms/icons/*
|
|
%dir %{_datadir}/wxformbuilder/plugins/forms/xml
|
|
%{_datadir}/wxformbuilder/plugins/forms/xml/forms.cppcode
|
|
%{_datadir}/wxformbuilder/plugins/forms/xml/forms.luacode
|
|
%{_datadir}/wxformbuilder/plugins/forms/xml/forms.phpcode
|
|
%{_datadir}/wxformbuilder/plugins/forms/xml/forms.pythoncode
|
|
%{_datadir}/wxformbuilder/plugins/forms/xml/forms.xml
|
|
%dir %{_datadir}/wxformbuilder/plugins/layout
|
|
%dir %{_datadir}/wxformbuilder/plugins/layout/icons
|
|
%{_datadir}/wxformbuilder/plugins/layout/icons/*.xpm
|
|
%dir %{_datadir}/wxformbuilder/plugins/layout/xml
|
|
%{_datadir}/wxformbuilder/plugins/layout/xml/layout.cppcode
|
|
%{_datadir}/wxformbuilder/plugins/layout/xml/layout.luacode
|
|
%{_datadir}/wxformbuilder/plugins/layout/xml/layout.phpcode
|
|
%{_datadir}/wxformbuilder/plugins/layout/xml/layout.pythoncode
|
|
%{_datadir}/wxformbuilder/plugins/layout/xml/layout.xml
|
|
%dir %{_datadir}/wxformbuilder/resources
|
|
%{_datadir}/wxformbuilder/resources/about.html
|
|
%dir %{_datadir}/wxformbuilder/resources/icons
|
|
%{_datadir}/wxformbuilder/resources/icons/*
|
|
%{_datadir}/wxformbuilder/resources/splash.png
|
|
%{_datadir}/wxformbuilder/resources/wxFormBuilder_Banner.png
|
|
%{_datadir}/wxformbuilder/share/README.txt
|
|
%{_datadir}/wxformbuilder/share/wxformbuilder
|
|
%dir %{_datadir}/wxformbuilder/xml
|
|
%{_datadir}/wxformbuilder/xml/default.cppcode
|
|
%{_datadir}/wxformbuilder/xml/default.luacode
|
|
%{_datadir}/wxformbuilder/xml/default.phpcode
|
|
%{_datadir}/wxformbuilder/xml/default.pythoncode
|
|
%{_datadir}/wxformbuilder/xml/default.xml
|
|
%{_datadir}/wxformbuilder/xml/icons.xml
|
|
%{_datadir}/wxformbuilder/xml/objtypes.xml
|
|
%{_datadir}/wxformbuilder/xml/properties.cppcode
|
|
%{_datadir}/wxformbuilder/xml/properties.luacode
|
|
%{_datadir}/wxformbuilder/xml/properties.phpcode
|
|
%{_datadir}/wxformbuilder/xml/properties.pythoncode
|
|
%{_datadir}/applications/wxformbuilder.desktop
|
|
%doc source/COPYING
|
|
#%doc source/README
|
|
|
|
%changelog
|
|
* Mon Mar 24 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.2-1mamba
|
|
- package created using the webbuild interface
|