]>
Commit | Line | Data |
---|---|---|
1 | Summary: GNOME integrated development environment | |
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++ | |
5 | Name: anjuta | |
6 | Version: 2.1.3 | |
7 | Release: 1 | |
8 | Epoch: 1 | |
9 | License: GPL | |
10 | Group: Development/Tools | |
11 | Source0: http://dl.sourceforge.net/anjuta/%{name}-%{version}.tar.bz2 | |
12 | # Source0-md5: 740102ec71340bc2549c6bd021163ce2 | |
13 | #Patch0: %{name}-home_etc.patch | |
14 | Patch1: %{name}-desktop.patch | |
15 | Patch2: %{name}-create_global_tags.patch | |
16 | URL: http://anjuta.sourceforge.net/ | |
17 | BuildRequires: GConf2-devel >= 2.12.0 | |
18 | BuildRequires: ORBit2-devel >= 1:2.12.1 | |
19 | BuildRequires: autoconf >= 2.59 | |
20 | BuildRequires: autogen | |
21 | BuildRequires: automake | |
22 | BuildRequires: binutils-devel | |
23 | BuildRequires: devhelp-devel >= 0.13 | |
24 | BuildRequires: gdl-devel >= 0.7.3 | |
25 | BuildRequires: gettext-devel | |
26 | BuildRequires: gnome-build-devel >= 0.1.4 | |
27 | BuildRequires: gnome-doc-utils | |
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 | |
34 | BuildRequires: libstdc++-devel | |
35 | BuildRequires: libtool | |
36 | BuildRequires: neon-devel >= 0.24.5 | |
37 | BuildRequires: pcre-devel >= 3.9 | |
38 | BuildRequires: pkgconfig | |
39 | BuildRequires: rpmbuild(macros) >= 1.311 | |
40 | BuildRequires: scrollkeeper | |
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 | |
46 | Requires(post,postun): scrollkeeper | |
47 | Requires(post,postun): shared-mime-info | |
48 | # Requires: gnome-terminal | |
49 | Requires: libanjuta = %{epoch}:%{version}-%{release} | |
50 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
51 | ||
52 | %description | |
53 | Anjuta is a very versatile integrated development environment for C | |
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 | |
57 | interactive debugger, and a powerful source editor with source | |
58 | browsing. | |
59 | ||
60 | %description -l es.UTF-8 | |
61 | Anjuta es un entorno integrado de desarrollo para C y C++ para | |
62 | GNU/Linux. Escrito en y para GTK/GNOME, proporciona muchas | |
63 | herramientas de programación avanzadas. Entre otros, habilita | |
64 | manejamiento de proyectos, wizards de aplicaciones, depurador | |
65 | interactivo y un editador potente de código fuente que permite | |
66 | hojearlo. | |
67 | ||
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ł. | |
74 | ||
75 | %description -l pt_BR.UTF-8 | |
76 | O Anjuta é um ambiente de desenvolvimento integrado (IDE) versátil | |
77 | para as linguagens C e C++. Foi escrito para o GTK/GNOME e tem uma | |
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. | |
83 | ||
84 | %package -n libanjuta | |
85 | Summary: libanjuta library | |
86 | Summary(pl.UTF-8): Biblioteka libanjuta | |
87 | Group: Development/Libraries | |
88 | Conflicts: %{name} < 1:2.0.2-1 | |
89 | ||
90 | %description -n libanjuta | |
91 | libanjuta library. | |
92 | ||
93 | %description -n libanjuta -l pl.UTF-8 | |
94 | Biblioteka libanjuta. | |
95 | ||
96 | %package -n libanjuta-devel | |
97 | Summary: Header files for libanjuta library | |
98 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libanjuta | |
99 | Group: Development/Libraries | |
100 | Requires: libanjuta-devel = %{epoch}:%{version}-%{release} | |
101 | ||
102 | %description -n libanjuta-devel | |
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. | |
119 | ||
120 | %prep | |
121 | %setup -q | |
122 | #%patch0 -p1 NEEDS checking | |
123 | %patch1 -p1 | |
124 | %patch2 -p1 | |
125 | ||
126 | %build | |
127 | %{__intltoolize} | |
128 | %{__libtoolize} | |
129 | %{__aclocal} | |
130 | %{__autoheader} | |
131 | %{__autoconf} | |
132 | %{__automake} | |
133 | %configure \ | |
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 \ | |
138 | --with-omf-dir=%{_omf_dest_dir} \ | |
139 | --disable-scrollkeeper \ | |
140 | --disable-static | |
141 | %{__make} | |
142 | ||
143 | %install | |
144 | rm -rf $RPM_BUILD_ROOT | |
145 | ||
146 | %{__make} install \ | |
147 | DESTDIR=$RPM_BUILD_ROOT \ | |
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} | |
153 | ||
154 | # *.la not needed - *.so loaded through libgmodule | |
155 | rm -f $RPM_BUILD_ROOT%{_libdir}/anjuta/lib*.la | |
156 | ||
157 | rm -rf $RPM_BUILD_ROOT%{_docdir}/anjuta | |
158 | ||
159 | %find_lang %{name} --with-gnome --all-name | |
160 | ||
161 | %clean | |
162 | rm -rf $RPM_BUILD_ROOT | |
163 | ||
164 | %post | |
165 | %scrollkeeper_update_post | |
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 | |
172 | ||
173 | %postun | |
174 | %scrollkeeper_update_postun | |
175 | %update_mime_database | |
176 | %update_icon_cache hicolor | |
177 | ||
178 | %post -n libanjuta -p /sbin/ldconfig | |
179 | %postun -n libanjuta -p /sbin/ldconfig | |
180 | ||
181 | %files -f %{name}.lang | |
182 | %defattr(644,root,root,755) | |
183 | %doc AUTHORS ChangeLog FUTURE NEWS README ROADMAP THANKS TODO doc/ScintillaDoc.html | |
184 | %attr(755,root,root) %{_bindir}/* | |
185 | %dir %{_libdir}/%{name} | |
186 | %attr(755,root,root) %{_libdir}/%{name}/lib*.so* | |
187 | %{_libdir}/%{name}/*.plugin | |
188 | %{_pixmapsdir}/%{name} | |
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 | |
216 | %{_sysconfdir}/gconf/schemas/*.* | |
217 | %{_iconsdir}/hicolor/*/*/*.* | |
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 | |
229 | ||
230 | %files -n libanjuta-apidocs | |
231 | %defattr(644,root,root,755) | |
232 | %{_gtkdocdir}/libanjuta |