gtkhtml4-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. %define gtkhtml_major 4.0
  2. Summary: gtkhtml version 4 library
  3. Summary(ja): gtkhtml バージョン4 ライブラリ
  4. Name: gtkhtml4
  5. Version: 4.4.0
  6. Release: 1%{?_dist_release}
  7. License: LGPL/GPL
  8. Group: System Environment/Libraries
  9. Source: ftp://ftp.gnome.org/pub/gnome/sources/gtkhtml/4.4/gtkhtml-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk3-devel >= 3.0.0
  12. BuildRequires: GConf2-devel
  13. BuildRequires: libsoup-devel >= 2.30.0
  14. BuildRequires: enchant-devel
  15. BuildRequires: iso-codes
  16. BuildRequires: perl-XML-Parser
  17. BuildRequires: libtool, gettext
  18. BuildRequires: gnome-icon-theme >= 2.30.0
  19. BuildRequires: gsettings-desktop-schemas-devel
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. %description
  23. GtkHTML is a lightweight HTML rendering/printing/editing engine. It
  24. was originally based on KHTMLW, but is now being developed
  25. independently of it.
  26. %description -l ja
  27. GtkHTML は軽量な HTML レンダリング/印刷/エディットエンジンです。元もとは
  28. KHTMLW をベースとしていますが、現在は独立して開発されています。
  29. %package devel
  30. Summary: Libraries, includes, etc to develop gtkhtml applications
  31. Summary(ja): gtkhtml アプリケーションの開発に必要なライブラリおよびヘッダファイル
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. Requires: gtk3-devel >= 3.0.0
  35. Requires: GConf2-devel
  36. Requires: enchant-devel
  37. Requires: iso-codes
  38. %description devel
  39. Libraries and include files that can be used to develop GtkHTML applications.
  40. %description -l ja devel
  41. GtkHTML アプリケーションを開発するために必要なライブラリやヘッダファイルが
  42. 収録されています。
  43. %prep
  44. %setup -q -n gtkhtml-%{version}
  45. %build
  46. %configure
  47. export tagname=CC
  48. make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool CFLAGS="$CFLAGS $RPM_OPT_FLAGS"
  49. %install
  50. rm -rf $RPM_BUILD_ROOT
  51. export tagname=CC
  52. %makeinstall LIBTOOL=/usr/bin/libtool
  53. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  54. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
  55. %find_lang gtkhtml-%{gtkhtml_major}
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %post -p /sbin/ldconfig
  59. %postun -p /sbin/ldconfig
  60. %files -f gtkhtml-%{gtkhtml_major}.lang
  61. %defattr(-, root, root)
  62. %doc AUTHORS ChangeLog NEWS README COPYING TODO
  63. %{_bindir}/gtkhtml-editor-test
  64. %{_libdir}/*.so.*
  65. %{_datadir}/gtkhtml-%{gtkhtml_major}
  66. %files devel
  67. %defattr(-, root, root)
  68. %{_includedir}/libgtkhtml-%{gtkhtml_major}
  69. %{_libdir}/*.so
  70. %{_libdir}/pkgconfig/*.pc
  71. %changelog
  72. * Wed Apr 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.4.0-1
  73. - new upstream release
  74. * Sat Jan 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.2.3-1
  75. - new upstream release
  76. * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.2.2-1
  77. - new upstream release
  78. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.2.1-1
  79. - new upstream release
  80. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.2.0-1
  81. - new upstream release
  82. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.1.90.1-1
  83. - new upstream release
  84. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.1.4-1
  85. - initial build for Vine Linux