darts-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Summary: Double ARray Trie System
  2. Summary(ja): Double-Array を構築するためのライブラリ
  3. Name: darts
  4. Version: 0.32
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2
  8. URL: http://chasen.org/~taku/software/darts/
  9. Source: %{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gcc-c++
  12. BuildRequires: zlib-devel
  13. %description
  14. Double ARray Trie System
  15. %description -l ja
  16. Double-Array を構築するためのライブラリです。
  17. %package devel
  18. Summary: Header files for darts developers.
  19. Group: Development/Libraries
  20. Requires: %{name} = %{version}-%{release}
  21. Requires: zlib-devel
  22. %description devel
  23. Header files for darts developers.
  24. %prep
  25. %setup -q
  26. %build
  27. %configure --with-zlib
  28. make CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
  29. %install
  30. [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
  31. %makeinstall
  32. %clean
  33. [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
  34. %post -p /sbin/ldconfig
  35. %postun -p /sbin/ldconfig
  36. %files
  37. %defattr(-, root, root)
  38. %doc AUTHORS ChangeLog COPYING LGPL README
  39. %doc doc/*.html doc/*.css
  40. %{_libexecdir}/darts/*
  41. %files devel
  42. %defattr(-, root, root)
  43. %{_includedir}/darts.h
  44. %changelog
  45. * Wed Apr 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.32-2
  46. - rebuilt with current VineSeed
  47. * Sun Jun 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.32-1
  48. - new upstream release
  49. - spec in UTF-8
  50. * Sat May 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.31-1
  51. - applied new versioning policy
  52. - changed Group to System Environment/Libraries
  53. * Sat May 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.31-0vl1
  54. - new upstream release
  55. - rebuilt with new toolchain
  56. * Mon Dec 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2-0vl3
  57. - changed devel package Group:
  58. - use better macros
  59. * Tue May 11 2004 Satoshi MACHINO <machino@vinelinux.org> 0.2-0vl2
  60. - separeted devel sub-package
  61. * Sun May 09 2004 Satoshi MACHINO <machino@vinelinux.org> 0.2-0vl1
  62. - initial release