darts-vl.spec 2.1 KB

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