Added -static subpackages
This commit is contained in:
parent
2982cb87b3
commit
06a5923807
@ -2,7 +2,7 @@
|
||||
|
||||
Name: mingw-pcre
|
||||
Version: 8.33
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: MinGW Windows pcre library
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -49,6 +49,14 @@ 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-static
|
||||
Summary: Static version of the mingw32-pcre library
|
||||
Requires: mingw32-pcre = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n mingw32-pcre-static
|
||||
Static version of the mingw32-pcre library.
|
||||
|
||||
# Win64
|
||||
%package -n mingw64-pcre
|
||||
Summary: MinGW Windows pcre library
|
||||
@ -63,6 +71,14 @@ 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 mingw64-pcre-static
|
||||
Summary: Static version of the mingw64-pcre library
|
||||
Requires: mingw64-pcre = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n mingw64-pcre-static
|
||||
Static version of the mingw64-pcre library.
|
||||
|
||||
|
||||
%?mingw_debug_package
|
||||
|
||||
@ -72,7 +88,7 @@ for the POSIX-style functions is called pcreposix.h.
|
||||
|
||||
|
||||
%build
|
||||
%mingw_configure --enable-utf8 --enable-unicode-properties --disable-static --enable-pcre8 --enable-pcre16 --enable-pcre32
|
||||
%mingw_configure --enable-utf8 --enable-unicode-properties --enable-static --enable-pcre8 --enable-pcre16 --enable-pcre32
|
||||
%mingw_make %{?_smp_mflags}
|
||||
|
||||
|
||||
@ -116,6 +132,13 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
||||
%{mingw32_includedir}/pcrecpparg.h
|
||||
%{mingw32_includedir}/pcreposix.h
|
||||
|
||||
%files -n mingw32-pcre-static
|
||||
%{mingw32_libdir}/libpcre.a
|
||||
%{mingw32_libdir}/libpcre16.a
|
||||
%{mingw32_libdir}/libpcre32.a
|
||||
%{mingw32_libdir}/libpcrecpp.a
|
||||
%{mingw32_libdir}/libpcreposix.a
|
||||
|
||||
# Win64
|
||||
%files -n mingw64-pcre
|
||||
%doc AUTHORS COPYING LICENCE NEWS README ChangeLog
|
||||
@ -144,8 +167,18 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
||||
%{mingw64_includedir}/pcrecpparg.h
|
||||
%{mingw64_includedir}/pcreposix.h
|
||||
|
||||
%files -n mingw64-pcre-static
|
||||
%{mingw64_libdir}/libpcre.a
|
||||
%{mingw64_libdir}/libpcre16.a
|
||||
%{mingw64_libdir}/libpcre32.a
|
||||
%{mingw64_libdir}/libpcrecpp.a
|
||||
%{mingw64_libdir}/libpcreposix.a
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 11 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 8.33-2
|
||||
- Added -static subpackages
|
||||
|
||||
* Wed Jul 3 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 8.33-1
|
||||
- Update to 8.33
|
||||
- Added the configure arguments --enable-pcre8 --enable-pcre16 --enable-pcre32
|
||||
|
Loading…
Reference in New Issue
Block a user