123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396 |
- %define pkg_version 2.30.2.1
- %define glib_required 2.24.0
- %define gtk_required 2.20.0
- %define orbit_required 2.6.0
- #%define libglade2_required 2.3.0
- %define glade3_required 3.6.2
- %define gnome_required 2.12.0
- %define gconf_required 2.12.0
- %define vte_required 0.13.1
- %define libxml_required 2.4.23
- %define libdevhelp_required 0.22
- %define gdl_required 2.28.0
- #%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.4.0
- #%define binutils_required 2.15.92
- %define libwnck_required 2.12
- %define gda_required 4.0.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: libgnome >= %{gnome_required}
- Requires: libgnomeui >= %{gnome_required}
- #Requires: libgnomeprint >= %{gnome_required}
- #Requires: libgnomeprintui >= %{gnome_required}
- #Requires: gnome-vfs2 >= 2.10.0
- 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: libgnome-devel >= 2.12.0
- BuildRequires: libgnomeui-devel >= 2.12.0
- #BuildRequires: libgnomeprint-devel >= 2.12.0
- #BuildRequires: libgnomeprintui-devel >= 2.12.0
- #BuildRequires: gnome-vfs2-devel >= 2.10.0
- 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
- 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 --disable-plugin-valgrind
- make %{?_smp_mflags} 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
- %{_bindir}/%{name}*
- %{_bindir}/gbf-*
- %{_libdir}/lib%{name}.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}/glade3/modules/libgladeanjuta.so
- %{_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}/pkgconfig/libanjuta-1.0.pc
- %{_includedir}/libanjuta-1.0
- %{_datadir}/gtk-doc/html/lib%{name}
- %{_datadir}/glade3/catalogs/anjuta-glade.xml
- %changelog
- * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2.1-1
- - new upstream release
- * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2.0-1
- - new upstream release
- * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1.0-1
- - new upstream release
- * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0.0-1
- - new upstream release
- - add Requires: GConf2-devel, gtk2-devel (devel package)
- * Fri Feb 26 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.28.2.0-1
- - new upstream version
- - add gnome-doc-utils to BuildRequires
- * Thu Nov 12 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.28.1.0-2
- - rebuilt with devhelp-2.28.1
- * Tue Nov 03 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 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 <yasumichi@vinelinux.org>
- - care icon cache (no build)
- * Fri Jul 31 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-6
- - enable devhelp plugin again.
- * Fri Jul 31 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-5
- - add gda-sqlite to Requires.
- * Thu Jul 30 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-4
- - update patch (anjuta-utils.patch)
- * Tue Jul 28 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-3
- - add patch anjuta-mkdir.patch [VineLinux:0737]
- * Sun Jul 26 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 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 <yasumichi@vinelinux.org> 2.26.2.2-1
- - new upstream version
- * Sat Jul 11 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 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 <owa@bg.wakwak.com> 2.6.1.0-2vl5
- - added BR: glade3-devel
- * Tue Apr 28 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.6.1.0-1vl5
- - update anjuta to 2.6.1.0
- - update *Requires
- * Sun Aug 24 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.2-1vl5
- - update anjuta to 2.4.2
- - added --disable-plugin-valgrind
- * Wed May 14 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.1-3vl5
- - removed --disable-plugin-glade
- * Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.1-2vl5
- - use macro for Release
- * Sat May 10 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.1-1vl5
- - update anjuta to 2.4.1
- - remove *.la
- * Tue Apr 08 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 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 <owa@bg.wakwak.com> 2.2.3-0vl3
- - moved %%{_libdir}/libanjuta*.so.* to anjuta main package from devel
- * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl2
- - rebuilt with libwnck-2.20.2
- * Sat Jan 05 2008 Shu KONNO <owa@bg.wakwak.com> 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 <ryo1@bc.wakwak.com> 1.2.4a-0vl3
- - rebuilt with new toolchain
- * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4a-0vl2
- - rebuild with gnome-2.18
- * Sat Jul 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 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 <yasumichi@vinelinux.org> 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 <owa@bg.wakwak.com> 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 <owa@bg.wakwak.com> 1.2.2-1vl3
- - added requires to spec
- * Wed Dec 01 2004 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl1
- - updated anjuta to 1.2.2
- * Sun Feb 1 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-1vl1
- - new upstream release
- - merged i18n package into main package
- - changed package Group:
- * Mon Nov 8 2002 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
- - Replace ja.po
- * Mon Nov 7 2002 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
- - change spec file
- * Mon Nov 6 2002 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
- - packaged for Vine Linux
|