anjuta-vl.spec 14 KB

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