anjuta-vl.spec 15 KB

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