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