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