%define pkg_version 2.32.0.0 %define glib_required 2.26.0 %define gtk_required 2.22.0 %define orbit_required 2.14.19 #%define libglade2_required 2.3.0 %define glade3_required 3.6.2 %define gnome_required 2.12.0 %define vte_required 0.13.1 %define libxml_required 2.7.7 %define libdevhelp_required 2.32.0 %define gdl_required 2.30.1 #%define libgraphviz_required 1.0 %define neon_required 0.28.2 %define svn_major 1 %define svn_minor 5 %define svn_patch 0 %define subversion_required %{svn_major}.%{svn_minor}.%{svn_patch} %define gtksourceview_required 2.10.0 #%define binutils_required 2.15.92 %define libwnck_required 2.30 %define gda_required 4.2.0 %define unique_required 1.0.0 %define desktop_vendor anjuta Version: %{pkg_version} Release: 1%{?_dist_release} Summary: GNOME IDE for C and C++ Name: anjuta License: GPL2 Group: Applications/Development URL: http://www.anjuta.org/ Source: %{name}-%{version}.tar.bz2 #Patch: %{name}-utils.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root Vendor: Project Vine Distribution: Vine Linux Packager: yasumichi,inagaki Requires: autogen Requires: gdb Requires: glib2 >= %{glib_required} #Requires: gdk-pixbuf >= %{gdk_pixbuf_required} Requires: gtk2 >= %{gtk_required} Requires: ORBit2 >= %{orbit_required} #Requires: libglade2 >= %{libglade2_required} Requires: GConf2 >= %{gconf_required} Requires: vte >= %{vte_required} Requires: libxml2 >= %{libxml_required} Requires: devhelp >= %{libdevhelp_required} Requires: gdl >= %{gdl_required} #Requires: graphviz >= %{libgraphviz_required} Requires: neon >= %{neon_required} Requires: subversion >= %{subversion_required} Requires: libwnck >= %{libwnck_required} Requires: libgda >= %{gda_required} Requires: gda-sqlite >= %{gda_required} Requires: unique >= %{unique_required} #Requires: pango >= 1.1.1 #Requires: pcre >= 3.9 #Requires: gnome-build >= 0.2.0 Requires: e2fsprogs Requires: libSM #Requires: valgrind Requires: libuuid Requires: gtksourceview2 BuildRequires: autogen BuildRequires: pkgconfig BuildRequires: autoconf >= 2.13 BuildRequires: gettext >= 0.10 BuildRequires: glib2-devel >= %{glib_required} BuildRequires: gtk2-devel >= %{gtk_required} BuildRequires: ORBit2-devel >= %{orbit_required} #BuildRequires: libglade2-devel >= %{libglade2_required} BuildRequires: glade3-devel >= %{glade3_required} BuildRequires: GConf2-devel >= %{gconf_required} BuildRequires: vte-devel >= %{vte_required} BuildRequires: libxml2-devel >= %{libxml_required} BuildRequires: devhelp-devel >= %{libdevhelp_required} BuildRequires: gdl-devel >= %{gdl_required} #BuildRequires: graphviz-devel >= %{libgraphviz_required} BuildRequires: neon-devel >= %{neon_required} BuildRequires: subversion-devel >= %{subversion_required} BuildRequires: libwnck-devel >= %{libwnck_required} BuildRequires: libgda-devel >= %{gda_required} BuildRequires: unique-devel >= %{unique_required} #BuildRequires: pango-devel >= 1.1.1 #BuildRequires: pcre-devel >= 3.9 #BuildRequires: gnome-build-devel >= 0.2.0 BuildRequires: e2fsprogs-devel BuildRequires: perl-gettext BuildRequires: intltool BuildRequires: libSM-devel #BuildRequires: binutils-devel BuildRequires: libuuid-devel BuildRequires: gtksourceview2-devel BuildRequires: gnome-doc-utils BuildRequires: vala-devel BuildRequires: vala-tools BuildRequires: sqlite3-devel BuildRequires: python-devel BuildRequires: pygobject-devel Provides: perl(GBF::Make) Obsoletes: anjuta-i18n Obsoletes: anjuta-docs-en anjuta-docs-ja Obsoletes: anjuta-docs Obsoletes: gnome-build %description Anjuta is a versatile Integrated Development Environment (IDE) for C and C++. It has been written for GTK/GNOME, and features a number of advanced programming facilities. It is basically a GUI interface for the collection of command line programming utilities and tools available for the GNU system. These are usually run via a text console, and can be unfriendly to use. %description -l ja Anjutaは、多才なC言語及びC++の統合開発環境です。GTK/GNOME用に記述され、 進化したプログラミング環境としての特徴を備えています。 基本的には、GNUシステムのためのコマンドラインプログラミングの ユーティリティやツール群のGUIインターフェースです。今までのツール群は、 テキストコンソール経由で動作し、ユーザにはやさしくないのが常でしたが、 Anjuta がそれを解決してくれます。 #%%package docs #Summary: Anjuta docuemntation #Summary(ja): Anjuta のドキュメント #Group: Applications/Documentation #Prereq: scrollkeeper #%%description docs #Anjuta documentation %package devel Summary: Libraries and include files for Anjuta plugins development. Summary(ja): Anjuta の開発環境 Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: GConf2-devel Requires: gtk2-devel Requires: pkgconfig %description devel Libraries, header files and API docs for developing Anjuta plugins. %prep %setup -q #%patch -p1 %build %configure --disable-scrollkeeper ##make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC" make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC" %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL %find_lang %{name} rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la rm -f $RPM_BUILD_ROOT%{_libdir}/anjuta/lib*.la rm -f $RPM_BUILD_ROOT%{_libdir}/glade3/modules/libgladeanjuta.la # conflicts file from gnome-panel rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %post if which update-mime-database>/dev/null 2>&1; then \ update-mime-database %{_datadir}/mime; \ fi export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/anjuta*.schemas > /dev/null gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/file-manager.schemas > /dev/null gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/preferences.schemas > /dev/null touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi #%%post docs if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi %postun if which update-mime-database>/dev/null 2>&1; then \ update-mime-database %{_datadir}/mime; \ fi touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi #%%postun docs if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi %preun if [ $1 = 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/anjuta*.schemas > /dev/null gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/file-manager.schemas > /dev/null gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/preferences.schemas > /dev/null fi %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO %doc doc/ScintillaDoc.html %{_sysconfdir}/gconf/schemas/%{name}*.schemas %{_sysconfdir}/gconf/schemas/file-manager.schemas %{_sysconfdir}/gconf/schemas/preferences.schemas %{_sysconfdir}/gconf/schemas/python-plugin-properties.schemas %{_bindir}/%{name}* %{_bindir}/gbf-* %{_libdir}/lib%{name}.so.* %{_libdir}/lib%{name}-foocanvas.so.* %{_libdir}/%{name}/lib%{name}*.so %{_libdir}/%{name}/libfile-manager.so* %{_libdir}/%{name}/libjs*.so* %{_libdir}/%{name}/libgbf*.so %{_libdir}/%{name}/liblanguage-manager.so %{_libdir}/%{name}/libdir-project.so %{_libdir}/%{name}/*.plugin %{_libdir}/%{name}/libpython_plugin*.so* %{_libdir}/%{name}/anjuta-python-autocomplete.py %{_libdir}/glade3/modules/libgladeanjuta.so %{_libdir}/girepository-1.0/*.typelib %{_datadir}/%{name} %{_datadir}/applications/*%{name}.desktop %{_datadir}/icons/* %{_datadir}/mime/packages/%{name}.xml %{_datadir}/pixmaps/%{name}/* %{_mandir}/man1/* %{_datadir}/doc/%{name} #%%files docs #%%defattr(-, root, root) %{_datadir}/gnome/help/%{name}-faqs %{_datadir}/gnome/help/%{name}-manual %{_datadir}/gnome/help/%{name}-build-tutorial %{_datadir}/omf/anjuta-manual/%{name}-manual-*.omf %files devel %defattr(-, root, root) %{_libdir}/lib%{name}.so %{_libdir}/lib%{name}-foocanvas.so %{_libdir}/pkgconfig/libanjuta-1.0.pc %{_includedir}/libanjuta-1.0 %{_datadir}/gtk-doc/html/lib%{name} %{_datadir}/glade3/catalogs/anjuta-glade.xml %{_datadir}/gir-1.0/*.gir %changelog * Sat Oct 09 2010 Yoji TOYODA 2.32.0.0-1 - new upstream release - remove BuildRequires: libgnome-devel, libgnomeui-devel - remove Requires: libgnome, libgnomeui - add BuildRequires: vala-devel, vala-tools, sqlite3-devel, python-devel, pygobject-devel - remove unrecognized configure option (--disable-plugin-valgrind) - remove make option (%{?_smp_mflags}) - fix %files * Sun Sep 26 2010 Yoji TOYODA 2.30.2.1-2 - rebuild with rpm-4.8.1 for pkg-config file * Sat Jun 26 2010 Yoji TOYODA 2.30.2.1-1 - new upstream release * Mon Jun 21 2010 Yoji TOYODA 2.30.2.0-1 - new upstream release * Sat May 01 2010 Yoji TOYODA 2.30.1.0-1 - new upstream release * Sun Apr 18 2010 Yoji TOYODA 2.30.0.0-1 - new upstream release - add Requires: GConf2-devel, gtk2-devel (devel package) * Fri Feb 26 2010 Yasumichi Akahoshi 2.28.2.0-1 - new upstream version - add gnome-doc-utils to BuildRequires * Thu Nov 12 2009 MATSUBAYASHI Kohji - 2.28.1.0-2 - rebuilt with devhelp-2.28.1 * Tue Nov 03 2009 Yasumichi Akahoshi 2.28.1.0-1 - new upstream version - remove libglade2, graphviz, binutils from reqires. - add file-manager and preferencs to schemas file - add gtksourceview2(-devel) to (Build)Requires. * Sat Aug 01 2009 Yasumichi Akahoshi - care icon cache (no build) * Fri Jul 31 2009 Yasumichi Akahoshi 2.26.2.2-6 - enable devhelp plugin again. * Fri Jul 31 2009 Yasumichi Akahoshi 2.26.2.2-5 - add gda-sqlite to Requires. * Thu Jul 30 2009 Yasumichi Akahoshi 2.26.2.2-4 - update patch (anjuta-utils.patch) * Tue Jul 28 2009 Yasumichi Akahoshi 2.26.2.2-3 - add patch anjuta-mkdir.patch [VineLinux:0737] * Sun Jul 26 2009 Yasumichi Akahoshi 2.26.2.2-2 - add autogen to Requires [VineLinux:0738] - docs sub-package integrated into the main package. * Sun Jul 12 2009 Yasumichi Akahoshi 2.26.2.2-1 - new upstream version * Sat Jul 11 2009 Yasumichi Akahoshi 2.26.1.0-3 - added Requires libSM - added BR: libSM-devel perl-gettext intltool - added anjuta-build-tutorial to docs - move any so file from devel to main - added Provides perl(GBF::Make) - added Obsoletes gnome-build * Fri May 01 2009 Shu KONNO 2.6.1.0-2vl5 - added BR: glade3-devel * Tue Apr 28 2009 Yasumichi Akahoshi 2.6.1.0-1vl5 - update anjuta to 2.6.1.0 - update *Requires * Sun Aug 24 2008 Shu KONNO 2.4.2-1vl5 - update anjuta to 2.4.2 - added --disable-plugin-valgrind * Wed May 14 2008 Yasumichi Akahoshi 2.4.1-3vl5 - removed --disable-plugin-glade * Tue May 13 2008 Yasumichi Akahoshi 2.4.1-2vl5 - use macro for Release * Sat May 10 2008 Yasumichi Akahoshi 2.4.1-1vl5 - update anjuta to 2.4.1 - remove *.la * Tue Apr 08 2008 Yasumichi Akahoshi 2.4.0-1vl5 - update anjuta to 2.4.0 - comment out BuildRequires: binutils-devel - comment out BuildRequires: automake14 * Mon Jan 14 2008 Shu KONNO 2.2.3-0vl3 - moved %%{_libdir}/libanjuta*.so.* to anjuta main package from devel * Sun Jan 13 2008 Ryoichi INAGAKI 2.2.3-0vl2 - rebuilt with libwnck-2.20.2 * Sat Jan 05 2008 Shu KONNO 2.2.3-0vl1 - new upstream release - updated Requires, BuildRequires by anjuta-2.2.3/anjuta.spec - added BuildRequires: binutils-devel - added --disable-scrollkeeper to %%configure - added -fPIC to make - added package anjuta-docs (dropt docs-en, doc-ja) - added package anjuta-devel * Mon Jul 30 2007 Ryoichi INAGAKI 1.2.4a-0vl3 - rebuilt with new toolchain * Sun Apr 29 2007 Daisuke SUZUKI 1.2.4a-0vl2 - rebuild with gnome-2.18 * Sat Jul 15 2006 Ryoichi INAGAKI 1.2.4a-0vl1 - updated anjuta to 1.2.4a - changed Group to Applications/Development - changed docs Group to Applications/Documentation * Sat Dec 31 2005 Yasumichi Akahoshi 1.2.4-1vl1 - updated anjuta to 1.2.4 - add patch from http://bugzilla.gnome.org/show_bug.cgi?id=323918 * Fri Jan 21 2005 Shu KONNO 1.2.2-1vl5 - changed "BuildRequires: automake" with "automake14" in data definitions - changed "Requires: gettext" with "BuildRequires" in data definitions * Sat Jan 15 2005 Shu KONNO 1.2.2-1vl3 - added requires to spec * Wed Dec 01 2004 Shu KONNO 1.2.2-1vl1 - updated anjuta to 1.2.2 * Sun Feb 1 2004 Ryoichi INAGAKI 1.2.1-1vl1 - new upstream release - merged i18n package into main package - changed package Group: * Mon Nov 8 2002 Yasumichi Akahoshi - Replace ja.po * Mon Nov 7 2002 Yasumichi Akahoshi - change spec file * Mon Nov 6 2002 Yasumichi Akahoshi - packaged for Vine Linux