anjuta-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  1. %define pkg_version 3.18.2
  2. %define glib_required 2.46.0
  3. %define gtk_required 3.18.0
  4. %define glade3_required 3.18.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: 3%{?_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. * Thu Jun 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-3
  204. - rebuild with gcc-5.4.0
  205. * Wed Dec 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-2
  206. - rebuild with gnutls-3.4.7
  207. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
  208. - new upstream release
  209. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  210. - new upstream release
  211. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  212. - new upstream release
  213. * Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.14.0-3
  214. - moved libs subpackage to System Environment/Libraries Group
  215. - added Japanese summary
  216. * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-2
  217. - rebuild with vte3-0.38.2
  218. * Sat Nov 8 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.14.0-1
  219. - new upstream release
  220. - built with vala 0.26.1
  221. - added %%post and %%postun section for libs subpackage
  222. - moved libs subpackage to System Environment/Libraries
  223. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  224. - new upstream release
  225. * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  226. - new upstream release
  227. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  228. - new upstream release
  229. * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.4-1
  230. - new upstream release
  231. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  232. - new upstream release
  233. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  234. - new upstream release
  235. - add BuildRequires: gjs-devel
  236. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  237. - new upstream release
  238. * Fri Oct 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  239. - new upstream release
  240. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  241. - new upstream release
  242. - change BuildRequires: yelp-tools instead of gnome-doc-utils
  243. * Sat Aug 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.4-1
  244. - new upstream release
  245. * Tue Jun 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.3-1
  246. - new upstream release
  247. * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  248. - new upstream release
  249. * Wed Apr 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  250. - new upstream release
  251. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  252. - new upstream release
  253. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  254. - new upstream release
  255. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  256. - new upstream release
  257. * Sun Aug 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
  258. - new upstream release
  259. * Thu Aug 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  260. - new upstream release
  261. - change BuildRequires: gtk3-devel instead of gtk2-devel
  262. - change BuildRequires: vte3-devel instead of vte-devel
  263. - change BuildRequires: unique3-devel instead of unique-devel
  264. - change BuildRequires: gtksourceview3-devel instead of gtksourceview2-devel
  265. - add BuildRequires: flex, bison, graphviz-devel
  266. - create -libs sub package
  267. * Thu Dec 30 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1.1-1
  268. - new upstream release
  269. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1.0-1
  270. - new upstream release
  271. * Sat Oct 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0.0-1
  272. - new upstream release
  273. - remove BuildRequires: libgnome-devel, libgnomeui-devel
  274. - remove Requires: libgnome, libgnomeui
  275. - add BuildRequires: vala-devel, vala-tools, sqlite3-devel,
  276. python-devel, pygobject-devel
  277. - remove unrecognized configure option (--disable-plugin-valgrind)
  278. - remove make option (%{?_smp_mflags})
  279. - fix %files
  280. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2.1-2
  281. - rebuild with rpm-4.8.1 for pkg-config file
  282. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2.1-1
  283. - new upstream release
  284. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2.0-1
  285. - new upstream release
  286. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1.0-1
  287. - new upstream release
  288. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0.0-1
  289. - new upstream release
  290. - add Requires: GConf2-devel, gtk2-devel (devel package)
  291. * Fri Feb 26 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.28.2.0-1
  292. - new upstream version
  293. - add gnome-doc-utils to BuildRequires
  294. * Thu Nov 12 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.28.1.0-2
  295. - rebuilt with devhelp-2.28.1
  296. * Tue Nov 03 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.28.1.0-1
  297. - new upstream version
  298. - remove libglade2, graphviz, binutils from reqires.
  299. - add file-manager and preferencs to schemas file
  300. - add gtksourceview2(-devel) to (Build)Requires.
  301. * Sat Aug 01 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org>
  302. - care icon cache (no build)
  303. * Fri Jul 31 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-6
  304. - enable devhelp plugin again.
  305. * Fri Jul 31 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-5
  306. - add gda-sqlite to Requires.
  307. * Thu Jul 30 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-4
  308. - update patch (anjuta-utils.patch)
  309. * Tue Jul 28 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-3
  310. - add patch anjuta-mkdir.patch [VineLinux:0737]
  311. * Sun Jul 26 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-2
  312. - add autogen to Requires [VineLinux:0738]
  313. - docs sub-package integrated into the main package.
  314. * Sun Jul 12 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2.2-1
  315. - new upstream version
  316. * Sat Jul 11 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.1.0-3
  317. - added Requires libSM
  318. - added BR: libSM-devel perl-gettext intltool
  319. - added anjuta-build-tutorial to docs
  320. - move any so file from devel to main
  321. - added Provides perl(GBF::Make)
  322. - added Obsoletes gnome-build
  323. * Fri May 01 2009 Shu KONNO <owa@bg.wakwak.com> 2.6.1.0-2vl5
  324. - added BR: glade3-devel
  325. * Tue Apr 28 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.6.1.0-1vl5
  326. - update anjuta to 2.6.1.0
  327. - update *Requires
  328. * Sun Aug 24 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.2-1vl5
  329. - update anjuta to 2.4.2
  330. - added --disable-plugin-valgrind
  331. * Wed May 14 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.1-3vl5
  332. - removed --disable-plugin-glade
  333. * Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.1-2vl5
  334. - use macro for Release
  335. * Sat May 10 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.1-1vl5
  336. - update anjuta to 2.4.1
  337. - remove *.la
  338. * Tue Apr 08 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.4.0-1vl5
  339. - update anjuta to 2.4.0
  340. - comment out BuildRequires: binutils-devel
  341. - comment out BuildRequires: automake14
  342. * Mon Jan 14 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.3-0vl3
  343. - moved %%{_libdir}/libanjuta*.so.* to anjuta main package from devel
  344. * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl2
  345. - rebuilt with libwnck-2.20.2
  346. * Sat Jan 05 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.3-0vl1
  347. - new upstream release
  348. - updated Requires, BuildRequires by anjuta-2.2.3/anjuta.spec
  349. - added BuildRequires: binutils-devel
  350. - added --disable-scrollkeeper to %%configure
  351. - added -fPIC to make
  352. - added package anjuta-docs (dropt docs-en, doc-ja)
  353. - added package anjuta-devel
  354. * Mon Jul 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.4a-0vl3
  355. - rebuilt with new toolchain
  356. * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4a-0vl2
  357. - rebuild with gnome-2.18
  358. * Sat Jul 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.4a-0vl1
  359. - updated anjuta to 1.2.4a
  360. - changed Group to Applications/Development
  361. - changed docs Group to Applications/Documentation
  362. * Sat Dec 31 2005 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.2.4-1vl1
  363. - updated anjuta to 1.2.4
  364. - add patch from http://bugzilla.gnome.org/show_bug.cgi?id=323918
  365. * Fri Jan 21 2005 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl5
  366. - changed "BuildRequires: automake" with "automake14" in data definitions
  367. - changed "Requires: gettext" with "BuildRequires" in data definitions
  368. * Sat Jan 15 2005 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl3
  369. - added requires to spec
  370. * Wed Dec 01 2004 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl1
  371. - updated anjuta to 1.2.2
  372. * Sun Feb 1 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-1vl1
  373. - new upstream release
  374. - merged i18n package into main package
  375. - changed package Group:
  376. * Fri Nov 8 2002 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  377. - Replace ja.po
  378. * Thu Nov 7 2002 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  379. - change spec file
  380. * Wed Nov 6 2002 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  381. - packaged for Vine Linux