]> git.pld-linux.org Git - packages/boa-constructor.git/blame - boa-constructor.spec
- BR: ImageMagick
[packages/boa-constructor.git] / boa-constructor.spec
CommitLineData
45c0e798 1%define _ver beta
a6342966 2Summary: Boa Constructor - a cross platform Python IDE
834cbed0 3Summary(pl.UTF-8): Boa Constructor - wieloplatformowe IDE do Pythona
5f8ecf80 4Name: boa-constructor
45c0e798
RT
5Version: 0.6.1
6Release: 0.%{_ver}.1
5f8ecf80
KK
7License: GPL
8Group: X11/Development/Tools
45c0e798
RT
9Source0: http://dl.sourceforge.net/boa-constructor/%{name}-%{version}.src.zip
10# Source0-md5: 150d923c608a405eeb17bf655ce26b14
d3798c06 11# boa-constructor-0.4.0.src.zip
5f8ecf80 12URL: http://boa-constructor.sourceforge.net/
6a4d8df6 13BuildRequires: ImageMagick
240b7383 14BuildRequires: unzip
36f4cfd3 15Requires: python-wxPython > 2.4
16#Requires: python-wxPython < 2.5
5f8ecf80
KK
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21Boa Constructor is a cross platform Python IDE and wxPython GUI
22Builder. It offers visual frame creation and manipulation, an object
23inspector, many views on the source like object browsers, inheritance
a6342966 24hierarchies, doc string generated HTML documentation, an advanced
5f8ecf80
KK
25debugger and integrated help.
26
b9283bbf
JR
27%description -l pl.UTF-8
28Boa Constructor to wieloplatformowe IDE do Pythona oraz narzędzie do
29budowania GUI opartych o bibliotekę wxPython. Oferuje wizualne
30tworzenie i obróbkę ramek, inspektora obiektów, wiele widoków źródeł,
31takich jak przeglądarki obiektów, hierarchie dziedziczenia,
32dokumentację HTML generowaną z łańcuchów doc oraz zaawansowany
33debugger i zintegrowaną pomoc.
a6342966 34
5f8ecf80
KK
35%prep
36%setup -q
37
45c0e798
RT
38convert Images/Icons/Boa.ico -format png ./Boa.png
39
40cat <<'EOF' > Boa.desktop
41[Desktop Entry]
42Name=Boa-Construktor
43Comment=Cross platform Python IDE and wxPython GUI
44Comment[pl]=Wieloplatformowe IDE do Pythona oraz narzędzie do budowania GUI
45Icon=Boa.png
46Exec=boa
47Terminal=false
48Type=Application
49Encoding=UTF-8
50Categories=Development;IDE;
51# vi: encoding=utf-8
52EOF
53
5f8ecf80
KK
54%install
55rm -rf $RPM_BUILD_ROOT
45c0e798
RT
56install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir}}
57install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_examplesdir}/%{name}}
5f8ecf80 58
45c0e798
RT
59install Boa.png $RPM_BUILD_ROOT%{_pixmapsdir}
60install Boa.desktop $RPM_BUILD_ROOT%{_desktopdir}
5f8ecf80 61install *.py* $RPM_BUILD_ROOT%{_datadir}/%{name}
45c0e798 62cp -r bcrtl Companions Config Debugger Docs Explorers ExternalLib Images \
5f8ecf80 63 Models Plug-ins PropEdit Views ZopeLib $RPM_BUILD_ROOT%{_datadir}/%{name}
45c0e798
RT
64cp -r Examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}
65
66%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
67%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
68find $RPM_BUILD_ROOT%{_datadir}/%{name} -maxdepth 2 -name "*.py" | xargs rm
5f8ecf80
KK
69
70echo -e "#!/bin/sh
71cd %{_datadir}/%{name}
45c0e798 72python Boa.pyc" > $RPM_BUILD_ROOT%{_bindir}/boa
5f8ecf80
KK
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%files
78%defattr(644,root,root,755)
79%doc *.txt
80%attr(755,root,root) %{_bindir}/*
81%{_datadir}/%{name}
45c0e798
RT
82%{_examplesdir}/%{name}
83%{_pixmapsdir}/Boa.png
84%{_desktopdir}/Boa.desktop
This page took 0.05594 seconds and 4 git commands to generate.