[6890] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Summary: X Window System font support for Pango |
---|
| 4 | Name: pangox-compat |
---|
[6951] | 5 | Version: 0.0.2 |
---|
[8084] | 6 | Release: 2%{?_dist_release} |
---|
[6890] | 7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.0//%{name}-%{version}.tar.xz |
---|
| 8 | License: GPLv2 |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | URL: http://ftp.gnome.org/pub/GNOME/sources/pangox-compat/ |
---|
| 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | BuildRequires: pango-devel |
---|
| 15 | BuildRequires: glib2-devel |
---|
[6951] | 16 | BuildRequires: libSM-devel |
---|
[6890] | 17 | |
---|
| 18 | Vendor: Project Vine |
---|
| 19 | Distribution: Vine Linux |
---|
| 20 | Packager: Takemikaduchi |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | This is a compatibility library providing the obsolete pangox library |
---|
| 25 | that is not shipped by Pango itself anymore. If you are still using |
---|
| 26 | pangox, well, really, get a life... |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | %package devel |
---|
| 30 | Summary: Development tools for %{name} |
---|
| 31 | Summary(ja): %{name} の開発環境 |
---|
| 32 | Group: Development/Libraries |
---|
| 33 | Requires: %{name} = %{version}-%{release} |
---|
| 34 | Requires: pkgconfig |
---|
| 35 | |
---|
| 36 | %description devel |
---|
| 37 | Header files and libraries for building a extension library for the |
---|
| 38 | %{name}. |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | # compat32 |
---|
| 42 | %package -n compat32-%{name} |
---|
| 43 | Summary: Double-Array Trie Library |
---|
| 44 | Group: System Environment/Libraries |
---|
| 45 | Requires: %{name} = %{version}-%{release} |
---|
| 46 | |
---|
| 47 | %description -n compat32-%{name} |
---|
| 48 | This is an implementation of double-array structure for representing trie, |
---|
| 49 | as proposed by Junichi Aoe. |
---|
| 50 | |
---|
| 51 | Trie is a kind of digital search tree, an efficient indexing method with |
---|
| 52 | O(1) time complexity for searching. Comparably as efficient as hashing, |
---|
| 53 | trie also provides flexibility on incremental matching and key spelling |
---|
| 54 | manipulation. This makes it ideal for lexical analyzers, as well as spelling |
---|
| 55 | dictionaries. |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %package -n compat32-%{name}-devel |
---|
| 59 | Summary: Development tools for %{name} |
---|
| 60 | Summary(ja): %{name} の開発環境 |
---|
| 61 | Group: Development/Libraries |
---|
| 62 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 63 | Requires: pkgconfig |
---|
| 64 | |
---|
| 65 | %description -n compat32-%{name}-devel |
---|
| 66 | Header files and libraries for building a extension library for the |
---|
| 67 | %{name}. |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | %prep |
---|
| 71 | %setup -q |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | %build |
---|
| 75 | %configure \ |
---|
| 76 | --disable-static |
---|
| 77 | |
---|
| 78 | %{__make} %{?_smp_mflags} |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %install |
---|
| 82 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 83 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 84 | |
---|
| 85 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 86 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | %clean |
---|
| 90 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 91 | |
---|
| 92 | %post -p /sbin/ldconfig |
---|
| 93 | |
---|
| 94 | %postun -p /sbin/ldconfig |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | %files |
---|
| 98 | %defattr(-,root,root,-) |
---|
| 99 | %doc COPYING ChangeLog NEWS README |
---|
| 100 | %{_sysconfdir}/pango/pangox.aliases |
---|
| 101 | %{_libdir}/libpangox-1.0.so.* |
---|
| 102 | |
---|
| 103 | %files devel |
---|
| 104 | %defattr(-,root,root,-) |
---|
| 105 | %{_includedir}/pango-1.0 |
---|
| 106 | %{_libdir}/libpangox-1.0.so |
---|
| 107 | %{_libdir}/pkgconfig/pangox.pc |
---|
| 108 | |
---|
| 109 | %if %{build_compat32} |
---|
| 110 | %files -n compat32-%{name} |
---|
| 111 | %defattr(-, root, root,-) |
---|
| 112 | %{_libdir}/libpangox-1.0.so.* |
---|
| 113 | |
---|
| 114 | %files -n compat32-%{name}-devel |
---|
| 115 | %defattr(-, root, root,-) |
---|
| 116 | %{_libdir}/libpangox-1.0.so |
---|
| 117 | %endif |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | %changelog |
---|
[8084] | 121 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.2-2 |
---|
| 122 | - rebuild with VineSeed environment |
---|
| 123 | |
---|
[6951] | 124 | * Thu Oct 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.2-1 |
---|
| 125 | - new upstream release |
---|
| 126 | - add BuildRequires: libSM-devel |
---|
| 127 | |
---|
[6890] | 128 | * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.1-1 |
---|
| 129 | - initial build |
---|
| 130 | |
---|