]>
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 |
6c95e892 | 6 | Version: 2.1.1 |
c4188da7 | 7 | Release: 3 |
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 |
15307745 | 12 | # Source0-md5: 8113f280db27dcf923748ca66c0c19fa |
fb73b544 | 13 | #Patch0: %{name}-home_etc.patch |
d6bd9cd6 | 14 | Patch1: %{name}-desktop.patch |
6c95e892 MB |
15 | Patch2: %{name}-glade.patch |
16 | Patch3: %{name}-create_global_tags.patch | |
3e9740ba | 17 | URL: http://anjuta.sourceforge.net/ |
6c95e892 | 18 | BuildRequires: GConf2-devel >= 2.12.0 |
46563756 | 19 | BuildRequires: ORBit2-devel >= 1:2.12.1 |
6c95e892 | 20 | BuildRequires: autoconf >= 2.59 |
fb73b544 | 21 | BuildRequires: autogen |
56ff22cb | 22 | BuildRequires: automake |
306cc6ec | 23 | BuildRequires: binutils-devel |
6c95e892 MB |
24 | BuildRequires: devhelp-devel >= 0.13 |
25 | BuildRequires: gdl-devel >= 0.7.0 | |
d5a8bfaa | 26 | BuildRequires: gettext-devel |
6c95e892 MB |
27 | BuildRequires: gnome-build-devel >= 0.1.4 |
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 MB |
124 | %patch2 -p1 |
125 | %patch3 -p1 | |
3e9740ba | 126 | |
127 | %build | |
6c95e892 | 128 | %{__intltoolize} |
862dba28 | 129 | %{__libtoolize} |
0001f914 | 130 | %{__aclocal} |
862dba28 | 131 | %{__autoheader} |
132 | %{__autoconf} | |
133 | %{__automake} | |
db55d436 | 134 | %configure \ |
fb73b544 AM |
135 | --with-html-dir=%{_gtkdocdir} \ |
136 | --with-apr-config=%{_bindir}/apr-1-config \ | |
137 | --with-apu-config=%{_bindir}/apu-1-config \ | |
138 | --with-neon-config=%{_bindir}/neon-config \ | |
6c95e892 MB |
139 | --with-omf-dir=%{_omf_dest_dir} \ |
140 | --disable-scrollkeeper \ | |
4789c563 | 141 | --disable-static |
3e9740ba | 142 | %{__make} |
143 | ||
144 | %install | |
145 | rm -rf $RPM_BUILD_ROOT | |
4f0edb38 | 146 | |
db55d436 AM |
147 | %{__make} install \ |
148 | DESTDIR=$RPM_BUILD_ROOT \ | |
6c95e892 MB |
149 | gnomemenudir=%{_desktopdir} \ |
150 | mimepngicondir=%{_iconsdir}/hicolor/48x48/mimetypes \ | |
151 | mimesvgicondir=%{_iconsdir}/hicolor/scalable/mimetypes | |
152 | ||
153 | mv -f $RPM_BUILD_ROOT%{_datadir}/anjuta/scripts/anjuta-tags $RPM_BUILD_ROOT%{_bindir} | |
3e9740ba | 154 | |
fe13c0a6 JB |
155 | # *.la not needed - *.so loaded through libgmodule |
156 | rm -f $RPM_BUILD_ROOT%{_libdir}/anjuta/lib*.la | |
157 | ||
6c95e892 | 158 | rm -rf $RPM_BUILD_ROOT%{_docdir}/anjuta |
46563756 | 159 | |
6c95e892 | 160 | %find_lang %{name} --with-gnome --all-name |
56ff22cb | 161 | |
3e9740ba | 162 | %clean |
163 | rm -rf $RPM_BUILD_ROOT | |
cf675a4c | 164 | |
826ff08d | 165 | %post |
46563756 | 166 | %scrollkeeper_update_post |
6c95e892 MB |
167 | %update_mime_database |
168 | %gconf_schema_install anjuta-valgrind.schemas | |
169 | %update_icon_cache hicolor | |
170 | ||
171 | %preun | |
172 | %gconf_schema_uninstall anjuta-valgrind.schemas | |
826ff08d | 173 | |
174 | %postun | |
46563756 | 175 | %scrollkeeper_update_postun |
6c95e892 MB |
176 | %update_mime_database |
177 | %update_icon_cache hicolor | |
49a52d78 | 178 | |
2abf41af | 179 | %post -n libanjuta -p /sbin/ldconfig |
fb73b544 AM |
180 | %postun -n libanjuta -p /sbin/ldconfig |
181 | ||
56ff22cb | 182 | %files -f %{name}.lang |
4f0edb38 | 183 | %defattr(644,root,root,755) |
6c95e892 | 184 | %doc AUTHORS ChangeLog FUTURE NEWS README ROADMAP THANKS TODO doc/ScintillaDoc.html |
db55d436 | 185 | %attr(755,root,root) %{_bindir}/* |
71736a36 | 186 | %dir %{_libdir}/%{name} |
187 | %attr(755,root,root) %{_libdir}/%{name}/lib*.so* | |
fb73b544 | 188 | %{_libdir}/%{name}/*.plugin |
71736a36 | 189 | %{_pixmapsdir}/%{name} |
6c95e892 MB |
190 | %dir %{_datadir}/%{name} |
191 | %{_datadir}/%{name}/build | |
192 | %{_datadir}/%{name}/class-templates | |
193 | %{_datadir}/%{name}/glade | |
194 | %{_datadir}/%{name}/gtodo | |
195 | %{_datadir}/%{name}/profiles | |
196 | %{_datadir}/%{name}/project | |
197 | %{_datadir}/%{name}/properties | |
198 | %dir %{_datadir}/%{name}/scripts | |
199 | %attr(755,root,root) %{_datadir}/%{name}/scripts/create_global_tags.sh | |
200 | %dir %{_datadir}/%{name}/tools | |
201 | %attr(755,root,root) %{_datadir}/%{name}/tools/find-fixmes.pl | |
202 | %attr(755,root,root) %{_datadir}/%{name}/tools/prepare-changelog.pl | |
203 | %attr(755,root,root) %{_datadir}/%{name}/tools/translation-status.pl | |
204 | %{_datadir}/%{name}/tools/tools-2.xml | |
205 | %{_datadir}/%{name}/ui | |
206 | %{_datadir}/%{name}/anjuta_project.template | |
207 | %{_datadir}/%{name}/gdb.init | |
208 | %{_datadir}/%{name}/indent_test.c | |
209 | %{_datadir}/%{name}/layout.xml | |
210 | %{_datadir}/%{name}/macros.xml | |
211 | %{_datadir}/%{name}/welcome.txt | |
212 | %{_datadir}/mime/packages/%{name}.xml | |
213 | %{_desktopdir}/%{name}.desktop | |
214 | %{_mandir}/man1/anjuta.1* | |
215 | %{_mandir}/man1/anjuta_launcher.1* | |
216 | %{_omf_dest_dir}/%{name}-manual | |
fb73b544 | 217 | %{_sysconfdir}/gconf/schemas/*.* |
6c95e892 | 218 | %{_iconsdir}/hicolor/*/*/*.* |
fb73b544 AM |
219 | |
220 | %files -n libanjuta | |
221 | %defattr(644,root,root,755) | |
222 | %attr(755,root,root) %{_libdir}/*.so.* | |
223 | ||
224 | %files -n libanjuta-devel | |
225 | %defattr(644,root,root,755) | |
226 | %{_includedir}/libanjuta-* | |
227 | %attr(755,root,root) %{_libdir}/*.so | |
228 | %{_libdir}/*.la | |
229 | %{_pkgconfigdir}/*.pc | |
6c95e892 MB |
230 | |
231 | %files -n libanjuta-apidocs | |
232 | %defattr(644,root,root,755) | |
fb73b544 | 233 | %{_gtkdocdir}/libanjuta |