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