gtksourceview2-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. %define glib2_version 2.26.0
  2. %define gtk2_version 2.22.0
  3. %define po_package gtksourceview-2.0
  4. Summary: A library for viewing source files
  5. Summary(ja): ソースコードなどを表示するためのライブラリ
  6. Name: gtksourceview2
  7. Version: 2.10.5
  8. Release: 1%{?_dist_release}
  9. License: LGPLv2+ and GPLv2+
  10. # the library itself is LGPL, some .lang files are GPL
  11. Group: System Environment/Libraries
  12. URL: http://gtksourceview.sourceforge.net/
  13. Source0: http://download.gnome.org/sources/gtksourceview/2.10/gtksourceview-%{version}.tar.bz2
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: glib2-devel >= %{glib2_version}
  16. BuildRequires: gtk2-devel >= %{gtk2_version}
  17. BuildRequires: libxml2-devel
  18. BuildRequires: intltool >= 0.35
  19. BuildRequires: gettext
  20. %description
  21. GtkSourceView is a text widget that extends the standard GTK+
  22. GtkTextView widget. It improves GtkTextView by implementing
  23. syntax highlighting and other features typical of a source code editor.
  24. This package contains version 2 of GtkSourceView. The older version
  25. 1 is contains in the gtksourceview package.
  26. %package devel
  27. Summary: Files to compile applications that use gtksourceview2
  28. Summary(ja): gtksourceview2 を使用するアプリケーションのコンパイルに必要なファイル
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}
  31. Requires: gtk2-devel >= %{gtk2_version}
  32. Requires: libxml2-devel
  33. Requires: pkgconfig
  34. %description devel
  35. gtksourceview2-devel contains the files required to compile
  36. applications which use GtkSourceView 2.x.
  37. %prep
  38. %setup -q -n gtksourceview-%{version}
  39. %build
  40. %configure --disable-gtk-doc --disable-static
  41. make %{?_smp_mflags}
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. make install DESTDIR=$RPM_BUILD_ROOT
  45. # remove unwanted files
  46. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  47. rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0/language-specs/check.sh
  48. rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0/language-specs/convert.py
  49. %find_lang %{po_package}
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %files -f %{po_package}.lang
  55. %defattr(-,root,root,-)
  56. %doc README AUTHORS COPYING NEWS MAINTAINERS
  57. %{_datadir}/gtksourceview-2.0
  58. %{_libdir}/*.so.*
  59. %files devel
  60. %defattr(-,root,root,-)
  61. %{_includedir}/gtksourceview-2.0
  62. %{_datadir}/gtk-doc
  63. %{_libdir}/pkgconfig/*.pc
  64. %{_libdir}/*.so
  65. %changelog
  66. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.5-1
  67. - new upstream release
  68. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.10.4-2
  69. - build with rpm-4.8.1-1 for pkg-config file
  70. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.4-1
  71. - new upstream release
  72. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.1-1
  73. - new upstream release
  74. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.0-1
  75. - new upstream release
  76. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.2-1
  77. - new upstream release
  78. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-1
  79. - new upstream release
  80. - removed BR: gnome-vfs2-devel
  81. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.2-1
  82. - new upstream release
  83. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-1
  84. - new upstream release
  85. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.0-1
  86. - new upstream release
  87. * Thu Sep 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-1
  88. - new upstream release
  89. * Mon Jul 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.2-1
  90. - new upstream release
  91. * Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.1-1vl5
  92. - Initial build for Vine Linux
  93. * Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> - 2.2.1-1
  94. - Update to 2.2.1
  95. * Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 2.2.0-1
  96. - Update to 2.2.0
  97. * Mon Feb 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.1.3-1
  98. - Update to 2.1.3
  99. * Wed Feb 6 2008 Matthias Clasen <mclasen@redhat.com> - 2.1.2-1
  100. - Update to 2.1.2
  101. * Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> - 2.1.1-1
  102. - Update to 2.1.1
  103. * Mon Jan 14 2008 Matthias Clasen <mclasen@redhat.com> - 2.1.0-1
  104. - Update to 2.1.0
  105. * Mon Nov 26 2007 Matthias Clasen <mclasen@redhat.com> - 2.0.2-1
  106. - Update to 2.0.2
  107. * Mon Nov 12 2007 Matthias Clasen <mclasen@redhat.com> - 2.0.1-1
  108. - Update to 2.0.1
  109. * Mon Sep 17 2007 Matthias Clasen <mclasen@redhat.com> - 2.0.0-1
  110. - Update to 2.0.0
  111. * Tue Sep 11 2007 Matthew Barnes <mbarnes@redhat.com> - 1.90.5-1
  112. - Update to 1.90.5
  113. * Tue Sep 4 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.4-1
  114. - Update to 1.90.4
  115. * Tue Aug 7 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.3-2
  116. - Update license field
  117. * Wed Aug 1 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.3-1
  118. - Update to 1.90.3
  119. * Tue Jul 10 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.2-1
  120. - Update to 1.90.2
  121. * Mon Jul 2 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.1-4
  122. - More package review feedback:
  123. + don't ship check.sh and convert.py scripts
  124. + use GRegex from glib
  125. * Fri Jun 29 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.1-3
  126. - Package review feedback
  127. * Wed Jun 27 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.1-2
  128. - New package for GtkSourceView 2.x, based on gtksourceview