diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-09-25 11:26:05 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-09-25 11:27:47 +0900 |
commit | 23f986963d0ab5e449e876636374ab9501eda35a (patch) | |
tree | 5966f7c904305279c231209a0b0f908fd4307246 | |
parent | 0904b53a0f2f1283e6ac1fda1ad4da4d3febd8c7 (diff) | |
download | pcre-sandbox/backup/pcre-8.43_20201207.tar.gz pcre-sandbox/backup/pcre-8.43_20201207.tar.bz2 pcre-sandbox/backup/pcre-8.43_20201207.zip |
Bump to pcre 8.43tizen_6.0.m2_releasetizen_5.5.m2_releasesubmit/tizen_base/20201207.055733submit/tizen_base/20190925.023245submit/tizen_6.0_base_hotfix/20201102.162701submit/tizen_6.0_base_hotfix/20201030.192501submit/tizen_6.0_base/20201029.184801submit/tizen_5.5_base_wearable_hotfix/20201023.155601submit/tizen_5.5_base_mobile_hotfix/20201023.171501submit/tizen_5.5_base/20191030.000001accepted/tizen/base/20190929.221358accepted/tizen/6.0/base/tool/hotfix/20201102.090610accepted/tizen/6.0/base/tool/hotfix/20201030.125151accepted/tizen/6.0/base/tool/20201029.112418accepted/tizen/6.0/base/20230713.143001accepted/tizen/6.0/base/20201029.111229accepted/tizen/5.5/base/wearable/hotfix/20201023.080754accepted/tizen/5.5/base/mobile/hotfix/20201023.084356accepted/tizen/5.5/base/20191030.081947tizen_6.0_base_hotfixtizen_6.0_basetizen_5.5_tvtizen_5.5_base_wearable_hotfixtizen_5.5_base_mobile_hotfixtizen_5.5_basesandbox/wangbiao/rpm_upgradesandbox/backup/pcre-8.43_20201207accepted/tizen_6.0_base_tool_hotfixaccepted/tizen_6.0_base_toolaccepted/tizen_6.0_baseaccepted/tizen_5.5_base_wearable_hotfixaccepted/tizen_5.5_base_mobile_hotfixaccepted/tizen_5.5_base
Change-Id: Ib7d1bd1521d74ea80f55864029785d1b199be9bc
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r-- | packaging/baselibs.conf | 5 | ||||
-rw-r--r-- | packaging/pcre.changes | 3 | ||||
-rw-r--r-- | packaging/pcre.manifest | 5 | ||||
-rw-r--r-- | packaging/pcre.spec | 184 |
4 files changed, 197 insertions, 0 deletions
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf new file mode 100644 index 0000000..2e18f05 --- /dev/null +++ b/packaging/baselibs.conf @@ -0,0 +1,5 @@ +libpcre +libpcreposix +libpcrecpp + provides "pcre-<targettype> = <version>" + obsoletes "pcre-<targettype> <= <version>" diff --git a/packaging/pcre.changes b/packaging/pcre.changes new file mode 100644 index 0000000..856f4e7 --- /dev/null +++ b/packaging/pcre.changes @@ -0,0 +1,3 @@ +* Sat May 11 2013 Anas Nashif <anas.nashif@intel.com> submit/tizen/20130509.182809@25b2e8b +- Set license using %license + diff --git a/packaging/pcre.manifest b/packaging/pcre.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/pcre.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/pcre.spec b/packaging/pcre.spec new file mode 100644 index 0000000..c0a7b2c --- /dev/null +++ b/packaging/pcre.spec @@ -0,0 +1,184 @@ + +%if "%{run_tests}" == "1" + %define __spec_check_pre %___build_pre + %define check %%check +%endif + + +%define keepstatic 1 +Name: pcre +Version: 8.43 +Release: 0 +License: BSD-2.0 +Summary: A library for Perl-compatible regular expressions +Url: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ +Group: System/Libraries +Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2 +Source2: baselibs.conf +Source1001: pcre.manifest +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: pkg-config + +%description +The PCRE library is a set of functions that implement regular +expression pattern matching using the same syntax and semantics +as Perl 5. + +%package devel +Summary: A library for Perl-compatible regular expressions +Group: System/Libraries +Requires: libpcre = %{version} +Requires: libpcrecpp = %{version} +Requires: libpcreposix = %{version} +Requires: libstdc++-devel + +%description devel +The PCRE library is a set of functions that implement regular +expression pattern matching using the same syntax and semantics +as Perl 5. + +%package devel-static +Summary: A library for Perl-compatible regular expressions +Group: System/Libraries +Requires: pcre-devel = %{version} + +%description devel-static +The PCRE library is a set of functions that implement regular +expression pattern matching using the same syntax and semantics +as Perl 5. +This package contains static versions of the PCRE libraries. + +%package -n libpcre +Summary: A library for Perl-compatible regular expressions +Group: System/Libraries +Provides: %{name} = %{version} +Obsoletes: %{name} < %{version} + +%description -n libpcre +The PCRE library is a set of functions that implement regular +expression pattern matching using the same syntax and semantics +as Perl 5. + +%package -n libpcreposix +Summary: A library for Perl-compatible regular expressions +Group: System/Libraries + +%description -n libpcreposix +The PCRE library is a set of functions that implement regular +expression pattern matching using the same syntax and semantics +as Perl 5. + +%package -n libpcrecpp +Summary: A library for Perl-compatible regular expressions +Group: System/Libraries + +%description -n libpcrecpp +The PCRE library is a set of functions that implement regular +expression pattern matching using the same syntax and semantics +as Perl 5. + +%package doc +Summary: A library for Perl-compatible regular expressions +Group: System/Libraries +BuildArch: noarch + +%description doc +The PCRE library is a set of functions that implement regular +expression pattern matching using the same syntax and semantics +as Perl 5. + +%package tools +Summary: A library for Perl-compatible regular expressions +Group: System/Libraries + +%description tools +The PCRE library is a set of functions that implement regular +expression pattern matching using the same syntax and semantics +as Perl 5. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +# Available JIT archs see sljit/sljitConfig.h +autoreconf -fiv +%configure \ +%ifarch %ix86 x86_64 %arm ppc ppc64 mips + --enable-jit \ +%endif + --enable-static \ + --with-link-size=2 \ + --with-match-limit=10000000 \ + --enable-newline-is-lf \ + --enable-utf8 \ + --enable-unicode-properties +make %{?_smp_mflags} + + +%check +export LANG=POSIX +make check || exit 0 + +%install +%make_install +mkdir -p %{buildroot}/%{_defaultdocdir} +mv %{buildroot}/usr/share/doc/pcre %{buildroot}/%{_defaultdocdir}/pcre-doc +rm -f %{buildroot}%{_libdir}/*.la + + +%post -n libpcre -p /sbin/ldconfig + +%postun -n libpcre -p /sbin/ldconfig + +%post -n libpcrecpp -p /sbin/ldconfig + +%postun -n libpcrecpp -p /sbin/ldconfig + +%post -n libpcreposix -p /sbin/ldconfig + +%postun -n libpcreposix -p /sbin/ldconfig + +%files -n libpcre +%manifest %{name}.manifest +%license LICENCE +%{_libdir}/libpcre.so.* + +%files -n libpcrecpp +%manifest %{name}.manifest +%license LICENCE +%{_libdir}/libpcrecpp.so.* + +%files -n libpcreposix +%manifest %{name}.manifest +%license LICENCE +%{_libdir}/libpcreposix.so.* + +%files tools +%manifest %{name}.manifest +%license LICENCE +%{_bindir}/pcregrep +%{_bindir}/pcretest +%{_mandir}/man1/pcregrep.* +%{_mandir}/man1/pcretest.* + +%files doc +%manifest %{name}.manifest +%doc doc/html doc/*.txt AUTHORS COPYING ChangeLog LICENCE README NEWS + +%files devel +%manifest %{name}.manifest +%{_bindir}/pcre-config +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/libpcre.pc +%{_libdir}/pkgconfig/libpcrecpp.pc +%{_libdir}/pkgconfig/libpcreposix.pc +%{_mandir}/man1/pcre-config.* +%{_mandir}/man3/*.gz + +%files devel-static +%manifest %{name}.manifest +%{_libdir}/*.a + |