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