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