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