]>
Commit | Line | Data |
---|---|---|
1 | Summary: GNOME integrated development environment | |
2 | Summary(es.UTF-8): Entorno integrado de desarrollo (IDE) de GNOME | |
3 | Summary(pl.UTF-8): Zintegrowane środowisko programowania dla GNOME | |
4 | Summary(pt_BR.UTF-8): Ambiente de desenvolvimento integrado C e C++ | |
5 | Name: anjuta | |
6 | Version: 2.32.1.1 | |
7 | Release: 8 | |
8 | Epoch: 1 | |
9 | License: GPL v2+ | |
10 | Group: X11/Development/Tools | |
11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/anjuta/2.32/%{name}-%{version}.tar.bz2 | |
12 | # Source0-md5: 7af70f6486eda92796268fc4bf659c27 | |
13 | Patch0: %{name}-vala-0.12.patch | |
14 | Patch1: %{name}-install.patch | |
15 | URL: http://projects.gnome.org/anjuta/ | |
16 | BuildRequires: GConf2-devel >= 2.26.0 | |
17 | BuildRequires: autoconf >= 2.59 | |
18 | BuildRequires: autogen | |
19 | BuildRequires: automake >= 1:1.9 | |
20 | BuildRequires: devhelp-devel >= 0.22 | |
21 | BuildRequires: docbook-dtd412-xml | |
22 | BuildRequires: gdl-devel >= 2.28.0 | |
23 | BuildRequires: gettext-devel | |
24 | BuildRequires: gjs-devel | |
25 | BuildRequires: glib2-devel >= 1:2.26.0 | |
26 | BuildRequires: glibc-misc | |
27 | BuildRequires: gnome-common >= 2.24.0 | |
28 | BuildRequires: gnome-doc-utils | |
29 | BuildRequires: gobject-introspection-devel >= 0.6.7 | |
30 | BuildRequires: graphviz-devel | |
31 | BuildRequires: gtk+2-devel >= 2:2.20.0 | |
32 | BuildRequires: gtk-doc >= 1.7 | |
33 | BuildRequires: gtk-webkit-devel | |
34 | BuildRequires: gtksourceview2-devel >= 2.10.0 | |
35 | BuildRequires: intltool >= 0.40.0 | |
36 | BuildRequires: libgda4-devel >= 4.2.0 | |
37 | BuildRequires: libgladeui-devel >= 3.6.7 | |
38 | BuildRequires: libstdc++-devel | |
39 | BuildRequires: libtool | |
40 | BuildRequires: libunique-devel >= 1.0.0 | |
41 | BuildRequires: libxml2-devel >= 1:2.6.26 | |
42 | BuildRequires: libxslt-devel | |
43 | BuildRequires: neon-devel >= 0.28.2 | |
44 | BuildRequires: perl-Locale-gettext | |
45 | BuildRequires: pkgconfig | |
46 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
47 | BuildRequires: rpmbuild(macros) >= 1.311 | |
48 | BuildRequires: scrollkeeper | |
49 | BuildRequires: subversion-devel >= 1.5.0 | |
50 | BuildRequires: vala >= 0.12.0 | |
51 | BuildRequires: vte-devel >= 0.20.0 | |
52 | Requires(post,postun): desktop-file-utils | |
53 | Requires(post,postun): gtk-update-icon-cache | |
54 | Requires(post,postun): hicolor-icon-theme | |
55 | Requires(post,postun): scrollkeeper | |
56 | Requires(post,postun): shared-mime-info | |
57 | Requires(post,preun): GConf2 | |
58 | # Requires: gnome-terminal | |
59 | Requires: glib2 >= 1:2.26.0 | |
60 | Requires: gtksourceview2 >= 2.10.0 | |
61 | Requires: libanjuta = %{epoch}:%{version}-%{release} | |
62 | Requires: libgda4-provider-sqlite >= 4.2.0 | |
63 | Requires: perl-Locale-gettext | |
64 | Requires: pkgconfig | |
65 | Suggests: ctags | |
66 | Obsoletes: gnome-build | |
67 | Obsoletes: gnome-build-devel | |
68 | # sr@Latn vs. sr@latin | |
69 | Conflicts: glibc-misc < 6:2.7 | |
70 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
71 | ||
72 | %description | |
73 | Anjuta is a very versatile integrated development environment for C | |
74 | and C++ for GNU/Linux. Written in GTK/GNOME and written for GTK/GNOME, | |
75 | it features many advanced programming tools and utilities. Besides | |
76 | many other, it has project management, application wizards, onboard | |
77 | interactive debugger, and a powerful source editor with source | |
78 | browsing. | |
79 | ||
80 | %description -l es.UTF-8 | |
81 | Anjuta es un entorno integrado de desarrollo para C y C++ para | |
82 | GNU/Linux. Escrito en y para GTK/GNOME, proporciona muchas | |
83 | herramientas de programación avanzadas. Entre otros, habilita | |
84 | manejamiento de proyectos, wizards de aplicaciones, depurador | |
85 | interactivo y un editador potente de código fuente que permite | |
86 | hojearlo. | |
87 | ||
88 | %description -l pl.UTF-8 | |
89 | Anjuta to wszechstronne zintegrowane środowisko programowania dla | |
90 | języka C oraz C++. Zostało napisane z wykorzystaniem tandemu | |
91 | GTK/GNOME, właśnie po to by go w takim otoczeniu używać. Między innymi | |
92 | posiada zarządcę projektów, kreator aplikacji, wbudowany interaktywny | |
93 | odpluskwiacz oraz edytor z możliwością przeglądania źródeł. | |
94 | ||
95 | %description -l pt_BR.UTF-8 | |
96 | O Anjuta é um ambiente de desenvolvimento integrado (IDE) versátil | |
97 | para as linguagens C e C++. Foi escrito para o GTK/GNOME e tem uma | |
98 | série de características de programação avançadas. Basicamente é uma | |
99 | interface gráfica com o usuário para um conjunto de utilitários de | |
100 | linha de comando e ferramentas para programação para o Linux. Estas | |
101 | são geralmente executadas em um console em modo texto e podem ser não | |
102 | amigáveis. | |
103 | ||
104 | %package -n libanjuta | |
105 | Summary: libanjuta library | |
106 | Summary(pl.UTF-8): Biblioteka libanjuta | |
107 | Group: X11/Libraries | |
108 | Conflicts: %{name} < 1:2.0.2-1 | |
109 | ||
110 | %description -n libanjuta | |
111 | libanjuta library. | |
112 | ||
113 | %description -n libanjuta -l pl.UTF-8 | |
114 | Biblioteka libanjuta. | |
115 | ||
116 | %package -n libanjuta-devel | |
117 | Summary: Header files for libanjuta library | |
118 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libanjuta | |
119 | Group: X11/Development/Libraries | |
120 | Requires: GConf2-devel >= 2.26.0 | |
121 | Requires: gtk+2-devel >= 2:2.20.0 | |
122 | Requires: libanjuta = %{epoch}:%{version}-%{release} | |
123 | ||
124 | %description -n libanjuta-devel | |
125 | Header files for libanjuta library. | |
126 | ||
127 | %description -n libanjuta-devel -l pl.UTF-8 | |
128 | Pliki nagłówkowe biblioteki libanjuta. | |
129 | ||
130 | %package -n libanjuta-apidocs | |
131 | Summary: libanjuta API documentation | |
132 | Summary(pl.UTF-8): Dokumentacja API biblioteki libanjuta | |
133 | Group: Documentation | |
134 | Requires: gtk-doc-common | |
135 | ||
136 | %description -n libanjuta-apidocs | |
137 | libanjuta API documentation. | |
138 | ||
139 | %description -n libanjuta-apidocs -l pl.UTF-8 | |
140 | Dokumentacja API biblioteki libanjuta. | |
141 | ||
142 | %prep | |
143 | %setup -q | |
144 | %patch0 -p1 | |
145 | %patch1 -p1 | |
146 | ||
147 | %build | |
148 | %{__intltoolize} | |
149 | %{__libtoolize} | |
150 | %{__aclocal} | |
151 | %{__autoconf} | |
152 | %{__autoheader} | |
153 | %{__automake} | |
154 | %configure \ | |
155 | --with-html-dir=%{_gtkdocdir} \ | |
156 | --with-omf-dir=%{_omf_dest_dir} \ | |
157 | --disable-schemas-install \ | |
158 | --disable-scrollkeeper \ | |
159 | --disable-silent-rules \ | |
160 | --disable-static | |
161 | ||
162 | %{__make} -j1 | |
163 | ||
164 | %install | |
165 | rm -rf $RPM_BUILD_ROOT | |
166 | ||
167 | %{__make} -j1 install \ | |
168 | DESTDIR=$RPM_BUILD_ROOT \ | |
169 | mimepngicondir=%{_iconsdir}/hicolor/48x48/mimetypes \ | |
170 | mimesvgicondir=%{_iconsdir}/hicolor/scalable/mimetypes | |
171 | ||
172 | # *.la not needed - *.so loaded through libgmodule | |
173 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/{anjuta,glade3/modules}/lib*.la | |
174 | ||
175 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libanjuta.la | |
176 | ||
177 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/anjuta | |
178 | ||
179 | %find_lang %{name} --with-gnome --with-omf --all-name | |
180 | ||
181 | %clean | |
182 | rm -rf $RPM_BUILD_ROOT | |
183 | ||
184 | %post | |
185 | %scrollkeeper_update_post | |
186 | %update_mime_database | |
187 | %update_desktop_database | |
188 | %gconf_schema_install anjuta-build-basic-autotools-plugin.schemas | |
189 | %gconf_schema_install anjuta-cvs-plugin.schemas | |
190 | %gconf_schema_install anjuta-document-manager.schemas | |
191 | %gconf_schema_install anjuta-debug-manager.schemas | |
192 | %gconf_schema_install anjuta-editor-sourceview.schemas | |
193 | %gconf_schema_install anjuta-language-cpp-java.schemas | |
194 | %gconf_schema_install anjuta-message-manager-plugin.schemas | |
195 | %gconf_schema_install preferences.schemas | |
196 | %gconf_schema_install anjuta-symbol-db.schemas | |
197 | %gconf_schema_install anjuta-terminal-plugin.schemas | |
198 | %gconf_schema_install file-manager.schemas | |
199 | %gconf_schema_install python-plugin-properties.schemas | |
200 | %update_icon_cache hicolor | |
201 | ||
202 | %preun | |
203 | %gconf_schema_uninstall anjuta-build-basic-autotools-plugin.schemas | |
204 | %gconf_schema_uninstall anjuta-cvs-plugin.schemas | |
205 | %gconf_schema_uninstall anjuta-document-manager.schemas | |
206 | %gconf_schema_uninstall anjuta-debug-manager.schemas | |
207 | %gconf_schema_uninstall anjuta-editor-sourceview.schemas | |
208 | %gconf_schema_uninstall anjuta-language-cpp-java.schemas | |
209 | %gconf_schema_uninstall anjuta-message-manager-plugin.schemas | |
210 | %gconf_schema_uninstall preferences.schemas | |
211 | %gconf_schema_uninstall anjuta-symbol-db.schemas | |
212 | %gconf_schema_uninstall anjuta-terminal-plugin.schemas | |
213 | %gconf_schema_uninstall file-manager.schemas | |
214 | %gconf_schema_uninstall python-plugin-properties.schemas | |
215 | ||
216 | %postun | |
217 | %scrollkeeper_update_postun | |
218 | %update_mime_database | |
219 | %update_desktop_database_postun | |
220 | %update_icon_cache hicolor | |
221 | ||
222 | %post -n libanjuta -p /sbin/ldconfig | |
223 | %postun -n libanjuta -p /sbin/ldconfig | |
224 | ||
225 | %files -f %{name}.lang | |
226 | %defattr(644,root,root,755) | |
227 | %doc AUTHORS ChangeLog FUTURE NEWS README ROADMAP THANKS TODO doc/ScintillaDoc.html | |
228 | %attr(755,root,root) %{_bindir}/anjuta | |
229 | %attr(755,root,root) %{_bindir}/anjuta-launcher | |
230 | %attr(755,root,root) %{_bindir}/anjuta-tags | |
231 | %attr(755,root,root) %{_bindir}/gbf-am-parse | |
232 | %attr(755,root,root) %{_bindir}/gbf-mkfile-parse | |
233 | %dir %{_libdir}/%{name} | |
234 | %attr(755,root,root) %{_libdir}/%{name}/lib*.so* | |
235 | %attr(755,root,root) %{_libdir}/%{name}/anjuta-python-autocomplete.py | |
236 | %{_libdir}/%{name}/*.plugin | |
237 | %attr(755,root,root) %{_libdir}/glade3/modules/libgladeanjuta.so | |
238 | %{_pixmapsdir}/%{name} | |
239 | %dir %{_datadir}/%{name} | |
240 | %{_datadir}/%{name}/GBF | |
241 | %{_datadir}/%{name}/build | |
242 | %{_datadir}/%{name}/class-templates | |
243 | %{_datadir}/%{name}/glade | |
244 | %{_datadir}/%{name}/gtodo | |
245 | %{_datadir}/%{name}/profiles | |
246 | %{_datadir}/%{name}/project | |
247 | %dir %{_datadir}/%{name}/tools | |
248 | %attr(755,root,root) %{_datadir}/%{name}/tools/find-fixmes.pl | |
249 | %attr(755,root,root) %{_datadir}/%{name}/tools/prepare-changelog.pl | |
250 | %attr(755,root,root) %{_datadir}/%{name}/tools/translation-status.pl | |
251 | %{_datadir}/%{name}/tools/tools-2.xml | |
252 | %{_datadir}/%{name}/ui | |
253 | %{_datadir}/%{name}/anjuta_project.template | |
254 | %{_datadir}/%{name}/gdb.init | |
255 | %{_datadir}/%{name}/languages.xml | |
256 | %{_datadir}/%{name}/layout.xml | |
257 | %{_datadir}/%{name}/snippets-global-variables.xml | |
258 | %{_datadir}/%{name}/snippets.anjuta-snippets | |
259 | %{_datadir}/%{name}/sources.list | |
260 | %{_datadir}/%{name}/tables.sql | |
261 | %{_datadir}/%{name}/welcome.txt | |
262 | %{_datadir}/%{name}/AUTHORS | |
263 | %{_datadir}/mime/packages/anjuta.xml | |
264 | %{_datadir}/glade3/catalogs/anjuta-glade.xml | |
265 | %{_desktopdir}/%{name}.desktop | |
266 | %{_mandir}/man1/anjuta.1* | |
267 | %{_mandir}/man1/anjuta-launcher.1* | |
268 | %{_sysconfdir}/gconf/schemas/anjuta-build-basic-autotools-plugin.schemas | |
269 | %{_sysconfdir}/gconf/schemas/anjuta-cvs-plugin.schemas | |
270 | %{_sysconfdir}/gconf/schemas/anjuta-document-manager.schemas | |
271 | %{_sysconfdir}/gconf/schemas/anjuta-debug-manager.schemas | |
272 | %{_sysconfdir}/gconf/schemas/anjuta-editor-sourceview.schemas | |
273 | %{_sysconfdir}/gconf/schemas/anjuta-language-cpp-java.schemas | |
274 | %{_sysconfdir}/gconf/schemas/anjuta-message-manager-plugin.schemas | |
275 | %{_sysconfdir}/gconf/schemas/anjuta-symbol-db.schemas | |
276 | %{_sysconfdir}/gconf/schemas/anjuta-terminal-plugin.schemas | |
277 | %{_sysconfdir}/gconf/schemas/file-manager.schemas | |
278 | %{_sysconfdir}/gconf/schemas/preferences.schemas | |
279 | %{_sysconfdir}/gconf/schemas/python-plugin-properties.schemas | |
280 | %{_iconsdir}/hicolor/*/*/*.* | |
281 | ||
282 | %files -n libanjuta | |
283 | %defattr(644,root,root,755) | |
284 | %attr(755,root,root) %{_libdir}/libanjuta.so.*.*.* | |
285 | %attr(755,root,root) %ghost %{_libdir}/libanjuta.so.0 | |
286 | %attr(755,root,root) %{_libdir}/libanjuta-foocanvas.so.*.*.* | |
287 | %attr(755,root,root) %ghost %{_libdir}/libanjuta-foocanvas.so.0 | |
288 | %{_libdir}/girepository-1.0/Anjuta-1.0.typelib | |
289 | %{_libdir}/girepository-1.0/IAnjuta-1.0.typelib | |
290 | ||
291 | %files -n libanjuta-devel | |
292 | %defattr(644,root,root,755) | |
293 | %attr(755,root,root) %{_libdir}/libanjuta.so | |
294 | %attr(755,root,root) %{_libdir}/libanjuta-foocanvas.so | |
295 | %{_libdir}/libanjuta-foocanvas.la | |
296 | %{_includedir}/libanjuta-1.0 | |
297 | %{_pkgconfigdir}/libanjuta-1.0.pc | |
298 | %{_datadir}/gir-1.0/Anjuta-1.0.gir | |
299 | %{_datadir}/gir-1.0/IAnjuta-1.0.gir | |
300 | ||
301 | %files -n libanjuta-apidocs | |
302 | %defattr(644,root,root,755) | |
303 | %{_gtkdocdir}/libanjuta |