1 | %define pkg_version 2.30.2.0 |
---|
2 | |
---|
3 | %define glib_required 2.24.0 |
---|
4 | %define gtk_required 2.20.0 |
---|
5 | %define orbit_required 2.6.0 |
---|
6 | #%define libglade2_required 2.3.0 |
---|
7 | %define glade3_required 3.6.2 |
---|
8 | %define gnome_required 2.12.0 |
---|
9 | %define gconf_required 2.12.0 |
---|
10 | %define vte_required 0.13.1 |
---|
11 | %define libxml_required 2.4.23 |
---|
12 | %define libdevhelp_required 0.22 |
---|
13 | %define gdl_required 2.28.0 |
---|
14 | #%define libgraphviz_required 1.0 |
---|
15 | %define neon_required 0.28.2 |
---|
16 | %define svn_major 1 |
---|
17 | %define svn_minor 5 |
---|
18 | %define svn_patch 0 |
---|
19 | %define subversion_required %{svn_major}.%{svn_minor}.%{svn_patch} |
---|
20 | %define gtksourceview_required 2.4.0 |
---|
21 | #%define binutils_required 2.15.92 |
---|
22 | %define libwnck_required 2.12 |
---|
23 | %define gda_required 4.0.0 |
---|
24 | %define unique_required 1.0.0 |
---|
25 | |
---|
26 | %define desktop_vendor anjuta |
---|
27 | |
---|
28 | Version: %{pkg_version} |
---|
29 | Release: 1%{?_dist_release} |
---|
30 | |
---|
31 | Summary: GNOME IDE for C and C++ |
---|
32 | Name: anjuta |
---|
33 | License: GPL2 |
---|
34 | Group: Applications/Development |
---|
35 | URL: http://www.anjuta.org/ |
---|
36 | Source: %{name}-%{version}.tar.bz2 |
---|
37 | #Patch: %{name}-utils.patch |
---|
38 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
39 | Vendor: Project Vine |
---|
40 | Distribution: Vine Linux |
---|
41 | Packager: yasumichi,inagaki |
---|
42 | |
---|
43 | Requires: autogen |
---|
44 | Requires: gdb |
---|
45 | Requires: glib2 >= %{glib_required} |
---|
46 | #Requires: gdk-pixbuf >= %{gdk_pixbuf_required} |
---|
47 | Requires: gtk2 >= %{gtk_required} |
---|
48 | Requires: ORBit2 >= %{orbit_required} |
---|
49 | #Requires: libglade2 >= %{libglade2_required} |
---|
50 | Requires: libgnome >= %{gnome_required} |
---|
51 | Requires: libgnomeui >= %{gnome_required} |
---|
52 | #Requires: libgnomeprint >= %{gnome_required} |
---|
53 | #Requires: libgnomeprintui >= %{gnome_required} |
---|
54 | #Requires: gnome-vfs2 >= 2.10.0 |
---|
55 | Requires: GConf2 >= %{gconf_required} |
---|
56 | Requires: vte >= %{vte_required} |
---|
57 | Requires: libxml2 >= %{libxml_required} |
---|
58 | Requires: devhelp >= %{libdevhelp_required} |
---|
59 | Requires: gdl >= %{gdl_required} |
---|
60 | #Requires: graphviz >= %{libgraphviz_required} |
---|
61 | Requires: neon >= %{neon_required} |
---|
62 | Requires: subversion >= %{subversion_required} |
---|
63 | Requires: libwnck >= %{libwnck_required} |
---|
64 | Requires: libgda >= %{gda_required} |
---|
65 | Requires: gda-sqlite >= %{gda_required} |
---|
66 | Requires: unique >= %{unique_required} |
---|
67 | #Requires: pango >= 1.1.1 |
---|
68 | #Requires: pcre >= 3.9 |
---|
69 | #Requires: gnome-build >= 0.2.0 |
---|
70 | Requires: e2fsprogs |
---|
71 | Requires: libSM |
---|
72 | #Requires: valgrind |
---|
73 | Requires: libuuid |
---|
74 | Requires: gtksourceview2 |
---|
75 | |
---|
76 | BuildRequires: autogen |
---|
77 | BuildRequires: pkgconfig |
---|
78 | BuildRequires: autoconf >= 2.13 |
---|
79 | BuildRequires: gettext >= 0.10 |
---|
80 | BuildRequires: glib2-devel >= %{glib_required} |
---|
81 | BuildRequires: gtk2-devel >= %{gtk_required} |
---|
82 | BuildRequires: ORBit2-devel >= %{orbit_required} |
---|
83 | #BuildRequires: libglade2-devel >= %{libglade2_required} |
---|
84 | BuildRequires: glade3-devel >= %{glade3_required} |
---|
85 | BuildRequires: libgnome-devel >= 2.12.0 |
---|
86 | BuildRequires: libgnomeui-devel >= 2.12.0 |
---|
87 | #BuildRequires: libgnomeprint-devel >= 2.12.0 |
---|
88 | #BuildRequires: libgnomeprintui-devel >= 2.12.0 |
---|
89 | #BuildRequires: gnome-vfs2-devel >= 2.10.0 |
---|
90 | BuildRequires: GConf2-devel >= %{gconf_required} |
---|
91 | BuildRequires: vte-devel >= %{vte_required} |
---|
92 | BuildRequires: libxml2-devel >= %{libxml_required} |
---|
93 | BuildRequires: devhelp-devel >= %{libdevhelp_required} |
---|
94 | BuildRequires: gdl-devel >= %{gdl_required} |
---|
95 | #BuildRequires: graphviz-devel >= %{libgraphviz_required} |
---|
96 | BuildRequires: neon-devel >= %{neon_required} |
---|
97 | BuildRequires: subversion-devel >= %{subversion_required} |
---|
98 | BuildRequires: libwnck-devel >= %{libwnck_required} |
---|
99 | BuildRequires: libgda-devel >= %{gda_required} |
---|
100 | BuildRequires: unique-devel >= %{unique_required} |
---|
101 | #BuildRequires: pango-devel >= 1.1.1 |
---|
102 | #BuildRequires: pcre-devel >= 3.9 |
---|
103 | #BuildRequires: gnome-build-devel >= 0.2.0 |
---|
104 | BuildRequires: e2fsprogs-devel |
---|
105 | BuildRequires: perl-gettext |
---|
106 | BuildRequires: intltool |
---|
107 | BuildRequires: libSM-devel |
---|
108 | #BuildRequires: binutils-devel |
---|
109 | BuildRequires: libuuid-devel |
---|
110 | BuildRequires: gtksourceview2-devel |
---|
111 | BuildRequires: gnome-doc-utils |
---|
112 | |
---|
113 | Provides: perl(GBF::Make) |
---|
114 | |
---|
115 | Obsoletes: anjuta-i18n |
---|
116 | Obsoletes: anjuta-docs-en anjuta-docs-ja |
---|
117 | Obsoletes: anjuta-docs |
---|
118 | Obsoletes: gnome-build |
---|
119 | |
---|
120 | %description |
---|
121 | Anjuta is a versatile Integrated Development Environment (IDE) for C and C++. |
---|
122 | It has been written for GTK/GNOME, and features a number of advanced |
---|
123 | programming facilities. It is basically a GUI interface for the collection |
---|
124 | of command line programming utilities and tools available for the GNU system. |
---|
125 | These are usually run via a text console, and can be unfriendly to use. |
---|
126 | |
---|
127 | %description -l ja |
---|
128 | Anjutaは、多才なC言語及びC++の統合開発環境です。GTK/GNOME用に記述され、 |
---|
129 | 進化したプログラミング環境としての特徴を備えています。 |
---|
130 | 基本的には、GNUシステムのためのコマンドラインプログラミングの |
---|
131 | ユーティリティやツール群のGUIインターフェースです。今までのツール群は、 |
---|
132 | テキストコンソール経由で動作し、ユーザにはやさしくないのが常でしたが、 |
---|
133 | Anjuta がそれを解決してくれます。 |
---|
134 | |
---|
135 | #%%package docs |
---|
136 | #Summary: Anjuta docuemntation |
---|
137 | #Summary(ja): Anjuta のドキュメント |
---|
138 | #Group: Applications/Documentation |
---|
139 | #Prereq: scrollkeeper |
---|
140 | |
---|
141 | #%%description docs |
---|
142 | #Anjuta documentation |
---|
143 | |
---|
144 | %package devel |
---|
145 | Summary: Libraries and include files for Anjuta plugins development. |
---|
146 | Summary(ja): Anjuta の開発環境 |
---|
147 | Group: Development/Libraries |
---|
148 | Requires: %{name} = %{version}-%{release} |
---|
149 | Requires: GConf2-devel |
---|
150 | Requires: gtk2-devel |
---|
151 | Requires: pkgconfig |
---|
152 | |
---|
153 | %description devel |
---|
154 | Libraries, header files and API docs for developing Anjuta plugins. |
---|
155 | |
---|
156 | %prep |
---|
157 | %setup -q |
---|
158 | #%patch -p1 |
---|
159 | |
---|
160 | %build |
---|
161 | %configure --disable-scrollkeeper --disable-plugin-valgrind |
---|
162 | make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC" |
---|
163 | |
---|
164 | %install |
---|
165 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
166 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
167 | %makeinstall |
---|
168 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
169 | |
---|
170 | %find_lang %{name} |
---|
171 | |
---|
172 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
173 | rm -f $RPM_BUILD_ROOT%{_libdir}/anjuta/lib*.la |
---|
174 | rm -f $RPM_BUILD_ROOT%{_libdir}/glade3/modules/libgladeanjuta.la |
---|
175 | |
---|
176 | # conflicts file from gnome-panel |
---|
177 | rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache |
---|
178 | |
---|
179 | %clean |
---|
180 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
181 | |
---|
182 | %post |
---|
183 | if which update-mime-database>/dev/null 2>&1; then \ |
---|
184 | update-mime-database %{_datadir}/mime; \ |
---|
185 | fi |
---|
186 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
187 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/anjuta*.schemas > /dev/null |
---|
188 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/file-manager.schemas > /dev/null |
---|
189 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/preferences.schemas > /dev/null |
---|
190 | touch --no-create %{_datadir}/icons/hicolor |
---|
191 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
192 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
193 | fi |
---|
194 | |
---|
195 | #%%post docs |
---|
196 | if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi |
---|
197 | |
---|
198 | %postun |
---|
199 | if which update-mime-database>/dev/null 2>&1; then \ |
---|
200 | update-mime-database %{_datadir}/mime; \ |
---|
201 | fi |
---|
202 | touch --no-create %{_datadir}/icons/hicolor |
---|
203 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
204 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
205 | fi |
---|
206 | |
---|
207 | #%%postun docs |
---|
208 | if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi |
---|
209 | |
---|
210 | %preun |
---|
211 | if [ $1 = 0 ]; then |
---|
212 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
213 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/anjuta*.schemas > /dev/null |
---|
214 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/file-manager.schemas > /dev/null |
---|
215 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/preferences.schemas > /dev/null |
---|
216 | fi |
---|
217 | |
---|
218 | |
---|
219 | %files -f %{name}.lang |
---|
220 | %defattr(-,root,root) |
---|
221 | %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO |
---|
222 | %doc doc/ScintillaDoc.html |
---|
223 | %{_sysconfdir}/gconf/schemas/%{name}*.schemas |
---|
224 | %{_sysconfdir}/gconf/schemas/file-manager.schemas |
---|
225 | %{_sysconfdir}/gconf/schemas/preferences.schemas |
---|
226 | %{_bindir}/%{name}* |
---|
227 | %{_bindir}/gbf-* |
---|
228 | %{_libdir}/lib%{name}.so.* |
---|
229 | %{_libdir}/%{name}/lib%{name}*.so |
---|
230 | %{_libdir}/%{name}/libfile-manager.so* |
---|
231 | %{_libdir}/%{name}/libjs*.so* |
---|
232 | %{_libdir}/%{name}/libgbf*.so |
---|
233 | %{_libdir}/%{name}/liblanguage-manager.so |
---|
234 | %{_libdir}/%{name}/libdir-project.so |
---|
235 | %{_libdir}/%{name}/*.plugin |
---|
236 | %{_libdir}/glade3/modules/libgladeanjuta.so |
---|
237 | %{_datadir}/%{name} |
---|
238 | %{_datadir}/applications/*%{name}.desktop |
---|
239 | %{_datadir}/icons/* |
---|
240 | %{_datadir}/mime/packages/%{name}.xml |
---|
241 | %{_datadir}/pixmaps/%{name}/* |
---|
242 | %{_mandir}/man1/* |
---|
243 | %{_datadir}/doc/%{name} |
---|
244 | |
---|
245 | #%%files docs |
---|
246 | #%%defattr(-, root, root) |
---|
247 | %{_datadir}/gnome/help/%{name}-faqs |
---|
248 | %{_datadir}/gnome/help/%{name}-manual |
---|
249 | %{_datadir}/gnome/help/%{name}-build-tutorial |
---|
250 | %{_datadir}/omf/anjuta-manual/%{name}-manual-*.omf |
---|
251 | |
---|
252 | %files devel |
---|
253 | %defattr(-, root, root) |
---|
254 | %{_libdir}/lib%{name}.so |
---|
255 | %{_libdir}/pkgconfig/libanjuta-1.0.pc |
---|
256 | %{_includedir}/libanjuta-1.0 |
---|
257 | %{_datadir}/gtk-doc/html/lib%{name} |
---|
258 | %{_datadir}/glade3/catalogs/anjuta-glade.xml |
---|
259 | |
---|
260 | |
---|
261 | %changelog |
---|
262 | * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2.0-1 |
---|
263 | - new upstream release |
---|
264 | |
---|
265 | * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1.0-1 |
---|
266 | - new upstream release |
---|
267 | |
---|
268 | * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0.0-1 |
---|
269 | - new upstream release |
---|
270 | - add Requires: GConf2-devel, gtk2-devel (devel package) |
---|
271 | |
---|
272 | * Fri Feb 26 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.28.2.0-1 |
---|
273 | - new upstream version |
---|
274 | - add gnome-doc-utils to BuildRequires |
---|
275 | |
---|
276 | * Thu Nov 12 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.28.1.0-2 |
---|
277 | - rebuilt with devhelp-2.28.1 |
---|
278 | |
---|
279 | * Tue Nov 03 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.28.1.0-1 |
---|
280 | - new upstream version |
---|
281 | - remove libglade2, graphviz, binutils from reqires. |
---|
282 | - add file-manager and preferencs to schemas file |
---|
283 | - add gtksourceview2(-devel) to (Build)Requires. |
---|
284 | |
---|
285 | * Sat Aug 01 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> |
---|
286 | - care icon cache (no build) |
---|
287 | |
---|
288 | * Fri Jul 31 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-6 |
---|
289 | - enable devhelp plugin again. |
---|
290 | |
---|
291 | * Fri Jul 31 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-5 |
---|
292 | - add gda-sqlite to Requires. |
---|
293 | |
---|
294 | * Thu Jul 30 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-4 |
---|
295 | - update patch (anjuta-utils.patch) |
---|
296 | |
---|
297 | * Tue Jul 28 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-3 |
---|
298 | - add patch anjuta-mkdir.patch [VineLinux:0737] |
---|
299 | |
---|
300 | * Sun Jul 26 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-2 |
---|
301 | - add autogen to Requires [VineLinux:0738] |
---|
302 | - docs sub-package integrated into the main package. |
---|
303 | |
---|
304 | * Sun Jul 12 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-1 |
---|
305 | - new upstream version |
---|
306 | |
---|
307 | * Sat Jul 11 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.1.0-3 |
---|
308 | - added Requires libSM |
---|
309 | - added BR: libSM-devel perl-gettext intltool |
---|
310 | - added anjuta-build-tutorial to docs |
---|
311 | - move any so file from devel to main |
---|
312 | - added Provides perl(GBF::Make) |
---|
313 | - added Obsoletes gnome-build |
---|
314 | |
---|
315 | * Fri May 01 2009 Shu KONNO <owa@bg.wakwak.com> 2.6.1.0-2vl5 |
---|
316 | - added BR: glade3-devel |
---|
317 | |
---|
318 | * Tue Apr 28 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.6.1.0-1vl5 |
---|
319 | - update anjuta to 2.6.1.0 |
---|
320 | - update *Requires |
---|
321 | |
---|
322 | * Sun Aug 24 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.2-1vl5 |
---|
323 | - update anjuta to 2.4.2 |
---|
324 | - added --disable-plugin-valgrind |
---|
325 | |
---|
326 | * Wed May 14 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.1-3vl5 |
---|
327 | - removed --disable-plugin-glade |
---|
328 | |
---|
329 | * Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.1-2vl5 |
---|
330 | - use macro for Release |
---|
331 | |
---|
332 | * Sat May 10 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.1-1vl5 |
---|
333 | - update anjuta to 2.4.1 |
---|
334 | - remove *.la |
---|
335 | |
---|
336 | * Tue Apr 08 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.0-1vl5 |
---|
337 | - update anjuta to 2.4.0 |
---|
338 | - comment out BuildRequires: binutils-devel |
---|
339 | - comment out BuildRequires: automake14 |
---|
340 | |
---|
341 | * Mon Jan 14 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.3-0vl3 |
---|
342 | - moved %%{_libdir}/libanjuta*.so.* to anjuta main package from devel |
---|
343 | |
---|
344 | * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl2 |
---|
345 | - rebuilt with libwnck-2.20.2 |
---|
346 | |
---|
347 | * Sat Jan 05 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.3-0vl1 |
---|
348 | - new upstream release |
---|
349 | - updated Requires, BuildRequires by anjuta-2.2.3/anjuta.spec |
---|
350 | - added BuildRequires: binutils-devel |
---|
351 | - added --disable-scrollkeeper to %%configure |
---|
352 | - added -fPIC to make |
---|
353 | - added package anjuta-docs (dropt docs-en, doc-ja) |
---|
354 | - added package anjuta-devel |
---|
355 | |
---|
356 | * Mon Jul 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.4a-0vl3 |
---|
357 | - rebuilt with new toolchain |
---|
358 | |
---|
359 | * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4a-0vl2 |
---|
360 | - rebuild with gnome-2.18 |
---|
361 | |
---|
362 | * Sat Jul 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.4a-0vl1 |
---|
363 | - updated anjuta to 1.2.4a |
---|
364 | - changed Group to Applications/Development |
---|
365 | - changed docs Group to Applications/Documentation |
---|
366 | |
---|
367 | * Sat Dec 31 2005 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.2.4-1vl1 |
---|
368 | - updated anjuta to 1.2.4 |
---|
369 | - add patch from http://bugzilla.gnome.org/show_bug.cgi?id=323918 |
---|
370 | |
---|
371 | * Fri Jan 21 2005 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl5 |
---|
372 | - changed "BuildRequires: automake" with "automake14" in data definitions |
---|
373 | - changed "Requires: gettext" with "BuildRequires" in data definitions |
---|
374 | |
---|
375 | * Sat Jan 15 2005 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl3 |
---|
376 | - added requires to spec |
---|
377 | |
---|
378 | * Wed Dec 01 2004 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl1 |
---|
379 | - updated anjuta to 1.2.2 |
---|
380 | |
---|
381 | * Sun Feb 1 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-1vl1 |
---|
382 | - new upstream release |
---|
383 | - merged i18n package into main package |
---|
384 | - changed package Group: |
---|
385 | |
---|
386 | * Mon Nov 8 2002 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp> |
---|
387 | - Replace ja.po |
---|
388 | |
---|
389 | * Mon Nov 7 2002 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp> |
---|
390 | - change spec file |
---|
391 | |
---|
392 | * Mon Nov 6 2002 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp> |
---|
393 | - packaged for Vine Linux |
---|