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