darts-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Summary: Double ARray Trie System
  2. Summary(ja): Double-Array を構築するためのライブラリ
  3. Name: darts
  4. Version: 0.32
  5. Release: 1%{?_dist_release}
  6. License: LGPL
  7. Group: System Environment/Libraries
  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. * Sun Jun 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.32-1
  46. - new upstream release
  47. - spec in UTF-8
  48. * Sat May 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.31-1
  49. - applied new versioning policy
  50. - changed Group to System Environment/Libraries
  51. * Sat May 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.31-0vl1
  52. - new upstream release
  53. - rebuilt with new toolchain
  54. * Mon Dec 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2-0vl3
  55. - changed devel package Group:
  56. - use better macros
  57. * Tue May 11 2004 Satoshi MACHINO <machino@vinelinux.org> 0.2-0vl2
  58. - separeted devel sub-package
  59. * Sun May 09 2004 Satoshi MACHINO <machino@vinelinux.org> 0.2-0vl1
  60. - initial release