anjuta-vl.spec 14 KB

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