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