|
@@ -1,12 +1,14 @@
|
|
|
Name: pcre
|
|
|
Summary: Perl-compatible regular expression library
|
|
|
Summary(ja): Perl 互換の正規表現ライブラリ
|
|
|
-Version: 8.02
|
|
|
+Version: 8.10
|
|
|
Release: 1%{?_dist_release}
|
|
|
-URL: http://www.pcre.org/
|
|
|
-Source:ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2
|
|
|
+
|
|
|
License: BSD
|
|
|
Group: System Environment/Libraries
|
|
|
+URL: http://www.pcre.org/
|
|
|
+
|
|
|
+Source:ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: zlib-devel
|
|
@@ -46,9 +48,6 @@ Development files (Headers, libraries for static linking, etc) for %{name}.
|
|
|
--enable-pcregrep-libbz2
|
|
|
|
|
|
make
|
|
|
-%ifnarch alpha
|
|
|
-make check
|
|
|
-%endif
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -57,16 +56,20 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
|
|
|
|
+%check
|
|
|
+make check
|
|
|
+
|
|
|
+%clean
|
|
|
+rm -rf $RPM_BUILD_ROOT
|
|
|
+
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
-%clean
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
-%doc AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS README
|
|
|
+%doc AUTHORS COPYING ChangeLog LICENCE NEWS README
|
|
|
%{_bindir}/pcregrep
|
|
|
%{_libdir}/*.so.*
|
|
|
%{_mandir}/man1/pcregrep.*
|
|
@@ -79,13 +82,15 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_includedir}/*
|
|
|
%{_libdir}/*.so
|
|
|
#{_libdir}/*.la
|
|
|
-#{_libdir}/*.a
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
%{_mandir}/man1/pcre-config.*
|
|
|
%{_mandir}/man1/pcretest.*
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Aug 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.10-1
|
|
|
+- new upstream release
|
|
|
+
|
|
|
* Mon May 10 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 8.02-1
|
|
|
- new upstream release with security fix
|
|
|
|