gtksourceview3-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. %define glib2_version 2.48.0
  2. %define gtk3_version 3.20.0
  3. %define po_package gtksourceview-3.0
  4. Summary: A library for viewing source files
  5. Summary(ja): ソースコードなどを表示するためのライブラリ
  6. Name: gtksourceview3
  7. Version: 3.20.4
  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/3.20/gtksourceview-%{version}.tar.xz
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: glib2-devel >= %{glib2_version}
  16. BuildRequires: gtk3-devel >= %{gtk3_version}
  17. BuildRequires: libxml2-devel
  18. BuildRequires: intltool >= 0.35
  19. BuildRequires: gettext
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi
  23. %description
  24. GtkSourceView is a text widget that extends the standard GTK+
  25. GtkTextView widget. It improves GtkTextView by implementing
  26. syntax highlighting and other features typical of a source code editor.
  27. This package contains version 2 of GtkSourceView. The older version
  28. 1 is contains in the gtksourceview package.
  29. %package devel
  30. Summary: Files to compile applications that use gtksourceview2
  31. Summary(ja): gtksourceview2 を使用するアプリケーションのコンパイルに必要なファイル
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. Requires: gtk3-devel >= %{gtk3_version}
  35. Requires: libxml2-devel
  36. Requires: pkgconfig
  37. %description devel
  38. gtksourceview2-devel contains the files required to compile
  39. applications which use GtkSourceView 2.x.
  40. %prep
  41. %setup -q -n gtksourceview-%{version}
  42. %build
  43. %configure --disable-gtk-doc --disable-static
  44. make %{?_smp_mflags}
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. make install DESTDIR=$RPM_BUILD_ROOT
  48. # remove unwanted files
  49. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  50. rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-3.0/language-specs/check.sh
  51. rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-3.0/language-specs/convert.py
  52. %find_lang %{po_package}
  53. %post -p /sbin/ldconfig
  54. %postun -p /sbin/ldconfig
  55. %clean
  56. rm -rf $RPM_BUILD_ROOT
  57. %files -f %{po_package}.lang
  58. %defattr(-,root,root,-)
  59. %doc README AUTHORS COPYING NEWS MAINTAINERS
  60. %{_libdir}/*.so.*
  61. %{_libdir}/girepository-1.0/*.typelib
  62. %{_datadir}/gtksourceview-3.0
  63. %files devel
  64. %defattr(-,root,root,-)
  65. %{_includedir}/gtksourceview-3.0
  66. %{_libdir}/pkgconfig/*.pc
  67. %{_libdir}/*.so
  68. %{_datadir}/gir-1.0/*.gir
  69. %{_datadir}/gtk-doc
  70. %changelog
  71. * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.4-1
  72. - new upstream release
  73. * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.4-1
  74. - new upstream release
  75. * Sun Jan 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
  76. - new upstream release
  77. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  78. - new upstream release
  79. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  80. - new upstream release
  81. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  82. - new upstream release
  83. * Mon Jan 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1
  84. - new upstream release
  85. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  86. - new upstream release
  87. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  88. - new upstream release
  89. * Sun Aug 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.3-1
  90. - new upstream release
  91. * Fri May 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  92. - new upstream release
  93. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  94. - new upstream release
  95. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  96. - new upstream release
  97. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  98. - rebuild with VineSeed environment
  99. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  100. - new upstream release
  101. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  102. - new upstream release
  103. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  104. - new upstream release
  105. * Tue Nov 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  106. - new upstream release
  107. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  108. - new upstream release
  109. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  110. - new upstream release
  111. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  112. - new upstream release
  113. * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.3-1
  114. - new upstream release
  115. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  116. - new upstream release
  117. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  118. - new upstream release
  119. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.6-1
  120. - new upstream release
  121. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1
  122. - initial build for Vine Linux