]>
Commit | Line | Data |
---|---|---|
ecb6b3ca | 1 | # TODO: |
2 | # - investigate the documentation format in doc | |
ecb6b3ca | 3 | # - verify if such a big version jump actually works |
6bfc3d1d | 4 | # - move .po files to glibc dir and test if it works |
59ac13b3 | 5 | # are these used afterall, as they are .po sources not .mo compiled |
6bfc3d1d | 6 | # - moo_stub is just sample? kill it and can make package noarch. |
950c4dd0 | 7 | # - pida probably needs some .py files to run properly |
ecb6b3ca | 8 | # |
64e7236a | 9 | Summary: A framework for integrated development |
aa504356 | 10 | Summary(pl.UTF-8): Szkielet do programowania zintegrowanego |
64e7236a | 11 | Name: pida |
c6414aef | 12 | Version: 0.6.2 |
e30d77aa | 13 | Release: 0.1 |
14 | License: GPL v2+ | |
64e7236a | 15 | Group: Development/Tools |
e30d77aa | 16 | Source0: http://pypi.python.org/packages/source/p/pida/%{name}-%{version}.tar.gz |
c6414aef | 17 | # Source0-md5: 6ee61497996abd54f8a9dacd39b90c8c |
8a944c88 | 18 | Source1: %{name}.desktop |
159b1028 | 19 | URL: http://pida.co.uk/ |
ab3d14b1 | 20 | BuildRequires: pkgconfig |
72354d77 | 21 | BuildRequires: python-devel |
d9d81bd3 | 22 | BuildRequires: python-pygtk-devel |
e30d77aa | 23 | BuildRequires: python-pygtk-glade |
72354d77 | 24 | BuildRequires: python-setuptools |
687255d6 | 25 | BuildRequires: rpm-pythonprov |
3931416c | 26 | BuildRequires: rpmbuild(macros) >= 1.219 |
e30d77aa | 27 | Requires: fontconfig |
8a944c88 | 28 | Requires: python-gnome-desktop-gtksourceview |
be3b976b | 29 | Requires: python-gnome-gconf |
ecb6b3ca | 30 | Requires: python-kiwi |
e30d77aa | 31 | Requires: python-pygtkhelpers |
32 | Requires: python-simplejson | |
6bfc3d1d | 33 | Requires: python-vte |
64e7236a AM |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
64e7236a AM |
36 | %description |
37 | PIDA is an integrated development environment (IDE) for UNIX-like | |
38 | operating systems. | |
39 | ||
40 | Unique Features: | |
41 | - Vim embedding | |
42 | - File browser that understands version status information for CVS, | |
43 | Subversion, Darcs, Monotone, Mercurial, Bazaar-ng and Arch | |
687255d6 | 44 | - Built in GTK+ rapid application development |
64e7236a AM |
45 | - Many more unique and obsessive touches |
46 | ||
7b05534b JR |
47 | %description -l pl.UTF-8 |
48 | PIDA to zintegrowane środowisko programistyczne (IDE) dla uniksowych | |
49 | systemów operacyjnych. | |
687255d6 JB |
50 | |
51 | Unikalne cechy: | |
52 | - osadzony Vim | |
7b05534b JR |
53 | - przeglądarka plików uwzględniająca informacje o stanie wersji dla |
54 | systemów kontroli wersji CVS, Subversion, Darcs, Monotone, Mercurial, | |
72354d77 | 55 | Bazaar-ng i Arch |
7b05534b JR |
56 | - wbudowane środowisko szybkiego tworzenia aplikacji GTK+ |
57 | - wiele innych unikalnych i pożądanych drobiazgów | |
687255d6 | 58 | |
64e7236a | 59 | %prep |
e30d77aa | 60 | %setup -q |
64e7236a AM |
61 | |
62 | %build | |
e30d77aa | 63 | %{__python} setup.py build |
64e7236a AM |
64 | |
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
8a944c88 | 67 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
64e7236a | 68 | |
e30d77aa | 69 | %{__python} setup.py install \ |
64e7236a | 70 | --install-data=%{_datadir}/%{name} \ |
6bfc3d1d ER |
71 | --root=$RPM_BUILD_ROOT \ |
72 | --optimize=2 | |
64e7236a | 73 | |
b4d7d842 | 74 | cp $RPM_BUILD_ROOT%{py_sitedir}/%{name}/resources/pixmaps/pida-icon.png $RPM_BUILD_ROOT%{_pixmapsdir} |
8a944c88 | 75 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
6bfc3d1d | 76 | %py_postclean |
8a944c88 | 77 | |
64e7236a AM |
78 | %clean |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %files | |
82 | %defattr(644,root,root,755) | |
14ca2239 | 83 | %doc AUTHORS README |
6bfc3d1d | 84 | %attr(755,root,root) %{_bindir}/pida |
c6414aef | 85 | %attr(755,root,root) %{_bindir}/pida-build |
6bfc3d1d ER |
86 | %attr(755,root,root) %{_bindir}/pida-remote |
87 | ||
88 | # see todo at top of the spec | |
e30d77aa | 89 | #%%dir %{py_sitedir}/pida/resources/locale |
90 | #%%dir %{py_sitedir}/pida/services/appcontroller/locale | |
91 | #%%dir %{py_sitedir}/pida/services/browseweb/locale | |
92 | #%%dir %{py_sitedir}/pida/services/buffer/locale | |
93 | #%%dir %{py_sitedir}/pida/services/bugreport/locale | |
94 | #%%dir %{py_sitedir}/pida/services/commander/locale | |
95 | #%%dir %{py_sitedir}/pida/services/editor/locale | |
96 | #%%dir %{py_sitedir}/pida/services/filemanager/locale | |
97 | #%%dir %{py_sitedir}/pida/services/grepper/locale | |
98 | #%%dir %{py_sitedir}/pida/services/help/locale | |
99 | #%%dir %{py_sitedir}/pida/services/manhole/locale | |
100 | #%%dir %{py_sitedir}/pida/services/notify/locale | |
101 | #%%dir %{py_sitedir}/pida/services/openwith/locale | |
102 | #%%dir %{py_sitedir}/pida/services/optionsmanager/locale | |
103 | #%%dir %{py_sitedir}/pida/services/plugins/locale | |
104 | #%%dir %{py_sitedir}/pida/services/project/locale | |
105 | #%%dir %{py_sitedir}/pida/services/sessions/locale | |
106 | #%%dir %{py_sitedir}/pida/services/shortcuts/locale | |
107 | #%%dir %{py_sitedir}/pida/services/versioncontrol/locale | |
108 | #%%dir %{py_sitedir}/pida/services/window/locale | |
109 | #%%lang(fr) %{py_sitedir}/pida/resources/locale/fr_FR | |
110 | #%%lang(fr) %{py_sitedir}/pida/services/appcontroller/locale/fr_FR | |
111 | #%%lang(fr) %{py_sitedir}/pida/services/browseweb/locale/fr_FR | |
112 | #%%lang(fr) %{py_sitedir}/pida/services/buffer/locale/fr_FR | |
113 | #%%lang(fr) %{py_sitedir}/pida/services/bugreport/locale/fr_FR | |
114 | #%%lang(fr) %{py_sitedir}/pida/services/commander/locale/fr_FR | |
115 | #%%lang(fr) %{py_sitedir}/pida/services/editor/locale/fr_FR | |
116 | #%%lang(fr) %{py_sitedir}/pida/services/filemanager/locale/fr_FR | |
117 | #%%lang(fr) %{py_sitedir}/pida/services/grepper/locale/fr_FR | |
118 | #%%lang(fr) %{py_sitedir}/pida/services/help/locale/fr_FR | |
119 | #%%lang(fr) %{py_sitedir}/pida/services/manhole/locale/fr_FR | |
120 | #%%lang(fr) %{py_sitedir}/pida/services/notify/locale/fr_FR | |
121 | #%%lang(fr) %{py_sitedir}/pida/services/openwith/locale/fr_FR | |
122 | #%%lang(fr) %{py_sitedir}/pida/services/optionsmanager/locale/fr_FR | |
123 | #%%lang(fr) %{py_sitedir}/pida/services/plugins/locale/fr_FR | |
124 | #%%lang(fr) %{py_sitedir}/pida/services/project/locale/fr_FR | |
125 | #%%lang(fr) %{py_sitedir}/pida/services/sessions/locale/fr_FR | |
126 | #%%lang(fr) %{py_sitedir}/pida/services/shortcuts/locale/fr_FR | |
127 | #%%lang(fr) %{py_sitedir}/pida/services/versioncontrol/locale/fr_FR | |
128 | #$%lang(fr) %{py_sitedir}/pida/services/window/locale/fr_FR | |
6bfc3d1d | 129 | |
6c72fbd0 | 130 | %if "%{py_ver}" > "2.4" |
e30d77aa | 131 | %{py_sitedir}/pida-*-py2.*.egg-info |
6c72fbd0 | 132 | %endif |
6d46eb0a | 133 | |
c8825a35 | 134 | %dir %{py_sitedir}/pida |
e30d77aa | 135 | #%%attr(755,root,root) %{py_sitedir}/moo_stub.so |
6bfc3d1d | 136 | %{py_sitedir}/pida/*.py[co] |
6bfc3d1d ER |
137 | %{py_sitedir}/pida/core |
138 | %{py_sitedir}/pida/editors | |
e30d77aa | 139 | %dir %{py_sitedir}/pida/plugins |
140 | %dir %{py_sitedir}/pida/plugins/*.py[co] | |
6bfc3d1d | 141 | %dir %{py_sitedir}/pida/resources |
c6414aef | 142 | #%%{py_sitedir}/pida/resources/glade |
6bfc3d1d ER |
143 | %{py_sitedir}/pida/resources/pixmaps |
144 | %{py_sitedir}/pida/resources/uidef | |
e30d77aa | 145 | %dir %{py_sitedir}/pida/resources/data |
146 | %dir %{py_sitedir}/pida/resources/data/gtkrc-2.0 | |
c6414aef | 147 | #%%{py_sitedir}/pida/resources/data/*.py[co] |
e30d77aa | 148 | %{py_sitedir}/pida/resources/data/*.vim |
149 | %{py_sitedir}/pida/resources/data/*.el | |
6bfc3d1d ER |
150 | %dir %{py_sitedir}/pida/services |
151 | %dir %{py_sitedir}/pida/services/appcontroller | |
152 | %{py_sitedir}/pida/services/appcontroller/*.py[co] | |
6bfc3d1d | 153 | %{py_sitedir}/pida/services/appcontroller/uidef |
e30d77aa | 154 | %dir %{py_sitedir}/pida/services/browseweb |
155 | #%%{py_sitedir}/pida/services/browseweb/glade | |
156 | %{py_sitedir}/pida/services/browseweb/*.py[co] | |
157 | %{py_sitedir}/pida/services/browseweb/uidef | |
6bfc3d1d ER |
158 | %dir %{py_sitedir}/pida/services/buffer |
159 | %{py_sitedir}/pida/services/buffer/glade | |
160 | %{py_sitedir}/pida/services/buffer/*.py[co] | |
af50c188 | 161 | %{py_sitedir}/pida/services/buffer/uidef |
c6414aef | 162 | #%%dir %{py_sitedir}/pida/services/bugreport |
163 | #%%{py_sitedir}/pida/services/bugreport/glade | |
164 | #%%{py_sitedir}/pida/services/bugreport/*.py[co] | |
165 | #%%{py_sitedir}/pida/services/bugreport/uidef | |
6bfc3d1d ER |
166 | %dir %{py_sitedir}/pida/services/commander |
167 | %{py_sitedir}/pida/services/commander/*.py[co] | |
e30d77aa | 168 | %{py_sitedir}/pida/services/commander/pixmaps |
6bfc3d1d ER |
169 | %{py_sitedir}/pida/services/commander/uidef |
170 | %dir %{py_sitedir}/pida/services/contexts | |
171 | %{py_sitedir}/pida/services/contexts/*.py[co] | |
6bfc3d1d ER |
172 | %{py_sitedir}/pida/services/contexts/uidef |
173 | %dir %{py_sitedir}/pida/services/editor | |
174 | %{py_sitedir}/pida/services/editor/*.py[co] | |
6bfc3d1d ER |
175 | %dir %{py_sitedir}/pida/services/filemanager |
176 | %{py_sitedir}/pida/services/filemanager/*.py[co] | |
6bfc3d1d ER |
177 | %{py_sitedir}/pida/services/filemanager/uidef |
178 | %dir %{py_sitedir}/pida/services/filewatcher | |
179 | %{py_sitedir}/pida/services/filewatcher/*.py[co] | |
6bfc3d1d ER |
180 | %dir %{py_sitedir}/pida/services/grepper |
181 | %{py_sitedir}/pida/services/grepper/glade | |
182 | %{py_sitedir}/pida/services/grepper/*.py[co] | |
6bfc3d1d ER |
183 | %{py_sitedir}/pida/services/grepper/uidef |
184 | %dir %{py_sitedir}/pida/services/help | |
185 | %{py_sitedir}/pida/services/help/*.py[co] | |
6bfc3d1d | 186 | %{py_sitedir}/pida/services/help/uidef |
e30d77aa | 187 | %dir %{py_sitedir}/pida/services/language |
188 | %{py_sitedir}/pida/services/language/glade | |
189 | %{py_sitedir}/pida/services/language/*.py[co] | |
190 | %{py_sitedir}/pida/services/language/pixmaps | |
191 | %{py_sitedir}/pida/services/language/uidef | |
6bfc3d1d ER |
192 | %dir %{py_sitedir}/pida/services/manhole |
193 | %{py_sitedir}/pida/services/manhole/*.py[co] | |
6bfc3d1d ER |
194 | %{py_sitedir}/pida/services/manhole/uidef |
195 | %dir %{py_sitedir}/pida/services/notify | |
196 | %{py_sitedir}/pida/services/notify/*.py[co] | |
6bfc3d1d ER |
197 | %{py_sitedir}/pida/services/notify/uidef |
198 | %dir %{py_sitedir}/pida/services/openwith | |
199 | %{py_sitedir}/pida/services/openwith/glade | |
200 | %{py_sitedir}/pida/services/openwith/*.py[co] | |
6bfc3d1d ER |
201 | %{py_sitedir}/pida/services/openwith/uidef |
202 | %dir %{py_sitedir}/pida/services/optionsmanager | |
e30d77aa | 203 | #%%{py_sitedir}/pida/services/optionsmanager/glade |
6bfc3d1d | 204 | %{py_sitedir}/pida/services/optionsmanager/*.py[co] |
6bfc3d1d ER |
205 | %{py_sitedir}/pida/services/optionsmanager/uidef |
206 | %dir %{py_sitedir}/pida/services/plugins | |
207 | %{py_sitedir}/pida/services/plugins/glade | |
208 | %{py_sitedir}/pida/services/plugins/*.py[co] | |
6bfc3d1d ER |
209 | %{py_sitedir}/pida/services/plugins/uidef |
210 | %dir %{py_sitedir}/pida/services/project | |
211 | %{py_sitedir}/pida/services/project/glade | |
212 | %{py_sitedir}/pida/services/project/*.py[co] | |
6bfc3d1d ER |
213 | %{py_sitedir}/pida/services/project/uidef |
214 | %{py_sitedir}/pida/services/*.py[co] | |
e30d77aa | 215 | #%%dir %{py_sitedir}/pida/services/sessions |
216 | #%%{py_sitedir}/pida/services/sessions/glade | |
217 | #%%{py_sitedir}/pida/services/sessions/*.py[co] | |
218 | #%%{py_sitedir}/pida/services/sessions/uidef | |
6bfc3d1d ER |
219 | %dir %{py_sitedir}/pida/services/shortcuts |
220 | %{py_sitedir}/pida/services/shortcuts/*.py[co] | |
6bfc3d1d ER |
221 | %{py_sitedir}/pida/services/shortcuts/uidef |
222 | %dir %{py_sitedir}/pida/services/statusbar | |
223 | %{py_sitedir}/pida/services/statusbar/*.py[co] | |
6bfc3d1d ER |
224 | %dir %{py_sitedir}/pida/services/versioncontrol |
225 | %{py_sitedir}/pida/services/versioncontrol/glade | |
226 | %{py_sitedir}/pida/services/versioncontrol/*.py[co] | |
6bfc3d1d | 227 | %{py_sitedir}/pida/services/versioncontrol/uidef |
6bfc3d1d ER |
228 | %dir %{py_sitedir}/pida/services/window |
229 | %{py_sitedir}/pida/services/window/*.py[co] | |
6bfc3d1d ER |
230 | %{py_sitedir}/pida/services/window/uidef |
231 | %{py_sitedir}/pida/ui | |
232 | %{py_sitedir}/pida/utils | |
233 | ||
8a944c88 RK |
234 | %{_pixmapsdir}/*.png |
235 | %{_desktopdir}/*.desktop |