pangox-compat-vl.spec 3.1 KB

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