anjuta-vl.spec 14 KB

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