oniguruma-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. %define srcname onig
  2. %global ver 6.9.5
  3. %global rev rev1
  4. Summary: Oniguruma - A regular expressions library
  5. Summary(ja): 鬼車 - 正規表現ライブラリ
  6. Name: oniguruma
  7. Version: %{ver}%{?rev:.}%{?rev}
  8. Release: 2%{?_dist_release}
  9. License: BSD
  10. Group: system
  11. URL: https://github.com/kkos/oniguruma
  12. Source0: https://github.com/kkos/oniguruma/releases/download/v%{ver}%{?rev:_}%{?rev}/%{srcname}-%{ver}%{?rev:-}%{?rev}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Requires(post): ldconfig
  17. Requires(postun): ldconfig
  18. %description
  19. Oniguruma is a regular expressions library.
  20. The characteristics of this library is that different character encoding
  21. for every regular expression object can be specified.
  22. %description -l ja
  23. 鬼車は正規表現ライブラリです。
  24. このライブラリの特長は、それぞれの正規表現オブジェクトごとに
  25. 異なる文字エンコーディングを指定できることです。
  26. %package devel
  27. Summary: Libraries/include files for Oniguruma
  28. Summary(ja): 鬼車の開発用ファイル
  29. Group: programming
  30. Requires: %{name} = %{version}-%{release}
  31. %description devel
  32. Oniguruma is a regular expressions library.
  33. The characteristics of this library is that different character encoding
  34. for every regular expression object can be specified.
  35. This package contains the libraries and includes files necessary to develop
  36. applications with Oniguruma.
  37. %description -l ja devel
  38. 鬼車は正規表現ライブラリです。
  39. このライブラリの特長は、それぞれの正規表現オブジェクトごとに
  40. 異なる文字エンコーディングを指定できることです。
  41. このパッケージには、鬼車を使ったアプリケーションの開発に必要な
  42. ライブラリ及びヘッダファイルが含まれています。
  43. %prep
  44. %setup -q -n %{srcname}-%{ver}
  45. %build
  46. %configure \
  47. --enable-posix-api \
  48. --disable-silent-rules \
  49. --disable-static
  50. %__make %{?_smp_mflags}
  51. %install
  52. %__rm -rf %{buildroot}
  53. %makeinstall
  54. # remove unneeded files
  55. %__rm -f %{buildroot}%{_libdir}/libonig.a
  56. %__rm -f %{buildroot}%{_libdir}/libonig.la
  57. %clean
  58. %__rm -rf %{buildroot}
  59. %post -p /sbin/ldconfig
  60. %postun -p /sbin/ldconfig
  61. %files
  62. %defattr(-,root,root,-)
  63. %license COPYING
  64. %doc AUTHORS HISTORY README README.ja
  65. %{_libdir}/libonig.so.*
  66. %files devel
  67. %defattr(-,root,root)
  68. %doc doc/*
  69. %{_bindir}/onig-config
  70. %{_libdir}/pkgconfig/oniguruma.pc
  71. %{_libdir}/libonig.so
  72. %{_includedir}/onig*.h
  73. %changelog
  74. * Fri Aug 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.5.rev1-2
  75. - enabled POSIX API.
  76. * Fri Aug 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.5.rev1-1
  77. - new upstream release.
  78. * Wed Dec 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.4-1
  79. - new upstream release.
  80. * Sat Sep 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.3-1
  81. - new upstream release.
  82. * Wed Nov 18 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.6-1
  83. - new upstream release
  84. - changed %%URL, %%Source0
  85. * Sun Jan 26 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 5.9.5-1
  86. - update to 5.9.5
  87. - add pkgconfig file in devel package
  88. * Sat Jan 05 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.3-1
  89. - new upstream release
  90. * Thu Apr 14 2011 IWAI, Masaharu <iwai@alib.jp> 5.9.2-2
  91. - rebuild on current VineSeed
  92. * Tue Jan 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.2-1
  93. - new upstream release
  94. * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.1-1vl5
  95. - new upstream release
  96. - fixed remove unneeded files (added "delete libonig.la")
  97. * Tue Aug 19 2008 Shu KONNO <owa@bg.wakwak.com> 4.7.1-1vl5
  98. - applied new versioning policy, spec in utf-8
  99. - dropt lib*.la
  100. * Tue Sep 04 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.7.1-0vl1
  101. - new upstream release
  102. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.6.1-0vl1
  103. - new upstream release
  104. * Wed Dec 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.5.1-0vl1
  105. - new upstream release
  106. * Thu Nov 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.6-0vl1
  107. - new upstream release
  108. * Fri Sep 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.4-0vl1
  109. - new upstream release
  110. * Wed Aug 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.1-0vl1
  111. - new upstream release
  112. * Mon Aug 21 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.3.0-0vl1
  113. - new upstream release
  114. - fix typo
  115. * Mon Aug 07 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl2
  116. - fix typo
  117. * Fri Aug 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl1
  118. - initial build