Renamed the source package to mingw-pcre (#801011)

This commit is contained in:
Kalev Lember 2012-03-07 18:33:40 +02:00
parent 2d03518e72
commit 7b6ad091a4

View File

@ -7,9 +7,9 @@
%define __debug_install_post %{_mingw32_debug_install_post}
Name: mingw32-pcre
Name: mingw-pcre
Version: 8.10
Release: 6%{?dist}
Release: 7%{?dist}
Summary: MinGW Windows pcre library
Group: Development/Libraries
@ -21,8 +21,6 @@ Patch0: pcre-8.10-multilib.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: pkgconfig
BuildRequires: redhat-rpm-config
BuildRequires: mingw32-filesystem >= 56
BuildRequires: mingw32-gcc
@ -43,6 +41,21 @@ 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 -n mingw32-pcre
Summary: MinGW Windows pcre library
Requires: pkgconfig
%description -n mingw32-pcre
Cross compiled Perl-compatible regular expression library for use with mingw32.
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.
%prep
%setup -q -n pcre-%{version}
@ -70,7 +83,7 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/man/*
%clean
rm -rf $RPM_BUILD_ROOT
%files
%files -n mingw32-pcre
%defattr(-,root,root,-)
%{_mingw32_bindir}/pcre-config
%{_mingw32_bindir}/pcregrep.exe
@ -84,6 +97,9 @@ rm -rf $RPM_BUILD_ROOT
%doc AUTHORS COPYING LICENCE NEWS README ChangeLog
%changelog
* Wed Mar 07 2012 Kalev Lember <kalevlember@gmail.com> - 8.10-7
- Renamed the source package to mingw-pcre (#801011)
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 8.10-6
- Rebuild against the mingw-w64 toolchain