File pme.spec of Package pme
Name: pme
Version: 1.0.4
Release: 4.1
#
License: GPL
Group: Productivity/Networking/Other
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ pcre-devel
#
Url: http://xaxxon.slackworks.com/pme/
Source: %{name}-%{version}.tar.bz2
Source1: pme-1.0.4.rpmlintrc
Patch0: pme-gcc-43.patch
Patch1: pme-1.0.4-bug.patch
#
Requires: pcre
Summary: PCRE C++ wrapping library
%description
PME is a C++ wrapper around the PCRE library. It has been designed to emulate Perl regular expression in both syntax and behaviour. PME requires PCRE version 4.3+ be installed.
%package devel
Group: Productivity/Networking/Other
Requires: %{name} = %{version}
Requires: pcre-devel libstdc++-devel
#
Summary: Development files for libpme
%description devel
Development files for libpme
%debug_package
%prep
%setup
%patch0 -p1
%patch1 -p1
%build
%configure
%{__make}
%install
%makeinstall
%clean
%{__rm} -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files devel
%defattr(-,root,root,-)
%{_includedir}/*.h
%{_libdir}/*.a
%{_libdir}/*.la
%files
%defattr(-,root,root,-)
%{_libdir}/*.so
%{_libdir}/*.so.0
%{_libdir}/*.so.0.0.0
%changelog
* Fri Jul 25 2008 eltorio@none.com
- correct bug while running under x86_64 arch
* Thu Jul 24 2008 eltorio@none.com
- initial release