X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=wxGlade.spec;h=1692c715420e01628fb985626843026f7a70c810;hb=HEAD;hp=e2ec8bc5ae063511f6fe4195aad9da5782e44f01;hpb=c374fac6b2ddb101758f0e3b92127aad1ebad594;p=packages%2FwxGlade.git diff --git a/wxGlade.spec b/wxGlade.spec index e2ec8bc..1692c71 100644 --- a/wxGlade.spec +++ b/wxGlade.spec @@ -1,16 +1,17 @@ Summary: wxWidgets/wxPython/wxPerl GUI designer -Summary(pl): Projektant GUI dla wxWidgets/wxPython/wxPerl +Summary(pl.UTF-8): Projektant GUI dla wxWidgets/wxPython/wxPerl Name: wxGlade -Version: 0.3.3 -Release: 1 +Version: 0.6.3 +Release: 2 License: MIT Group: Development/Tools -Source0: http://dl.sourceforge.net/wxglade/%{name}-%{version}.tgz -# Source0-md5: ac0027c9b50b20f2ad351e40c7229228 +Source0: http://dl.sourceforge.net/wxglade/%{name}-%{version}.tar.gz +# Source0-md5: 05faaab4639b4aadf6d3b32e745ba0d3 URL: http://wxglade.sourceforge.net/ BuildRequires: python-modules >= 2.2 Requires: python-modules >= 2.2 -Requires: python-wxPython >= 2.4.2.4 +Requires: python-wxPython >= 2.6 +Obsoletes: wxGlade-examples BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -20,49 +21,36 @@ toolkit wxPython, that helps you create wxWidgets/wxPython/wxPerl user interfaces. At the moment it can generate Python, C++, Perl and XRC (wxWidgets' XML resources) code. -%description -l pl +%description -l pl.UTF-8 wxGlade jest projektantem GUI napisanym w Pythonie i wxPythonie, -popularnym zbiorem narzêdzi GUI. Pomaga tworzyæ interfejsy u¿ytkownika -wxWidgets/wxPython/wxPerl. Obecnie mo¿e generowaæ kod Pythona, C++, +popularnym zbiorem narzędzi GUI. Pomaga tworzyć interfejsy użytkownika +wxWidgets/wxPython/wxPerl. Obecnie może generować kod Pythona, C++, Perla oraz XRC (zasoby XML wxWidgets). -# Home the examples will come back soon -#%package examples -#Summary: wxGlade example GUI designs -#Summary(pl): Przyk³adowe projekty GUI wxGlade -#Group: Development/Tools -#Requires: %{name} = %{version}-%{release} - -#%description examples -#wxGlade example GUI designs. - -#%description examples -l pl -#Przyk³adowe projekty GUI wxGlade. - %prep %setup -q %build -%{__python} -c 'import compileall; compileall.compile_dir(".")' +%py_comp . +%py_ocomp . %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_examplesdir}/%{name}-%{version}} for dir in "codegen" "edit_sizers" "widgets"; do - find "$dir" -name '*.py' -exec rm -rf '{}' ';' + find "$dir" -name '*.py' -exec rm -rf '{}' ';' done cp -pr codegen $RPM_BUILD_ROOT%{_datadir}/%{name} cp -pr edit_sizers $RPM_BUILD_ROOT%{_datadir}/%{name} cp -pr icons $RPM_BUILD_ROOT%{_datadir}/%{name} +cp -pr templates $RPM_BUILD_ROOT%{_datadir}/%{name} cp -pr widgets $RPM_BUILD_ROOT%{_datadir}/%{name} -install *.pyc $RPM_BUILD_ROOT%{_datadir}/%{name} +install *.py[co] $RPM_BUILD_ROOT%{_datadir}/%{name} install credits.txt $RPM_BUILD_ROOT%{_datadir}/%{name} install license.txt $RPM_BUILD_ROOT%{_datadir}/%{name} -#cp -pr examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} - cat > $RPM_BUILD_ROOT%{_bindir}/wxglade <