anjuta-vl.spec 15 KB

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