anjuta-vl.spec 14 KB

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