pcre-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. Name: pcre
  2. Summary: Perl-compatible regular expression library
  3. Summary(ja): Perl 互換の正規表現ライブラリ
  4. Version: 8.01
  5. Release: 1%{?_dist_release}
  6. URL: http://www.pcre.org/
  7. Source:ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2
  8. License: BSD
  9. Group: System Environment/Libraries
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: zlib-devel
  12. BuildRequires: bzip2-devel
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: inagaki
  16. %description
  17. Perl-compatible regular expression library.
  18. PCRE has its own native API, but a set of "wrapper" functions that are based on
  19. the POSIX API are also supplied in the library libpcreposix. Note that this
  20. just provides a POSIX calling interface to PCRE: the regular expressions
  21. themselves still follow Perl syntax and semantics. The header file
  22. for the POSIX-style functions is called pcreposix.h.
  23. %package devel
  24. Summary: Development files for %{name}
  25. Summary(ja): %{name} の開発用ファイル
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. %description devel
  29. Development files (Headers, libraries for static linking, etc) for %{name}.
  30. %prep
  31. %setup -q
  32. %build
  33. %configure --includedir=%{_includedir}/%{name} \
  34. --disable-static \
  35. --enable-utf8 \
  36. --enable-unicode-properties \
  37. --enable-pcregrep-libz \
  38. --enable-pcregrep-libbz2
  39. make
  40. %ifnarch alpha
  41. make check
  42. %endif
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make install DESTDIR=$RPM_BUILD_ROOT
  46. rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
  47. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %files
  53. %defattr(-,root,root)
  54. %doc AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS README
  55. %{_bindir}/pcregrep
  56. %{_libdir}/*.so.*
  57. %{_mandir}/man1/pcregrep.*
  58. %files devel
  59. %defattr(-,root,root)
  60. %doc doc/html/*
  61. %{_bindir}/pcre-config
  62. %{_bindir}/pcretest
  63. %{_includedir}/*
  64. %{_libdir}/*.so
  65. #{_libdir}/*.la
  66. #{_libdir}/*.a
  67. %{_libdir}/pkgconfig/*.pc
  68. %{_mandir}/man1/pcre-config.*
  69. %{_mandir}/man1/pcretest.*
  70. %{_mandir}/man3/*
  71. %changelog
  72. * Sat Feb 6 2010 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 8.01-1
  73. - new upstream release
  74. * Sat Jan 16 2010 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 8.00-1
  75. - new upstream release
  76. * Tue Jul 07 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.9-2
  77. - add --enable-unicode-properties to configure option
  78. * Wed Jun 10 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 7.9-1
  79. - new upstream release
  80. - added BR: zlib-devel, bzip2-devel
  81. - removed static libraries from devel package
  82. - added Packager tag
  83. * Sat Jan 24 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 7.8-1vl5
  84. - new upstream release
  85. - spec in UTF-8
  86. * Sun Jul 6 2008 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 7.7-1vl5
  87. - new upstream release
  88. * Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.6-1vl5
  89. - use macro for Release
  90. * Fri May 09 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.6-1vl5
  91. - apply new virsioning policy.
  92. - remove *.la
  93. * Thu Feb 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.6-0vl1
  94. - new upstream release
  95. * Wed Nov 7 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 7.4-0vl1
  96. - new upstream release
  97. * Sun Aug 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.2-0vl1
  98. - new upstream release
  99. * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 6.6-0vl2
  100. - rebuild with new environment/toolchain
  101. * Wed Feb 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.6-0vl1
  102. - new upstream release
  103. * Mon Sep 5 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.3-0vl2
  104. - added --enable-utf8 option
  105. * Sun Sep 4 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.3-0vl1
  106. - new upstream release
  107. * Thu Jan 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.0-0vl1
  108. - new upstream release
  109. - added Japanese summary
  110. * Sun Apr 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5-0vl1
  111. - new upstream release
  112. * Mon Oct 13 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4-0vl1
  113. - new upstream release
  114. * Mon May 5 2003 Tomoya TAKA <taka@vinelinux.org> 4.1-0vl3
  115. - skip 'make check' on alpha
  116. * Fri Mar 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.1-0vl2
  117. - change install section
  118. - change files section
  119. * Fri Mar 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.1-0vl1
  120. - update to 4.1
  121. - add %{_bindir}/pcretest
  122. - add %doc AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS README
  123. * Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.9-0vl2
  124. - rebuild with new toolchains
  125. * Sat Mar 16 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.9-0vl1
  126. - Update to 3.9
  127. * Wed Dec 26 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.7-0vl1
  128. - Update to 3.7
  129. * Sun Oct 14 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.5-0vl1
  130. - Update to 3.5
  131. * Wed Oct 10 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.4-2vl1
  132. - Build for VineSeed
  133. * Thu May 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.4-2
  134. - Move libpcre to /lib, grep uses it these days (#41104)
  135. * Wed Apr 18 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  136. - Move this to a separate package, used to be in kdesupport, but it's
  137. generally useful...