]>
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 |
e30d77aa | 12 | Version: 0.6.1 |
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 |
17 | # Source0-md5: ca509c6140b826eacfe87ceb12034abc | |
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 ER |
84 | %attr(755,root,root) %{_bindir}/pida |
85 | %attr(755,root,root) %{_bindir}/pida-remote | |
86 | ||
87 | # see todo at top of the spec | |
e30d77aa | 88 | #%%dir %{py_sitedir}/pida/resources/locale |
89 | #%%dir %{py_sitedir}/pida/services/appcontroller/locale | |
90 | #%%dir %{py_sitedir}/pida/services/browseweb/locale | |
91 | #%%dir %{py_sitedir}/pida/services/buffer/locale | |
92 | #%%dir %{py_sitedir}/pida/services/bugreport/locale | |
93 | #%%dir %{py_sitedir}/pida/services/commander/locale | |
94 | #%%dir %{py_sitedir}/pida/services/editor/locale | |
95 | #%%dir %{py_sitedir}/pida/services/filemanager/locale | |
96 | #%%dir %{py_sitedir}/pida/services/grepper/locale | |
97 | #%%dir %{py_sitedir}/pida/services/help/locale | |
98 | #%%dir %{py_sitedir}/pida/services/manhole/locale | |
99 | #%%dir %{py_sitedir}/pida/services/notify/locale | |
100 | #%%dir %{py_sitedir}/pida/services/openwith/locale | |
101 | #%%dir %{py_sitedir}/pida/services/optionsmanager/locale | |
102 | #%%dir %{py_sitedir}/pida/services/plugins/locale | |
103 | #%%dir %{py_sitedir}/pida/services/project/locale | |
104 | #%%dir %{py_sitedir}/pida/services/sessions/locale | |
105 | #%%dir %{py_sitedir}/pida/services/shortcuts/locale | |
106 | #%%dir %{py_sitedir}/pida/services/versioncontrol/locale | |
107 | #%%dir %{py_sitedir}/pida/services/window/locale | |
108 | #%%lang(fr) %{py_sitedir}/pida/resources/locale/fr_FR | |
109 | #%%lang(fr) %{py_sitedir}/pida/services/appcontroller/locale/fr_FR | |
110 | #%%lang(fr) %{py_sitedir}/pida/services/browseweb/locale/fr_FR | |
111 | #%%lang(fr) %{py_sitedir}/pida/services/buffer/locale/fr_FR | |
112 | #%%lang(fr) %{py_sitedir}/pida/services/bugreport/locale/fr_FR | |
113 | #%%lang(fr) %{py_sitedir}/pida/services/commander/locale/fr_FR | |
114 | #%%lang(fr) %{py_sitedir}/pida/services/editor/locale/fr_FR | |
115 | #%%lang(fr) %{py_sitedir}/pida/services/filemanager/locale/fr_FR | |
116 | #%%lang(fr) %{py_sitedir}/pida/services/grepper/locale/fr_FR | |
117 | #%%lang(fr) %{py_sitedir}/pida/services/help/locale/fr_FR | |
118 | #%%lang(fr) %{py_sitedir}/pida/services/manhole/locale/fr_FR | |
119 | #%%lang(fr) %{py_sitedir}/pida/services/notify/locale/fr_FR | |
120 | #%%lang(fr) %{py_sitedir}/pida/services/openwith/locale/fr_FR | |
121 | #%%lang(fr) %{py_sitedir}/pida/services/optionsmanager/locale/fr_FR | |
122 | #%%lang(fr) %{py_sitedir}/pida/services/plugins/locale/fr_FR | |
123 | #%%lang(fr) %{py_sitedir}/pida/services/project/locale/fr_FR | |
124 | #%%lang(fr) %{py_sitedir}/pida/services/sessions/locale/fr_FR | |
125 | #%%lang(fr) %{py_sitedir}/pida/services/shortcuts/locale/fr_FR | |
126 | #%%lang(fr) %{py_sitedir}/pida/services/versioncontrol/locale/fr_FR | |
127 | #$%lang(fr) %{py_sitedir}/pida/services/window/locale/fr_FR | |
6bfc3d1d | 128 | |
6c72fbd0 | 129 | %if "%{py_ver}" > "2.4" |
e30d77aa | 130 | %{py_sitedir}/pida-*-py2.*.egg-info |
6c72fbd0 | 131 | %endif |
6d46eb0a | 132 | |
c8825a35 | 133 | %dir %{py_sitedir}/pida |
e30d77aa | 134 | #%%attr(755,root,root) %{py_sitedir}/moo_stub.so |
6bfc3d1d | 135 | %{py_sitedir}/pida/*.py[co] |
6bfc3d1d ER |
136 | %{py_sitedir}/pida/core |
137 | %{py_sitedir}/pida/editors | |
e30d77aa | 138 | %dir %{py_sitedir}/pida/plugins |
139 | %dir %{py_sitedir}/pida/plugins/*.py[co] | |
6bfc3d1d ER |
140 | %dir %{py_sitedir}/pida/resources |
141 | %{py_sitedir}/pida/resources/glade | |
142 | %{py_sitedir}/pida/resources/pixmaps | |
143 | %{py_sitedir}/pida/resources/uidef | |
e30d77aa | 144 | %dir %{py_sitedir}/pida/resources/data |
145 | %dir %{py_sitedir}/pida/resources/data/gtkrc-2.0 | |
146 | %{py_sitedir}/pida/resources/data/*.py[co] | |
147 | %{py_sitedir}/pida/resources/data/*.vim | |
148 | %{py_sitedir}/pida/resources/data/*.el | |
6bfc3d1d ER |
149 | %dir %{py_sitedir}/pida/services |
150 | %dir %{py_sitedir}/pida/services/appcontroller | |
151 | %{py_sitedir}/pida/services/appcontroller/*.py[co] | |
6bfc3d1d | 152 | %{py_sitedir}/pida/services/appcontroller/uidef |
e30d77aa | 153 | %dir %{py_sitedir}/pida/services/browseweb |
154 | #%%{py_sitedir}/pida/services/browseweb/glade | |
155 | %{py_sitedir}/pida/services/browseweb/*.py[co] | |
156 | %{py_sitedir}/pida/services/browseweb/uidef | |
6bfc3d1d ER |
157 | %dir %{py_sitedir}/pida/services/buffer |
158 | %{py_sitedir}/pida/services/buffer/glade | |
159 | %{py_sitedir}/pida/services/buffer/*.py[co] | |
af50c188 | 160 | %{py_sitedir}/pida/services/buffer/uidef |
6bfc3d1d ER |
161 | %dir %{py_sitedir}/pida/services/bugreport |
162 | %{py_sitedir}/pida/services/bugreport/glade | |
163 | %{py_sitedir}/pida/services/bugreport/*.py[co] | |
6bfc3d1d ER |
164 | %{py_sitedir}/pida/services/bugreport/uidef |
165 | %dir %{py_sitedir}/pida/services/commander | |
166 | %{py_sitedir}/pida/services/commander/*.py[co] | |
e30d77aa | 167 | %{py_sitedir}/pida/services/commander/pixmaps |
6bfc3d1d ER |
168 | %{py_sitedir}/pida/services/commander/uidef |
169 | %dir %{py_sitedir}/pida/services/contexts | |
170 | %{py_sitedir}/pida/services/contexts/*.py[co] | |
6bfc3d1d ER |
171 | %{py_sitedir}/pida/services/contexts/uidef |
172 | %dir %{py_sitedir}/pida/services/editor | |
173 | %{py_sitedir}/pida/services/editor/*.py[co] | |
6bfc3d1d ER |
174 | %dir %{py_sitedir}/pida/services/filemanager |
175 | %{py_sitedir}/pida/services/filemanager/*.py[co] | |
6bfc3d1d ER |
176 | %{py_sitedir}/pida/services/filemanager/uidef |
177 | %dir %{py_sitedir}/pida/services/filewatcher | |
178 | %{py_sitedir}/pida/services/filewatcher/*.py[co] | |
6bfc3d1d ER |
179 | %dir %{py_sitedir}/pida/services/grepper |
180 | %{py_sitedir}/pida/services/grepper/glade | |
181 | %{py_sitedir}/pida/services/grepper/*.py[co] | |
6bfc3d1d ER |
182 | %{py_sitedir}/pida/services/grepper/uidef |
183 | %dir %{py_sitedir}/pida/services/help | |
184 | %{py_sitedir}/pida/services/help/*.py[co] | |
6bfc3d1d | 185 | %{py_sitedir}/pida/services/help/uidef |
e30d77aa | 186 | %dir %{py_sitedir}/pida/services/language |
187 | %{py_sitedir}/pida/services/language/glade | |
188 | %{py_sitedir}/pida/services/language/*.py[co] | |
189 | %{py_sitedir}/pida/services/language/pixmaps | |
190 | %{py_sitedir}/pida/services/language/uidef | |
6bfc3d1d ER |
191 | %dir %{py_sitedir}/pida/services/manhole |
192 | %{py_sitedir}/pida/services/manhole/*.py[co] | |
6bfc3d1d ER |
193 | %{py_sitedir}/pida/services/manhole/uidef |
194 | %dir %{py_sitedir}/pida/services/notify | |
195 | %{py_sitedir}/pida/services/notify/*.py[co] | |
6bfc3d1d ER |
196 | %{py_sitedir}/pida/services/notify/uidef |
197 | %dir %{py_sitedir}/pida/services/openwith | |
198 | %{py_sitedir}/pida/services/openwith/glade | |
199 | %{py_sitedir}/pida/services/openwith/*.py[co] | |
6bfc3d1d ER |
200 | %{py_sitedir}/pida/services/openwith/uidef |
201 | %dir %{py_sitedir}/pida/services/optionsmanager | |
e30d77aa | 202 | #%%{py_sitedir}/pida/services/optionsmanager/glade |
6bfc3d1d | 203 | %{py_sitedir}/pida/services/optionsmanager/*.py[co] |
6bfc3d1d ER |
204 | %{py_sitedir}/pida/services/optionsmanager/uidef |
205 | %dir %{py_sitedir}/pida/services/plugins | |
206 | %{py_sitedir}/pida/services/plugins/glade | |
207 | %{py_sitedir}/pida/services/plugins/*.py[co] | |
6bfc3d1d ER |
208 | %{py_sitedir}/pida/services/plugins/uidef |
209 | %dir %{py_sitedir}/pida/services/project | |
210 | %{py_sitedir}/pida/services/project/glade | |
211 | %{py_sitedir}/pida/services/project/*.py[co] | |
6bfc3d1d ER |
212 | %{py_sitedir}/pida/services/project/uidef |
213 | %{py_sitedir}/pida/services/*.py[co] | |
e30d77aa | 214 | #%%dir %{py_sitedir}/pida/services/sessions |
215 | #%%{py_sitedir}/pida/services/sessions/glade | |
216 | #%%{py_sitedir}/pida/services/sessions/*.py[co] | |
217 | #%%{py_sitedir}/pida/services/sessions/uidef | |
6bfc3d1d ER |
218 | %dir %{py_sitedir}/pida/services/shortcuts |
219 | %{py_sitedir}/pida/services/shortcuts/*.py[co] | |
6bfc3d1d ER |
220 | %{py_sitedir}/pida/services/shortcuts/uidef |
221 | %dir %{py_sitedir}/pida/services/statusbar | |
222 | %{py_sitedir}/pida/services/statusbar/*.py[co] | |
6bfc3d1d ER |
223 | %dir %{py_sitedir}/pida/services/versioncontrol |
224 | %{py_sitedir}/pida/services/versioncontrol/glade | |
225 | %{py_sitedir}/pida/services/versioncontrol/*.py[co] | |
6bfc3d1d | 226 | %{py_sitedir}/pida/services/versioncontrol/uidef |
6bfc3d1d ER |
227 | %dir %{py_sitedir}/pida/services/window |
228 | %{py_sitedir}/pida/services/window/*.py[co] | |
6bfc3d1d ER |
229 | %{py_sitedir}/pida/services/window/uidef |
230 | %{py_sitedir}/pida/ui | |
231 | %{py_sitedir}/pida/utils | |
232 | ||
8a944c88 RK |
233 | %{_pixmapsdir}/*.png |
234 | %{_desktopdir}/*.desktop |