]>
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 |
70083be9 | 6 | Version: 2.4.0 |
b3b79ea2 | 7 | Release: 5 |
6351dbdd | 8 | Epoch: 1 |
3e9740ba | 9 | License: GPL |
17fdac4e | 10 | Group: Development/Tools |
70083be9 PZ |
11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/anjuta/2.4/%{name}-%{version}.tar.bz2 |
12 | # Source0-md5: 5eca972ef7b95de85a8088eaf9cc0753 | |
fb73b544 | 13 | #Patch0: %{name}-home_etc.patch |
d6bd9cd6 | 14 | Patch1: %{name}-desktop.patch |
3e9740ba | 15 | URL: http://anjuta.sourceforge.net/ |
6c95e892 | 16 | BuildRequires: GConf2-devel >= 2.12.0 |
46563756 | 17 | BuildRequires: ORBit2-devel >= 1:2.12.1 |
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 | |
6c95e892 | 22 | BuildRequires: devhelp-devel >= 0.13 |
0b662eba | 23 | BuildRequires: gdl-devel >= 0.7.3 |
d5a8bfaa | 24 | BuildRequires: gettext-devel |
f9d39eb6 | 25 | BuildRequires: glib2-devel >= 1:2.14 |
b5869508 | 26 | BuildRequires: gnome-build-devel >= 0.2.0 |
0b662eba | 27 | BuildRequires: gnome-doc-utils |
8a6cb916 | 28 | BuildRequires: gnome-common |
f9d39eb6 | 29 | BuildRequires: gnome-vfs2-devel >= 2.10.0 |
6c95e892 MB |
30 | BuildRequires: graphviz-devel >= 2.6.0 |
31 | BuildRequires: gtk-doc >= 1.7 | |
f9d39eb6 JB |
32 | BuildRequires: gtk+2-devel >= 2:2.10 |
33 | BuildRequires: gtksourceview-devel >= 1.4.0 | |
6c95e892 MB |
34 | BuildRequires: intltool >= 0.35.0 |
35 | BuildRequires: libgladeui-devel >= 3.0.2 | |
f9d39eb6 | 36 | BuildRequires: libgnomecanvas-devel >= 2.12.0 |
6c95e892 | 37 | BuildRequires: libgnomeprintui-devel >= 2.12.0 |
f9d39eb6 JB |
38 | BuildRequires: libgnome-devel >= 2.14 |
39 | BuildRequires: libgnomeui-devel >= 2.12.0 | |
d5a8bfaa | 40 | BuildRequires: libstdc++-devel |
9a94b53e | 41 | BuildRequires: libtool |
f9d39eb6 JB |
42 | BuildRequires: libwnck-devel >= 2.12 |
43 | BuildRequires: libxml2-devel >= 2.4.23 | |
44 | BuildRequires: libxslt-devel | |
6c95e892 | 45 | BuildRequires: neon-devel >= 0.24.5 |
f9d39eb6 | 46 | BuildRequires: pango-devel >= 1:1.1.1 |
862dba28 | 47 | BuildRequires: pcre-devel >= 3.9 |
9a94b53e | 48 | BuildRequires: pkgconfig |
6c95e892 | 49 | BuildRequires: rpmbuild(macros) >= 1.311 |
49a52d78 | 50 | BuildRequires: scrollkeeper |
6c95e892 MB |
51 | BuildRequires: subversion-devel >= 1.0.2 |
52 | BuildRequires: vte-devel >= 0.14.0 | |
53 | Requires(post,preun): GConf2 | |
54 | Requires(post,postun): gtk+2 | |
55 | Requires(post,postun): hicolor-icon-theme | |
826ff08d | 56 | Requires(post,postun): scrollkeeper |
6c95e892 | 57 | Requires(post,postun): shared-mime-info |
b44496f4 | 58 | # Requires: gnome-terminal |
47e7eef0 | 59 | Requires: glib2 >= 1:2.14 |
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} | |
114 | ||
115 | %description -n libanjuta-devel | |
6c95e892 MB |
116 | Header files for libanjuta library. |
117 | ||
118 | %description -n libanjuta-devel -l pl.UTF-8 | |
119 | Pliki nagłówkowe biblioteki libanjuta. | |
120 | ||
121 | %package -n libanjuta-apidocs | |
122 | Summary: libanjuta API documentation | |
123 | Summary(pl.UTF-8): Dokumentacja API biblioteki libanjuta | |
124 | Group: Documentation | |
125 | Requires: gtk-doc-common | |
126 | ||
127 | %description -n libanjuta-apidocs | |
128 | libanjuta API documentation. | |
129 | ||
130 | %description -n libanjuta-apidocs -l pl.UTF-8 | |
131 | Dokumentacja API biblioteki libanjuta. | |
fb73b544 | 132 | |
3e9740ba | 133 | %prep |
9a94b53e | 134 | %setup -q |
d6bd9cd6 ER |
135 | #%patch0 -p1 NEEDS checking |
136 | %patch1 -p1 | |
3e9740ba | 137 | |
138 | %build | |
dd98ddbb | 139 | %{__intltoolize} |
140 | %{__libtoolize} | |
141 | %{__aclocal} | |
142 | %{__autoheader} | |
143 | %{__autoconf} | |
144 | %{__automake} | |
db55d436 | 145 | %configure \ |
fb73b544 AM |
146 | --with-html-dir=%{_gtkdocdir} \ |
147 | --with-apr-config=%{_bindir}/apr-1-config \ | |
148 | --with-apu-config=%{_bindir}/apu-1-config \ | |
149 | --with-neon-config=%{_bindir}/neon-config \ | |
6c95e892 MB |
150 | --with-omf-dir=%{_omf_dest_dir} \ |
151 | --disable-scrollkeeper \ | |
dd98ddbb | 152 | --disable-static |
153 | ||
3e9740ba | 154 | %{__make} |
155 | ||
156 | %install | |
157 | rm -rf $RPM_BUILD_ROOT | |
4f0edb38 | 158 | |
db55d436 AM |
159 | %{__make} install \ |
160 | DESTDIR=$RPM_BUILD_ROOT \ | |
6c95e892 MB |
161 | gnomemenudir=%{_desktopdir} \ |
162 | mimepngicondir=%{_iconsdir}/hicolor/48x48/mimetypes \ | |
163 | mimesvgicondir=%{_iconsdir}/hicolor/scalable/mimetypes | |
164 | ||
fe13c0a6 JB |
165 | # *.la not needed - *.so loaded through libgmodule |
166 | rm -f $RPM_BUILD_ROOT%{_libdir}/anjuta/lib*.la | |
167 | ||
6c95e892 | 168 | rm -rf $RPM_BUILD_ROOT%{_docdir}/anjuta |
46563756 | 169 | |
8adf4cb8 | 170 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
171 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
6c95e892 | 172 | %find_lang %{name} --with-gnome --all-name |
56ff22cb | 173 | |
3e9740ba | 174 | %clean |
175 | rm -rf $RPM_BUILD_ROOT | |
cf675a4c | 176 | |
826ff08d | 177 | %post |
46563756 | 178 | %scrollkeeper_update_post |
6c95e892 MB |
179 | %update_mime_database |
180 | %gconf_schema_install anjuta-valgrind.schemas | |
181 | %update_icon_cache hicolor | |
182 | ||
183 | %preun | |
184 | %gconf_schema_uninstall anjuta-valgrind.schemas | |
826ff08d | 185 | |
186 | %postun | |
46563756 | 187 | %scrollkeeper_update_postun |
6c95e892 MB |
188 | %update_mime_database |
189 | %update_icon_cache hicolor | |
49a52d78 | 190 | |
2abf41af | 191 | %post -n libanjuta -p /sbin/ldconfig |
fb73b544 AM |
192 | %postun -n libanjuta -p /sbin/ldconfig |
193 | ||
56ff22cb | 194 | %files -f %{name}.lang |
4f0edb38 | 195 | %defattr(644,root,root,755) |
6c95e892 | 196 | %doc AUTHORS ChangeLog FUTURE NEWS README ROADMAP THANKS TODO doc/ScintillaDoc.html |
db55d436 | 197 | %attr(755,root,root) %{_bindir}/* |
71736a36 | 198 | %dir %{_libdir}/%{name} |
199 | %attr(755,root,root) %{_libdir}/%{name}/lib*.so* | |
fb73b544 | 200 | %{_libdir}/%{name}/*.plugin |
70083be9 PZ |
201 | %attr(755,root,root) %{_libdir}/%{name}/anjuta-tags |
202 | %{_libdir}/glade3/modules/libgladeanjuta.so | |
71736a36 | 203 | %{_pixmapsdir}/%{name} |
6c95e892 MB |
204 | %dir %{_datadir}/%{name} |
205 | %{_datadir}/%{name}/build | |
206 | %{_datadir}/%{name}/class-templates | |
207 | %{_datadir}/%{name}/glade | |
208 | %{_datadir}/%{name}/gtodo | |
209 | %{_datadir}/%{name}/profiles | |
210 | %{_datadir}/%{name}/project | |
211 | %{_datadir}/%{name}/properties | |
212 | %dir %{_datadir}/%{name}/scripts | |
213 | %attr(755,root,root) %{_datadir}/%{name}/scripts/create_global_tags.sh | |
214 | %dir %{_datadir}/%{name}/tools | |
215 | %attr(755,root,root) %{_datadir}/%{name}/tools/find-fixmes.pl | |
216 | %attr(755,root,root) %{_datadir}/%{name}/tools/prepare-changelog.pl | |
217 | %attr(755,root,root) %{_datadir}/%{name}/tools/translation-status.pl | |
218 | %{_datadir}/%{name}/tools/tools-2.xml | |
219 | %{_datadir}/%{name}/ui | |
220 | %{_datadir}/%{name}/anjuta_project.template | |
221 | %{_datadir}/%{name}/gdb.init | |
70083be9 | 222 | %{_datadir}/%{name}/languages.xml |
6c95e892 MB |
223 | %{_datadir}/%{name}/layout.xml |
224 | %{_datadir}/%{name}/macros.xml | |
225 | %{_datadir}/%{name}/welcome.txt | |
226 | %{_datadir}/mime/packages/%{name}.xml | |
70083be9 | 227 | %{_datadir}/glade3/catalogs/anjuta-glade.xml |
6c95e892 MB |
228 | %{_desktopdir}/%{name}.desktop |
229 | %{_mandir}/man1/anjuta.1* | |
230 | %{_mandir}/man1/anjuta_launcher.1* | |
231 | %{_omf_dest_dir}/%{name}-manual | |
fb73b544 | 232 | %{_sysconfdir}/gconf/schemas/*.* |
6c95e892 | 233 | %{_iconsdir}/hicolor/*/*/*.* |
fb73b544 AM |
234 | |
235 | %files -n libanjuta | |
236 | %defattr(644,root,root,755) | |
237 | %attr(755,root,root) %{_libdir}/*.so.* | |
238 | ||
239 | %files -n libanjuta-devel | |
240 | %defattr(644,root,root,755) | |
241 | %{_includedir}/libanjuta-* | |
242 | %attr(755,root,root) %{_libdir}/*.so | |
243 | %{_libdir}/*.la | |
244 | %{_pkgconfigdir}/*.pc | |
6c95e892 MB |
245 | |
246 | %files -n libanjuta-apidocs | |
247 | %defattr(644,root,root,755) | |
fb73b544 | 248 | %{_gtkdocdir}/libanjuta |