]>
Commit | Line | Data |
---|---|---|
ecb6b3ca | 1 | # TODO: |
2 | # - investigate the documentation format in doc | |
3 | # - package only py[co] files | |
4 | # - verify if such a big version jump actually works | |
5 | # | |
b4d7d842 MWP |
6 | %define realname PIDA |
7 | # | |
64e7236a | 8 | Summary: A framework for integrated development |
aa504356 | 9 | Summary(pl.UTF-8): Szkielet do programowania zintegrowanego |
64e7236a | 10 | Name: pida |
b4d7d842 | 11 | Version: 0.5.0 |
ecb6b3ca | 12 | Release: 0.1 |
64e7236a AM |
13 | License: GPL |
14 | Group: Development/Tools | |
b4d7d842 MWP |
15 | Source0: http://pida.googlecode.com/files/%{realname}-%{version}.tar.gz |
16 | # Source0-md5: 5f177b634eddc42133e59dbe21b16341 | |
8a944c88 | 17 | Source1: %{name}.desktop |
f897d35c | 18 | URL: http://pida.berlios.de/ |
72354d77 RK |
19 | BuildRequires: python-devel |
20 | BuildRequires: python-setuptools | |
687255d6 | 21 | BuildRequires: rpm-pythonprov |
8a944c88 | 22 | Requires: python-gnome-desktop-gtksourceview |
ecb6b3ca | 23 | Requires: python-vte |
24 | Requires: python-kiwi | |
64e7236a AM |
25 | BuildArch: noarch |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
64e7236a AM |
28 | %description |
29 | PIDA is an integrated development environment (IDE) for UNIX-like | |
30 | operating systems. | |
31 | ||
32 | Unique Features: | |
33 | - Vim embedding | |
34 | - File browser that understands version status information for CVS, | |
35 | Subversion, Darcs, Monotone, Mercurial, Bazaar-ng and Arch | |
687255d6 | 36 | - Built in GTK+ rapid application development |
64e7236a AM |
37 | - Many more unique and obsessive touches |
38 | ||
7b05534b JR |
39 | %description -l pl.UTF-8 |
40 | PIDA to zintegrowane środowisko programistyczne (IDE) dla uniksowych | |
41 | systemów operacyjnych. | |
687255d6 JB |
42 | |
43 | Unikalne cechy: | |
44 | - osadzony Vim | |
7b05534b JR |
45 | - przeglądarka plików uwzględniająca informacje o stanie wersji dla |
46 | systemów kontroli wersji CVS, Subversion, Darcs, Monotone, Mercurial, | |
72354d77 | 47 | Bazaar-ng i Arch |
7b05534b JR |
48 | - wbudowane środowisko szybkiego tworzenia aplikacji GTK+ |
49 | - wiele innych unikalnych i pożądanych drobiazgów | |
687255d6 | 50 | |
64e7236a | 51 | %prep |
b4d7d842 | 52 | %setup -q -n %{realname}-%{version} |
64e7236a AM |
53 | |
54 | %build | |
55 | python setup.py build | |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
8a944c88 | 59 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
64e7236a AM |
60 | |
61 | python setup.py install \ | |
62 | --install-data=%{_datadir}/%{name} \ | |
64e7236a AM |
63 | --root=$RPM_BUILD_ROOT \ |
64 | --optimize=2 | |
65 | ||
b4d7d842 | 66 | cp $RPM_BUILD_ROOT%{py_sitedir}/%{name}/resources/pixmaps/pida-icon.png $RPM_BUILD_ROOT%{_pixmapsdir} |
8a944c88 RK |
67 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
68 | ||
64e7236a AM |
69 | %clean |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
b4d7d842 | 74 | %doc AUTHORS.txt README.txt |
64e7236a | 75 | %attr(755,root,root) %{_bindir}/* |
b4d7d842 | 76 | %{py_sitedir}/* |
8a944c88 RK |
77 | %{_pixmapsdir}/*.png |
78 | %{_desktopdir}/*.desktop |