[3887] | 1 | Summary: A wxWidgets/wxPython/wxPerl GUI designer |
---|
| 2 | Name: wxGlade |
---|
[10576] | 3 | Version: 0.7.2 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | Source0: http://downloads.sourceforge.net/wxglade/%{name}-%{version}.tar.gz |
---|
[3887] | 6 | Source1: wxglade.desktop |
---|
| 7 | Source2: wxglade.png |
---|
| 8 | License: MIT |
---|
| 9 | URL: http://wxglade.sourceforge.net/ |
---|
| 10 | Group: Development/Tools |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 12 | BuildArch: noarch |
---|
| 13 | BuildRequires: desktop-file-utils |
---|
| 14 | Requires: python >= 2.2 |
---|
[10576] | 15 | Requires: wxPython >= 2.8 |
---|
| 16 | BuildRequires: python-setuptools |
---|
[3887] | 17 | |
---|
[10576] | 18 | Distribution: Vine Linux |
---|
[3887] | 19 | Vendor: Project Vine |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | wxGlade is a GUI designer written in Python with the popular GUI |
---|
| 23 | toolkit wxPython, that helps you create wxWidgets/wxPython user |
---|
| 24 | interfaces. At the moment it can generate Python, C++, Perl and XRC |
---|
| 25 | (wxWidgets' XML resources) code. |
---|
| 26 | |
---|
| 27 | %prep |
---|
[10576] | 28 | %setup -q |
---|
[3887] | 29 | |
---|
| 30 | %build |
---|
[10576] | 31 | python setup.py build |
---|
[3887] | 32 | |
---|
| 33 | %install |
---|
| 34 | # cleanup |
---|
[10576] | 35 | %__rm -rf %{buildroot} |
---|
[3887] | 36 | |
---|
[10576] | 37 | python setup.py install --prefix=%{_prefix} -O1 --skip-build --root=%{buildroot} |
---|
[3887] | 38 | |
---|
[10576] | 39 | # Let's handle licenses by ourselves. |
---|
| 40 | rm -frv %{buildroot}%{_docdir}/wxglade/LICENSE.txt |
---|
[3887] | 41 | |
---|
[10576] | 42 | # Install desktop related entries |
---|
| 43 | desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{S:1} |
---|
| 44 | install -pm 755 -d %{buildroot}%{_datadir}/icons/hicolor/32x32/apps |
---|
| 45 | install -pm 644 %{S:2} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps |
---|
[3887] | 46 | |
---|
| 47 | |
---|
| 48 | %post |
---|
| 49 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
| 50 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 51 | update-desktop-database %{_datadir}/applications &>/dev/null || : |
---|
| 52 | |
---|
| 53 | %postun |
---|
| 54 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
| 55 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 56 | update-desktop-database %{_datadir}/applications &>/dev/null || : |
---|
| 57 | |
---|
| 58 | %clean |
---|
| 59 | %__rm -rf $RPM_BUILD_ROOT |
---|
| 60 | |
---|
| 61 | %files |
---|
| 62 | %defattr(-,root,root,-) |
---|
[10576] | 63 | %doc %{_docdir}/wxglade/ |
---|
| 64 | %license LICENSE.txt |
---|
| 65 | %{_bindir}/wxglade* |
---|
| 66 | %{_datadir}/icons/hicolor/*x*/apps/* |
---|
[3887] | 67 | %{_datadir}/applications/* |
---|
[10576] | 68 | %{_datadir}/wxglade |
---|
| 69 | %{_mandir}/man1/wxglade.1* |
---|
| 70 | %{python_sitelib}/wxglade/ |
---|
| 71 | %{python_sitelib}/%{name}-%{version}-py2.7.egg-info |
---|
[3887] | 72 | |
---|
| 73 | %changelog |
---|
[10576] | 74 | * Sat Jul 9 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.7.2-1 |
---|
| 75 | - new upstream release. |
---|
| 76 | |
---|
[3887] | 77 | * Mon May 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.6.3-1.tip20110516 |
---|
| 78 | - initial build |
---|
| 79 | |
---|
| 80 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3tip20100625-3 |
---|
| 81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 82 | |
---|
| 83 | * Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.3tip20100625-2 |
---|
| 84 | - recompiling .py files against Python 2.7 (rhbz#623417) |
---|
| 85 | |
---|
| 86 | * Fri Jun 25 2010 ZC Miao <hellwolf.misty@gmail.com> - 0.6.3tip20100625-1 |
---|
| 87 | - update to tip20100625 |
---|
| 88 | |
---|
| 89 | * Sun Jun 6 2010 ZC Miao <hellwolf.misty@gmail.com> - 0.6.3tip20091130-2 |
---|
| 90 | - update source |
---|
| 91 | |
---|
| 92 | * Mon Nov 30 2009 ZC Miao <hellwolf.misty@gmail.com> - 0.6.3tip20091130-1 |
---|
| 93 | - update to tip version |
---|
| 94 | |
---|
| 95 | * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-4 |
---|
| 96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 97 | |
---|
| 98 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-3 |
---|
| 99 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 100 | |
---|
| 101 | * Sat May 24 2008 ZC Miao <hellwolf.misty@gmail.com> - 0.6.3-2 |
---|
| 102 | - update to 0.6.3 |
---|
| 103 | |
---|
| 104 | * Sat Nov 24 2007 ZC Miao <hellwolf.misty@gmail.com> - 0.6.1-1 |
---|
| 105 | - update to 0.6.1 |
---|
| 106 | - remove docs path patch, add a docs symlink instead |
---|
| 107 | |
---|
| 108 | * Thu Jul 19 2007 ZC Miao <hellwolf.misty@gmail.com> - 0.5-6 |
---|
| 109 | - 248795 , patch for launch help docs correctly |
---|
| 110 | |
---|
| 111 | * Mon Apr 16 2007 ZC Miao <hellwolf.misty@gmail.com> - 0.5-5 |
---|
| 112 | - update to fix EVR problem |
---|
| 113 | |
---|
| 114 | * Sun Apr 15 2007 ZC Miao <hellwolf.misty@gmail.com> - 0.5-2 |
---|
| 115 | - file permissions with install command |
---|
| 116 | |
---|
| 117 | * Sun Apr 15 2007 ZC Miao <hellwolf.misty@gmail.com> - 0.5-1 |
---|
| 118 | - update to 0.5 |
---|
| 119 | - launch script with quoted $@ |
---|
| 120 | - name to wxGlade |
---|
| 121 | |
---|
| 122 | * Tue Feb 27 2007 ZC Miao <hellwolf.misty@gmail.com> - 0.4.1-3 |
---|
| 123 | - Desktop entry do not need version number |
---|
| 124 | - remove some comments |
---|
| 125 | |
---|
| 126 | * Sun Feb 25 2007 ZC Miao <hellwolf.misty@gmail.com> - 0.4.1-2 |
---|
| 127 | - install icon to hicolor directory |
---|
| 128 | - change name to wxglade |
---|
| 129 | - BuildRequires desktop-file-utils |
---|
| 130 | - remove Application category in desktop file |
---|
| 131 | - remove some macro redefination |
---|
| 132 | |
---|
| 133 | * Fri Feb 16 2007 ZC Miao <hellwolf.misty@gmail.com> - 0.4.1-2 |
---|
| 134 | - Add missing icons |
---|
| 135 | |
---|
| 136 | * Fri Feb 16 2007 ZC Miao <hellwolf.misty@gmail.com> - 0.4.1-1 |
---|
| 137 | - update to 0.4.1 |
---|
| 138 | |
---|
| 139 | * Wed Oct 27 2004 Alberto Griggio <agriggio@users.sf.net> 0.3.5-1 |
---|
| 140 | - Updated to version 0.3.5 |
---|
| 141 | |
---|
| 142 | * Wed Mar 10 2004 Alberto Griggio <agriggio@users.sf.net> 0.3.4-1 |
---|
| 143 | - Updated to version 0.3.4 |
---|
| 144 | |
---|
| 145 | * Wed Mar 10 2004 Alberto Griggio <albgrig@tiscalinet.it> 0.3.2-1 |
---|
| 146 | - Updated to version 0.3.2 |
---|
| 147 | |
---|
| 148 | * Tue Sep 02 2003 Alberto Griggio <albgrig@tiscalinet.it> 0.3.1-1 |
---|
| 149 | - Updated to version 0.3.1 |
---|
| 150 | |
---|
| 151 | * Fri Aug 29 2003 Robin Dunn <robind@alldunn.com> 0.3-5 |
---|
| 152 | - Initial version |
---|