Name: pcre Version: 7.4 Release: 1 Summary: Perl-compatible regular expression library 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildPrereq: sed %description Perl-compatible regular expression library. PCRE has its own native API, but a set of "wrapper" functions that are based on the POSIX API are also supplied in the library libpcreposix. Note that this just provides a POSIX calling interface to PCRE: the regular expressions themselves still follow Perl syntax and semantics. The header file for the POSIX-style functions is called pcreposix.h. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Development files (Headers, libraries for static linking, etc) for %{name}. %prep %setup -q %build ./configure \ --prefix=%{_prefix} \ --mandir=%{_prefix}/man \ --enable-utf8 \ --enable-unicode-properties make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,system) %doc AUTHORS LICENCE README %{_bindir}/pcregrep %{_bindir}/pcretest %{_libdir}/*.a %{_mandir}/man1/pcregrep.1 %{_mandir}/man1/pcretest.1 %files devel %defattr(-,root,system) %{_bindir}/pcre-config %{_libdir}/*.la %{_libdir}/pkgconfig/* %{_includedir}/*.h %{_mandir}/man1/pcre-config.1 %{_mandir}/man3/* %changelog * Thu Oct 18 2007 Michael Perzl - 7.4-1 - first version for AIX V5.1 and higher