gedit-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  1. %define glib2_version 2.32.1
  2. %define gtk3_version 3.4.1
  3. %define desktop_file_utils_version 0.17
  4. %define gtksourceview3_version 3.4.1
  5. %define gnome_doc_utils_version 0.6.0
  6. %define pygobject_version 2.28.6
  7. Summary: gedit is a small but powerful text editor for GNOME.
  8. Summary(ja): GNOME 用の小さくかつ強力なテキストエディタ
  9. Name: gedit
  10. Version: 3.4.2
  11. Release: 1%{?_dist_release}
  12. License: GPLv2
  13. Group: Applications/Editors
  14. Source0: http://ftp.gnome.org/pub/GNOME/sources/gedit/3.4/%{name}-%{version}.tar.xz
  15. URL: http://gedit.sourceforge.net/
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. Requires: pygobject3
  18. BuildRequires: glib2-devel >= %{glib2_version}
  19. BuildRequires: gtk3-devel >= %{gtk3_version}
  20. BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
  21. BuildRequires: gtksourceview3-devel >= %{gtksourceview3_version}
  22. BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version}
  23. BuildRequires: pygobject3-devel
  24. BuildRequires: perl-XML-Parser
  25. BuildRequires: libattr-devel
  26. BuildRequires: libffi-devel
  27. BuildRequires: libSM-devel
  28. BuildRequires: libpeas-devel >= 0.7.3
  29. BuildRequires: gsettings-desktop-schemas-devel
  30. BuildRequires: itstool
  31. BuildRequires: intltool > 0.40
  32. Vendor: Project Vine
  33. Distribution: Vine Linux
  34. Packager: daisuke, inagaki, Takemikaduchi
  35. %description
  36. gedit is a small but powerful text editor designed specifically for
  37. the GNOME GUI desktop. gedit includes a plug-in API (which supports
  38. extensibility while keeping the core binary small), support for
  39. editing multiple documents using notebook tabs, and standard text
  40. editor functions.
  41. You will need to have GNOME and GTK+ installed to use gedit.
  42. %description -l ja
  43. gedit は GNOME 用の小さく、それでいて、強力なテキストエディタです。
  44. これは、コア部分は小さいままに、geditに対し多くの機能を拡張
  45. できるようにするための(画面分割モード等の)プラグインの機能や、
  46. 『タブ』ノートブックを利用した複数のドキュメント編集、そして、
  47. その他多くの機能を備えています。
  48. gedit には GNOME と GTK+2 が必要です
  49. %package devel
  50. Summary: The files needed for developing plug-ins for the gedit editor.
  51. Summary(ja): gedit エディタ用のプラグイン開発
  52. Group: Development/Libraries
  53. Requires: %{name} = %{version}-%{release}
  54. Requires: gtksourceview3-devel >= %{gtksourceview3_version}
  55. %description devel
  56. gedit is a small but powerful text editor for the GNOME GUI desktop.
  57. This package allows you to develop plug-ins that work within gedit.
  58. Install gedit-devel if you want to write plug-ins for gedit.
  59. %description -l ja devel
  60. gedit は GNOME 用の小さく、それでいて、強力なテキストエディタです。
  61. このパッケージを用いてgedit内で動くプラグインを開発することができます。
  62. gedit のプラグインを開発する場合には gedit-devel をインストールしてください。
  63. %prep
  64. %setup -n gedit-%{version} -q
  65. %build
  66. %configure \
  67. --disable-schemas-install \
  68. --disable-spell \
  69. --disable-updater \
  70. --enable-attr
  71. make %{?_smp_mflags} V=1
  72. %install
  73. rm -rf $RPM_BUILD_ROOT
  74. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  75. make DESTDIR=$RPM_BUILD_ROOT install
  76. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  77. desktop-file-install --delete-original \
  78. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  79. --add-only-show-in GNOME \
  80. $RPM_BUILD_ROOT%{_datadir}/applications/*
  81. ## clean up all the static libs for plugins (workaround for no -module)
  82. /bin/rm -f `find $RPM_BUILD_ROOT%{_libdir}/%{name}/plugin-loaders -name "*.la"`
  83. /bin/rm -f `find $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins -name "*.la"`
  84. /bin/rm -f `find $RPM_BUILD_ROOT%{_libdir} -name "*.la"`
  85. ## clean up unpackage files
  86. #/bin/rm -rf $RPM_BUILD_ROOT%{_includedir}/gedit-2.20
  87. /bin/rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gedit
  88. /bin/rm -rf $RPM_BUILD_ROOT%{_libexecdir}/gedit
  89. %find_lang %{name}
  90. %clean
  91. rm -rf $RPM_BUILD_ROOT
  92. %post
  93. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  94. %postun
  95. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  96. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  97. %posttrans
  98. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  99. %files -f %{name}.lang
  100. %defattr(-, root, root)
  101. %doc AUTHORS COPYING ChangeLog NEWS README
  102. %{_bindir}/gedit
  103. %{_bindir}/gnome-text-editor
  104. %{_libdir}/%{name}/libgedit-private.so
  105. %{_libdir}/%{name}/girepository-1.0/*.typelib
  106. %{_libdir}/%{name}/plugins
  107. %{python_sitearch}/gi/overrides/Gedit.*
  108. %{_datadir}/GConf/gsettings/gedit.convert
  109. %{_datadir}/applications/gedit.desktop
  110. %{_datadir}/dbus-1/services/org.gnome.gedit.service
  111. %{_datadir}/%{name}/logo
  112. %{_datadir}/%{name}/plugins
  113. %{_datadir}/glib-2.0/schemas/*.xml
  114. %{_datadir}/help/*/%{name}
  115. %{_mandir}/man1/*
  116. %files devel
  117. %defattr(-, root, root)
  118. %{_includedir}/%{name}-3.0
  119. %{_libdir}/pkgconfig/*.pc
  120. %{_datadir}/%{name}/gir-1.0/*.gir
  121. %changelog
  122. * Tue Jun 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  123. - new upstream release
  124. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  125. - new upstream release
  126. - add BuildRequires: itstool, pygobject3-devel
  127. - remove BuildRequires: GConf2-devel
  128. * Sat Jan 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.6-1
  129. - new upstream release
  130. * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.5-1
  131. - new upstream release
  132. * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.3-1
  133. - new upstream release
  134. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  135. - new upstream release
  136. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  137. - new upstream release
  138. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.6-1
  139. - new upstream release
  140. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
  141. - new upstream release
  142. - change BuildRequires: gtk3-devel instead of gtk2-devel
  143. - change BuildRequires: gtksourceview3-devel instead of gtksourceview2-devel
  144. - add BuildRequires: libpeas-devel, gsettings-desktop-schemas
  145. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.4-1
  146. - new upstream release
  147. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-2
  148. - rebuild with rpm-4.8.1 for pkg-config file
  149. * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1
  150. - new upstream release
  151. * Sun May 30 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  152. - new upstream release
  153. * Fri Apr 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  154. - new upstream release
  155. - add BuildRequires: libSM-devel
  156. * Fri Feb 05 2010 Shu KONNO <owa@bg.wakwak.com> 2.28.2-3
  157. - rebuilt with python-2.6.4-3
  158. * Tue Dec 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.2-2
  159. - split devel package
  160. - added Requires: gtksourceview2 to devel package (<BTS:831>)
  161. * Sat Nov 21 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.2-1
  162. - new upstream release
  163. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  164. - new upstream release
  165. - dropped Patch1 (merged into upstream)
  166. - added --disable-updater
  167. * Sun Aug 2 2009 Kazutaka HARADA <toshi.kd2@gmail.com> 2.26.3-1
  168. - new upstream release
  169. - added BuildRequires: libffi-devel
  170. * Fri Jun 19 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.26.2-2
  171. - add Patch1 to fix errors on external tools (<BTS:VineLinux:710>)
  172. - add BuildRequires: libattr-devel
  173. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  174. - new upstream release
  175. * Tue May 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-2
  176. - s/gEdit/gedit in Summary/Description
  177. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  178. - new upstream release
  179. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  180. - new upstream release
  181. * Sun Nov 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1
  182. - new upstream release
  183. * Sat Oct 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-3
  184. - add Requires: pygobject >= 2.15.4
  185. * Sun Sep 28 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.24.0-2
  186. - drop --vendor=gnome option when executing desktop-file-install
  187. * Thu Sep 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  188. - new upstream release
  189. * Sat Jul 19 2008 Shu KONNO <owa@bg.wakwak.com> 2.22.1-2vl5
  190. - added lBuildRequires: perl-XML-Parser
  191. - rebuilt with python-2.5.2
  192. * Sun Apr 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  193. - new upstream release
  194. - added BuildRequires: pygtksourceview-devel
  195. * Sat Aug 11 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.18.2-0vl2
  196. - add BuildRequires: pygobject-devel, gnome-python-desktop
  197. because of adding --enable-python
  198. (TODO: moving to pygobjects and gnome-python-desktop to main or not?)
  199. * Wed Aug 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl1
  200. - new upstream release
  201. - added --enable-python option
  202. * Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.1-0vl1
  203. - new upstream release
  204. * Sat Jun 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1
  205. - new upstream release
  206. * Thu May 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl2
  207. - temporarily disabled patch10 which has encoding detection bugs.
  208. * Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  209. - new upstream release
  210. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  211. - new upstream release
  212. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.93-0vl1
  213. - new upstream release
  214. * Wed Oct 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
  215. - new upstream release
  216. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  217. - new upstream release
  218. - forwardport Patch10 from Vine Linux 3.2.
  219. * Mon Apr 11 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.2-0vl1
  220. - new upstream release
  221. * Wed Mar 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.1-0vl1
  222. - new upstream release
  223. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  224. - new upstream version
  225. * Tue Mar 08 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-0vl2
  226. - fixed to include message catalogs
  227. * Sat Mar 05 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-0vl1
  228. - new upstream release
  229. * Tue Nov 09 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
  230. - new upstream release
  231. * Sat Feb 14 2004 Tomoya TAKA <taka@vinelinux.org> 2.4.1-0vl2
  232. - add Patch0, fix type mismatch in gedit_document_load()
  233. * Fri Oct 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.1-0vl1
  234. - new upstream release
  235. * Tue Oct 07 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
  236. - add missing files to %%files
  237. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  238. - new upstream release
  239. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.5-0vl2
  240. - remove obsolete ja.po
  241. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.5-0vl1
  242. - new upstream release
  243. * Mon Jun 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1
  244. - new upstream release
  245. - update ja.po
  246. * Thu Apr 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  247. - new upstream release
  248. - update ja.po
  249. * Tue Jan 28 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  250. - new upstream release
  251. * Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.91-0vl1
  252. - new upstream release
  253. * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.6-0vl2
  254. - add updated ja.po
  255. * Thu Jan 9 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.6-0vl1
  256. - new upstream release
  257. * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  258. - new upstream release
  259. - build for Vine Linux
  260. * Thu Aug 15 2002 Owen Taylor <otaylor@redhat.com>
  261. - Add missing bonobo server files (#71261, Taco Witte)
  262. - Remove empty NEWS, FAQ files from %%doc (#66079)
  263. * Thu Aug 1 2002 Havoc Pennington <hp@redhat.com>
  264. - fix desktop file really
  265. * Thu Aug 1 2002 Havoc Pennington <hp@redhat.com>
  266. - fix desktop file
  267. * Mon Jul 29 2002 Havoc Pennington <hp@redhat.com>
  268. - 2.0.2
  269. - build with new gail
  270. * Tue Jul 23 2002 Havoc Pennington <hp@redhat.com>
  271. - 2.0.1
  272. * Tue Jun 25 2002 Owen Taylor <otaylor@redhat.com>
  273. - 2.0.0, fix missing locale files
  274. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  275. - 1.199.0
  276. - use desktop-file-install
  277. - remove static libs from plugins dir
  278. * Sat Jun 08 2002 Havoc Pennington <hp@redhat.com>
  279. - rebuild in different environment
  280. * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
  281. - 1.121.1
  282. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  283. - automated rebuild
  284. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  285. - rebuild in different environment
  286. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  287. - 1.120.0
  288. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  289. - 1.118.0
  290. * Fri Apr 19 2002 Havoc Pennington <hp@redhat.com>
  291. - move to gnome 2 version
  292. * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
  293. - fix ko.po
  294. * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
  295. - get correct po files from elvis
  296. * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
  297. - gedit-pofiles.tar.gz, not gedit-po.tar.gz
  298. * Mon Apr 15 2002 Havoc Pennington <hp@redhat.com>
  299. - merge translations
  300. * Fri Mar 29 2002 Havoc Pennington <hp@redhat.com>
  301. - gettextize default font
  302. * Thu Mar 28 2002 Havoc Pennington <hp@redhat.com>
  303. - more multibyte fixes #61948
  304. * Wed Mar 27 2002 Havoc Pennington <hp@redhat.com>
  305. - 0.9.7 for multibyte support
  306. * Tue Mar 26 2002 Akira TAGOH <tagoh@redhat.com> 0.9.4-11
  307. - gedit-0.9.4-printprefs.patch: I forgot to add to POTFILES.in...
  308. - gedit-po.tar.gz: added. it's on CVS now.
  309. * Sun Mar 24 2002 Akira TAGOH <tagoh@redhat.com> 0.9.4-10
  310. - gedit-0.9.4-printprefs.patch: fix typo and sanity check.
  311. * Mon Mar 04 2002 Akira TAGOH <tagoh@redhat.com> 0.9.4-9
  312. - Applied a font selector patch for the printing
  313. - fix BuildRequires for automake-1.4
  314. * Mon Jan 28 2002 Havoc Pennington <hp@redhat.com>
  315. - rebuild in rawhide
  316. - fix up cflags for moved gnome headers
  317. * Thu Jul 19 2001 Havoc Pennington <hp@redhat.com>
  318. - add some more build requires
  319. * Tue Jul 17 2001 Havoc Pennington <hp@redhat.com>
  320. - require libglade-devel to build
  321. * Fri Jun 15 2001 Nalin Dahyabhai <nalin@redhat.com>
  322. - rebuild in new environment
  323. * Fri Feb 23 2001 Akira TAGOH <tagoh@redhat.com>
  324. - Fixed preview for !ja locale.
  325. * Wed Feb 07 2001 Akira TAGOH <tagoh@redhat.com>
  326. - Fixed handling fontset. (Bug#24998)
  327. - Added print out for multibyte patch.
  328. * Fri Dec 29 2000 Matt Wilson <msw@redhat.com>
  329. - 0.9.4
  330. * Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com>
  331. - Up Epoch and release
  332. * Wed Aug 09 2000 Jonathan Blandford <jrb@redhat.com>
  333. - include glade files so that it will actually work.
  334. * Tue Aug 01 2000 Jonathan Blandford <jrb@redhat.com>
  335. - upgrade package to newer version at request of author.
  336. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  337. - automatic rebuild
  338. * Mon Jun 19 2000 Preston Brown <pbrown@redhat.com>
  339. - FHS paths
  340. * Sun Jun 11 2000 Jonathan Blandford <jrb@redhat.com>
  341. - update to 0.7.9. Somewhat untested.
  342. * Fri Feb 11 2000 Jonathan Blandford <jrb@redhat.com>
  343. - removed "reverse search function as it doesn't work.
  344. * Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
  345. - rebuild to gzip man pages
  346. * Mon Jan 17 2000 Elliot Lee <sopwith@redhat.com>
  347. - If I don't put in a log entry here, people will be very upset about not
  348. being able to find out that I am to blame for the 0.6.1 upgrade
  349. * Mon Aug 16 1999 Michael Fulbright <drmike@redhat.com>
  350. - version 0.5.4
  351. * Sat Feb 06 1999 Michael Johnson <johnsonm@redhat.com>
  352. - Cleaned up a bit for Red Hat use
  353. * Thu Oct 22 1998 Alex Roberts <bse@dial.pipex.com>
  354. - First try at an RPM