gtksourceview-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. %define gtk2_version 2.10.0
  2. %define libgnomeprint_version 2.18.0
  3. %define libxml2_version 2.6.0
  4. %define po_package gtksourceview-1.0
  5. Summary: A library for viewing source files
  6. Summary(ja): ソースファイルを閲覧するためのライブラリ
  7. Name: gtksourceview
  8. Version: 1.8.5
  9. Release: 2%{?_dist_release}
  10. License: LGPL
  11. Group: System Environment/Libraries
  12. URL: http://www.gnome.org/softwaremap/projects/gtksourceview/
  13. Source0: %{name}-%{version}.tar.bz2
  14. Patch0: use-gnu.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: libgnomeprint-devel >= %{libgnomeprint_version}
  17. BuildRequires: gnome-vfs2-devel
  18. BuildRequires: libxml2-devel >= %{libxml2_version}
  19. BuildRequires: gtk2-devel >= %{gtk2_version}
  20. %description
  21. A library for viewing source code files with.
  22. %description -l ja
  23. gtksourceview はソースコードファイルを閲覧するためのライブラリです。
  24. %package devel
  25. Summary: Files to compile applications that use gtksourceview
  26. Summary(ja): gtksourceview を使うアプリケーションの開発に必要なファイル集
  27. Group: Development/Libraries
  28. Requires: %name = %{version}
  29. Requires: gtk2-devel >= %{gtk2_version}
  30. Requires: libgnomeprint-devel >= %{libgnomeprint_version}
  31. Requires: libxml2-devel >= %{libxml2_version}
  32. %description devel
  33. gtksourceview-devel contains the files required to compile applications against the gtksourceview libraries.
  34. %prep
  35. %setup -q
  36. %patch0 -p1 -b .use-gnu
  37. %build
  38. %configure --disable-static
  39. make %{?_smp_mflags}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. %makeinstall
  43. #remove unwanted packages
  44. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  45. %find_lang %{po_package}
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %files -f %{po_package}.lang
  51. %defattr(-,root,root,-)
  52. %doc
  53. %{_datadir}/gtksourceview-1.0
  54. %{_libdir}/*.so.*
  55. %files devel
  56. %defattr(-,root,root,-)
  57. %{_includedir}/gtksourceview-1.0
  58. %{_datadir}/gtk-doc/html/gtksourceview
  59. %{_libdir}/pkgconfig/*.pc
  60. %{_libdir}/*.so
  61. %changelog
  62. * Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.5-2
  63. - spec in UTF-8
  64. - added Patch0 from Fedora
  65. * Sun Jun 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.5-1
  66. - apllied new versioning policy
  67. - added BuildRequires: libgnomeprint-devel
  68. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.5-0vl1
  69. - new upstream release
  70. * Tue Sep 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.2-0vl1
  71. - new upstream release
  72. - add Requires: libxml2, libgnomeprint to -devel ([VineSeed:11724])
  73. * Sat Jun 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.1-0vl1
  74. - new upstream release
  75. * Mon Mar 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0-0vl1
  76. - new upstream release
  77. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.7-0vl1
  78. - new upstream release
  79. * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl1
  80. - new upstream release
  81. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-0vl1
  82. - new upstream release
  83. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-0vl1
  84. - new upstream version
  85. * Tue Nov 09 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-0vl1
  86. - new upstream release
  87. * Fri Oct 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-0vl1
  88. - new upstream release
  89. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6-0vl1
  90. - build for Vine Linux
  91. - add Japanese summary and descriptions
  92. * Tue Aug 26 2003 Jonathan Blandford <jrb@redhat.com>
  93. - new version
  94. * Mon Aug 25 2003 Jonathan Blandford <jrb@redhat.com>
  95. - try removing the libtool line
  96. * Fri Aug 22 2003 Jonathan Blandford <jrb@redhat.com>
  97. - Libtool fix
  98. * Fri Aug 15 2003 Jonathan Blandford <jrb@redhat.com>
  99. - Initial build.