gtksourceview3-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. %define glib2_version 2.34.0
  2. %define gtk3_version 3.6.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.6.1
  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.6/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. * Tue Nov 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  72. - new upstream release
  73. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  74. - new upstream release
  75. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  76. - new upstream release
  77. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  78. - new upstream release
  79. * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.3-1
  80. - new upstream release
  81. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  82. - new upstream release
  83. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  84. - new upstream release
  85. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.6-1
  86. - new upstream release
  87. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1
  88. - initial build for Vine Linux