anjuta-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  1. %define pkg_version 2.32.1.1
  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. * Thu Dec 30 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1.1-1
  233. - new upstream release
  234. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1.0-1
  235. - new upstream release
  236. * Sat Oct 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0.0-1
  237. - new upstream release
  238. - remove BuildRequires: libgnome-devel, libgnomeui-devel
  239. - remove Requires: libgnome, libgnomeui
  240. - add BuildRequires: vala-devel, vala-tools, sqlite3-devel,
  241. python-devel, pygobject-devel
  242. - remove unrecognized configure option (--disable-plugin-valgrind)
  243. - remove make option (%{?_smp_mflags})
  244. - fix %files
  245. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2.1-2
  246. - rebuild with rpm-4.8.1 for pkg-config file
  247. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2.1-1
  248. - new upstream release
  249. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2.0-1
  250. - new upstream release
  251. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1.0-1
  252. - new upstream release
  253. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0.0-1
  254. - new upstream release
  255. - add Requires: GConf2-devel, gtk2-devel (devel package)
  256. * Fri Feb 26 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.28.2.0-1
  257. - new upstream version
  258. - add gnome-doc-utils to BuildRequires
  259. * Thu Nov 12 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.28.1.0-2
  260. - rebuilt with devhelp-2.28.1
  261. * Tue Nov 03 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.28.1.0-1
  262. - new upstream version
  263. - remove libglade2, graphviz, binutils from reqires.
  264. - add file-manager and preferencs to schemas file
  265. - add gtksourceview2(-devel) to (Build)Requires.
  266. * Sat Aug 01 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org>
  267. - care icon cache (no build)
  268. * Fri Jul 31 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-6
  269. - enable devhelp plugin again.
  270. * Fri Jul 31 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-5
  271. - add gda-sqlite to Requires.
  272. * Thu Jul 30 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-4
  273. - update patch (anjuta-utils.patch)
  274. * Tue Jul 28 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-3
  275. - add patch anjuta-mkdir.patch [VineLinux:0737]
  276. * Sun Jul 26 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-2
  277. - add autogen to Requires [VineLinux:0738]
  278. - docs sub-package integrated into the main package.
  279. * Sun Jul 12 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-1
  280. - new upstream version
  281. * Sat Jul 11 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.1.0-3
  282. - added Requires libSM
  283. - added BR: libSM-devel perl-gettext intltool
  284. - added anjuta-build-tutorial to docs
  285. - move any so file from devel to main
  286. - added Provides perl(GBF::Make)
  287. - added Obsoletes gnome-build
  288. * Fri May 01 2009 Shu KONNO <owa@bg.wakwak.com> 2.6.1.0-2vl5
  289. - added BR: glade3-devel
  290. * Tue Apr 28 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.6.1.0-1vl5
  291. - update anjuta to 2.6.1.0
  292. - update *Requires
  293. * Sun Aug 24 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.2-1vl5
  294. - update anjuta to 2.4.2
  295. - added --disable-plugin-valgrind
  296. * Wed May 14 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.1-3vl5
  297. - removed --disable-plugin-glade
  298. * Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.1-2vl5
  299. - use macro for Release
  300. * Sat May 10 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.1-1vl5
  301. - update anjuta to 2.4.1
  302. - remove *.la
  303. * Tue Apr 08 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.0-1vl5
  304. - update anjuta to 2.4.0
  305. - comment out BuildRequires: binutils-devel
  306. - comment out BuildRequires: automake14
  307. * Mon Jan 14 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.3-0vl3
  308. - moved %%{_libdir}/libanjuta*.so.* to anjuta main package from devel
  309. * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl2
  310. - rebuilt with libwnck-2.20.2
  311. * Sat Jan 05 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.3-0vl1
  312. - new upstream release
  313. - updated Requires, BuildRequires by anjuta-2.2.3/anjuta.spec
  314. - added BuildRequires: binutils-devel
  315. - added --disable-scrollkeeper to %%configure
  316. - added -fPIC to make
  317. - added package anjuta-docs (dropt docs-en, doc-ja)
  318. - added package anjuta-devel
  319. * Mon Jul 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.4a-0vl3
  320. - rebuilt with new toolchain
  321. * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4a-0vl2
  322. - rebuild with gnome-2.18
  323. * Sat Jul 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.4a-0vl1
  324. - updated anjuta to 1.2.4a
  325. - changed Group to Applications/Development
  326. - changed docs Group to Applications/Documentation
  327. * Sat Dec 31 2005 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.2.4-1vl1
  328. - updated anjuta to 1.2.4
  329. - add patch from http://bugzilla.gnome.org/show_bug.cgi?id=323918
  330. * Fri Jan 21 2005 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl5
  331. - changed "BuildRequires: automake" with "automake14" in data definitions
  332. - changed "Requires: gettext" with "BuildRequires" in data definitions
  333. * Sat Jan 15 2005 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl3
  334. - added requires to spec
  335. * Wed Dec 01 2004 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl1
  336. - updated anjuta to 1.2.2
  337. * Sun Feb 1 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-1vl1
  338. - new upstream release
  339. - merged i18n package into main package
  340. - changed package Group:
  341. * Mon Nov 8 2002 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  342. - Replace ja.po
  343. * Mon Nov 7 2002 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  344. - change spec file
  345. * Mon Nov 6 2002 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  346. - packaged for Vine Linux