]>
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 |
a1bd7860 MB |
6 | Version: 2.1.3 |
7 | Release: 1 | |
6351dbdd | 8 | Epoch: 1 |
3e9740ba | 9 | License: GPL |
17fdac4e | 10 | Group: Development/Tools |
6c95e892 | 11 | Source0: http://dl.sourceforge.net/anjuta/%{name}-%{version}.tar.bz2 |
a1bd7860 | 12 | # Source0-md5: 740102ec71340bc2549c6bd021163ce2 |
fb73b544 | 13 | #Patch0: %{name}-home_etc.patch |
d6bd9cd6 | 14 | Patch1: %{name}-desktop.patch |
a1bd7860 | 15 | Patch2: %{name}-create_global_tags.patch |
3e9740ba | 16 | URL: http://anjuta.sourceforge.net/ |
6c95e892 | 17 | BuildRequires: GConf2-devel >= 2.12.0 |
46563756 | 18 | BuildRequires: ORBit2-devel >= 1:2.12.1 |
6c95e892 | 19 | BuildRequires: autoconf >= 2.59 |
fb73b544 | 20 | BuildRequires: autogen |
56ff22cb | 21 | BuildRequires: automake |
306cc6ec | 22 | BuildRequires: binutils-devel |
6c95e892 | 23 | BuildRequires: devhelp-devel >= 0.13 |
0b662eba | 24 | BuildRequires: gdl-devel >= 0.7.3 |
d5a8bfaa | 25 | BuildRequires: gettext-devel |
6c95e892 | 26 | BuildRequires: gnome-build-devel >= 0.1.4 |
0b662eba | 27 | BuildRequires: gnome-doc-utils |
6c95e892 MB |
28 | BuildRequires: graphviz-devel >= 2.6.0 |
29 | BuildRequires: gtk-doc >= 1.7 | |
30 | BuildRequires: gtksourceview-devel | |
31 | BuildRequires: intltool >= 0.35.0 | |
32 | BuildRequires: libgladeui-devel >= 3.0.2 | |
33 | BuildRequires: libgnomeprintui-devel >= 2.12.0 | |
d5a8bfaa | 34 | BuildRequires: libstdc++-devel |
9a94b53e | 35 | BuildRequires: libtool |
6c95e892 | 36 | BuildRequires: neon-devel >= 0.24.5 |
862dba28 | 37 | BuildRequires: pcre-devel >= 3.9 |
9a94b53e | 38 | BuildRequires: pkgconfig |
6c95e892 | 39 | BuildRequires: rpmbuild(macros) >= 1.311 |
49a52d78 | 40 | BuildRequires: scrollkeeper |
6c95e892 MB |
41 | BuildRequires: subversion-devel >= 1.0.2 |
42 | BuildRequires: vte-devel >= 0.14.0 | |
43 | Requires(post,preun): GConf2 | |
44 | Requires(post,postun): gtk+2 | |
45 | Requires(post,postun): hicolor-icon-theme | |
826ff08d | 46 | Requires(post,postun): scrollkeeper |
6c95e892 | 47 | Requires(post,postun): shared-mime-info |
b44496f4 | 48 | # Requires: gnome-terminal |
2abf41af | 49 | Requires: libanjuta = %{epoch}:%{version}-%{release} |
3e9740ba | 50 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
51 | ||
52 | %description | |
59fa26a7 | 53 | Anjuta is a very versatile integrated development environment for C |
af11ee93 | 54 | and C++ for GNU/Linux. Written in GTK/GNOME and written for GTK/GNOME, |
55 | it features many advanced programming tools and utilities. Besides | |
56 | many other, it has project management, application wizards, onboard | |
59fa26a7 | 57 | interactive debugger, and a powerful source editor with source |
58 | browsing. | |
59 | ||
5abe4ba4 | 60 | %description -l es.UTF-8 |
af11ee93 | 61 | Anjuta es un entorno integrado de desarrollo para C y C++ para |
62 | GNU/Linux. Escrito en y para GTK/GNOME, proporciona muchas | |
5abe4ba4 | 63 | herramientas de programación avanzadas. Entre otros, habilita |
af11ee93 | 64 | manejamiento de proyectos, wizards de aplicaciones, depurador |
5abe4ba4 | 65 | interactivo y un editador potente de código fuente que permite |
af11ee93 | 66 | hojearlo. |
67 | ||
5abe4ba4 JR |
68 | %description -l pl.UTF-8 |
69 | Anjuta to wszechstronne zintegrowane środowisko programowania dla | |
70 | języka C oraz C++. Zostało napisane z wykorzystaniem tandemu | |
71 | GTK/GNOME, właśnie po to by go w takim otoczeniu używać. Między innymi | |
72 | posiada zarządcę projektów, kreator aplikacji, wbudowany interaktywny | |
73 | odpluskwiacz oraz edytor z możliwością przeglądania źródeł. | |
3e9740ba | 74 | |
5abe4ba4 JR |
75 | %description -l pt_BR.UTF-8 |
76 | O Anjuta é um ambiente de desenvolvimento integrado (IDE) versátil | |
3abdf48d | 77 | para as linguagens C e C++. Foi escrito para o GTK/GNOME e tem uma |
5abe4ba4 JR |
78 | série de características de programação avançadas. Basicamente é uma |
79 | interface gráfica com o usuário para um conjunto de utilitários de | |
80 | linha de comando e ferramentas para programação para o Linux. Estas | |
81 | são geralmente executadas em um console em modo texto e podem ser não | |
82 | amigáveis. | |
3abdf48d | 83 | |
fb73b544 AM |
84 | %package -n libanjuta |
85 | Summary: libanjuta library | |
6c95e892 | 86 | Summary(pl.UTF-8): Biblioteka libanjuta |
fb73b544 | 87 | Group: Development/Libraries |
2abf41af | 88 | Conflicts: %{name} < 1:2.0.2-1 |
fb73b544 AM |
89 | |
90 | %description -n libanjuta | |
91 | libanjuta library. | |
92 | ||
6c95e892 MB |
93 | %description -n libanjuta -l pl.UTF-8 |
94 | Biblioteka libanjuta. | |
95 | ||
fb73b544 | 96 | %package -n libanjuta-devel |
6c95e892 MB |
97 | Summary: Header files for libanjuta library |
98 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libanjuta | |
fb73b544 AM |
99 | Group: Development/Libraries |
100 | Requires: libanjuta-devel = %{epoch}:%{version}-%{release} | |
101 | ||
102 | %description -n libanjuta-devel | |
6c95e892 MB |
103 | Header files for libanjuta library. |
104 | ||
105 | %description -n libanjuta-devel -l pl.UTF-8 | |
106 | Pliki nagłówkowe biblioteki libanjuta. | |
107 | ||
108 | %package -n libanjuta-apidocs | |
109 | Summary: libanjuta API documentation | |
110 | Summary(pl.UTF-8): Dokumentacja API biblioteki libanjuta | |
111 | Group: Documentation | |
112 | Requires: gtk-doc-common | |
113 | ||
114 | %description -n libanjuta-apidocs | |
115 | libanjuta API documentation. | |
116 | ||
117 | %description -n libanjuta-apidocs -l pl.UTF-8 | |
118 | Dokumentacja API biblioteki libanjuta. | |
fb73b544 | 119 | |
3e9740ba | 120 | %prep |
9a94b53e | 121 | %setup -q |
d6bd9cd6 ER |
122 | #%patch0 -p1 NEEDS checking |
123 | %patch1 -p1 | |
6c95e892 | 124 | %patch2 -p1 |
3e9740ba | 125 | |
126 | %build | |
6c95e892 | 127 | %{__intltoolize} |
862dba28 | 128 | %{__libtoolize} |
0001f914 | 129 | %{__aclocal} |
862dba28 | 130 | %{__autoheader} |
131 | %{__autoconf} | |
132 | %{__automake} | |
db55d436 | 133 | %configure \ |
fb73b544 AM |
134 | --with-html-dir=%{_gtkdocdir} \ |
135 | --with-apr-config=%{_bindir}/apr-1-config \ | |
136 | --with-apu-config=%{_bindir}/apu-1-config \ | |
137 | --with-neon-config=%{_bindir}/neon-config \ | |
6c95e892 MB |
138 | --with-omf-dir=%{_omf_dest_dir} \ |
139 | --disable-scrollkeeper \ | |
4789c563 | 140 | --disable-static |
3e9740ba | 141 | %{__make} |
142 | ||
143 | %install | |
144 | rm -rf $RPM_BUILD_ROOT | |
4f0edb38 | 145 | |
db55d436 AM |
146 | %{__make} install \ |
147 | DESTDIR=$RPM_BUILD_ROOT \ | |
6c95e892 MB |
148 | gnomemenudir=%{_desktopdir} \ |
149 | mimepngicondir=%{_iconsdir}/hicolor/48x48/mimetypes \ | |
150 | mimesvgicondir=%{_iconsdir}/hicolor/scalable/mimetypes | |
151 | ||
152 | mv -f $RPM_BUILD_ROOT%{_datadir}/anjuta/scripts/anjuta-tags $RPM_BUILD_ROOT%{_bindir} | |
3e9740ba | 153 | |
fe13c0a6 JB |
154 | # *.la not needed - *.so loaded through libgmodule |
155 | rm -f $RPM_BUILD_ROOT%{_libdir}/anjuta/lib*.la | |
156 | ||
6c95e892 | 157 | rm -rf $RPM_BUILD_ROOT%{_docdir}/anjuta |
46563756 | 158 | |
6c95e892 | 159 | %find_lang %{name} --with-gnome --all-name |
56ff22cb | 160 | |
3e9740ba | 161 | %clean |
162 | rm -rf $RPM_BUILD_ROOT | |
cf675a4c | 163 | |
826ff08d | 164 | %post |
46563756 | 165 | %scrollkeeper_update_post |
6c95e892 MB |
166 | %update_mime_database |
167 | %gconf_schema_install anjuta-valgrind.schemas | |
168 | %update_icon_cache hicolor | |
169 | ||
170 | %preun | |
171 | %gconf_schema_uninstall anjuta-valgrind.schemas | |
826ff08d | 172 | |
173 | %postun | |
46563756 | 174 | %scrollkeeper_update_postun |
6c95e892 MB |
175 | %update_mime_database |
176 | %update_icon_cache hicolor | |
49a52d78 | 177 | |
2abf41af | 178 | %post -n libanjuta -p /sbin/ldconfig |
fb73b544 AM |
179 | %postun -n libanjuta -p /sbin/ldconfig |
180 | ||
56ff22cb | 181 | %files -f %{name}.lang |
4f0edb38 | 182 | %defattr(644,root,root,755) |
6c95e892 | 183 | %doc AUTHORS ChangeLog FUTURE NEWS README ROADMAP THANKS TODO doc/ScintillaDoc.html |
db55d436 | 184 | %attr(755,root,root) %{_bindir}/* |
71736a36 | 185 | %dir %{_libdir}/%{name} |
186 | %attr(755,root,root) %{_libdir}/%{name}/lib*.so* | |
fb73b544 | 187 | %{_libdir}/%{name}/*.plugin |
71736a36 | 188 | %{_pixmapsdir}/%{name} |
6c95e892 MB |
189 | %dir %{_datadir}/%{name} |
190 | %{_datadir}/%{name}/build | |
191 | %{_datadir}/%{name}/class-templates | |
192 | %{_datadir}/%{name}/glade | |
193 | %{_datadir}/%{name}/gtodo | |
194 | %{_datadir}/%{name}/profiles | |
195 | %{_datadir}/%{name}/project | |
196 | %{_datadir}/%{name}/properties | |
197 | %dir %{_datadir}/%{name}/scripts | |
198 | %attr(755,root,root) %{_datadir}/%{name}/scripts/create_global_tags.sh | |
199 | %dir %{_datadir}/%{name}/tools | |
200 | %attr(755,root,root) %{_datadir}/%{name}/tools/find-fixmes.pl | |
201 | %attr(755,root,root) %{_datadir}/%{name}/tools/prepare-changelog.pl | |
202 | %attr(755,root,root) %{_datadir}/%{name}/tools/translation-status.pl | |
203 | %{_datadir}/%{name}/tools/tools-2.xml | |
204 | %{_datadir}/%{name}/ui | |
205 | %{_datadir}/%{name}/anjuta_project.template | |
206 | %{_datadir}/%{name}/gdb.init | |
207 | %{_datadir}/%{name}/indent_test.c | |
208 | %{_datadir}/%{name}/layout.xml | |
209 | %{_datadir}/%{name}/macros.xml | |
210 | %{_datadir}/%{name}/welcome.txt | |
211 | %{_datadir}/mime/packages/%{name}.xml | |
212 | %{_desktopdir}/%{name}.desktop | |
213 | %{_mandir}/man1/anjuta.1* | |
214 | %{_mandir}/man1/anjuta_launcher.1* | |
215 | %{_omf_dest_dir}/%{name}-manual | |
fb73b544 | 216 | %{_sysconfdir}/gconf/schemas/*.* |
6c95e892 | 217 | %{_iconsdir}/hicolor/*/*/*.* |
fb73b544 AM |
218 | |
219 | %files -n libanjuta | |
220 | %defattr(644,root,root,755) | |
221 | %attr(755,root,root) %{_libdir}/*.so.* | |
222 | ||
223 | %files -n libanjuta-devel | |
224 | %defattr(644,root,root,755) | |
225 | %{_includedir}/libanjuta-* | |
226 | %attr(755,root,root) %{_libdir}/*.so | |
227 | %{_libdir}/*.la | |
228 | %{_pkgconfigdir}/*.pc | |
6c95e892 MB |
229 | |
230 | %files -n libanjuta-apidocs | |
231 | %defattr(644,root,root,755) | |
fb73b544 | 232 | %{_gtkdocdir}/libanjuta |