chmlib-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Summary: Library for dealing with Microsoft ITSS/CHM format files
  2. Summary(ja): Microsoft ITSS/CHM 形式を扱うライブラリ
  3. Name: chmlib
  4. Version: 0.40
  5. Release: 3%{?_dist_release}
  6. License: LGPL
  7. Group: System Environment/Libraries
  8. URL: http://www.jedrea.com/chmlib/
  9. Source: http://www.jedrea.com/chmlib/%{name}-%{version}.tar.bz2
  10. Patch0: chmlib-chm_lib-fix_for_multiarch.diff
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: inagaki, shaolin
  15. %description
  16. chmlib is a library for dealing with Microsoft ITSS/CHM format files.
  17. %description -l ja
  18. chmlib は Microsoft ITSS/CHM 形式を扱うライブラリです
  19. %package devel
  20. Summary: Header files, libraries and development documentation for %{name}
  21. Summary(ja): %{name} を用いた開発のためのファイルと文書
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. %description devel
  25. This package contains the header files, static libraries and development
  26. documentation for %{name}. If you like to develop programs using %{name},
  27. you will need to install %{name}-devel.
  28. %description devel -l ja
  29. このパッケージは、%{name} のヘッダファイル、静的ライブラリ、開発用文書
  30. を含みます。%{name} を用いてプログラム開発をしたい場合は、このパッケー
  31. ジをインストールします。
  32. %prep
  33. %setup -q
  34. %patch0 -p0
  35. %build
  36. %configure --disable-static
  37. make %{?_smp_mflags}
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. make install DESTDIR=$RPM_BUILD_ROOT
  41. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %post -p /sbin/ldconfig
  45. %postun -p /sbin/ldconfig
  46. %files
  47. %defattr(-, root, root)
  48. %doc AUTHORS COPYING NEWS README
  49. %{_libdir}/*.so.*
  50. %files devel
  51. %defattr(-, root, root)
  52. %doc ChmLib-ds6.zip
  53. %{_libdir}/*.so
  54. %{_includedir}/*.h
  55. %changelog
  56. * Sun Jan 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.40-3
  57. - rebuilt on current VineSeed
  58. * Mon Oct 12 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.40-2
  59. - import Patch0 from Fedora: Better fix for multi-arch issues
  60. * Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.40-1
  61. - built for Vine Linux 5.0+ (based on VinePlus/3.0 package)
  62. - new upstream release
  63. - applied new versioning policy, spec in UTF-8
  64. - removed lib*.la, lib*.a files from devel package
  65. * Sat Mar 19 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  66. - Initial package.