source: projects/specs/trunk/p/pcre2/pcre2-vl.spec @ 12328

Revision 12328, 8.7 KB checked in by tomop, 4 years ago (diff)

updated 6 packages

libmodsecurity-3.0.4-1

nginx-1.16.1-5

pcre-8.44-1

pcre2-10.34-1

sysstat-12.2.1-1

xmlsec1-1.2.29-1

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name: pcre2
4Version: 10.34
5Release: 1%{?_dist_release}
6Summary: Perl-compatible regular expression library
7Summary(ja): Perl 互換の正規表現ライブラリ
8
9Group: System Environment/Libraries
10License: BSD
11URL: http://www.pcre.org/
12
13Source0: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2
14# Upstream thinks RPATH is good idea.
15Patch0: pcre2-10.31-multilib.patch
16
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18BuildRequires: zlib-devel
19BuildRequires: bzip2-devel
20BuildRequires: libedit-devel
21# New libtool to get rid of rpath
22BuildRequires: autoconf, automake, libtool
23
24Vendor: Project Vine
25Distribution: Vine Linux
26
27Packager: inagaki
28
29%description
30Perl-compatible regular expression library.
31PCRE has its own native API, but a set of "wrapper" functions that are based on
32the POSIX API are also supplied in the library libpcreposix. Note that this
33just provides a POSIX calling interface to PCRE: the regular expressions
34themselves still follow Perl syntax and semantics. The header file
35for the POSIX-style functions is called pcreposix.h.
36
37%package devel
38Summary: Development files for %{name}
39Summary(ja): %{name} の開発用ファイル
40Group: Development/Libraries
41Requires: %{name} = %{version}-%{release}
42
43%description devel
44Development files (Headers, libraries for static linking, etc) for %{name}.
45
46
47%package -n compat32-%{name}
48Summary: Perl-compatible regular expression library
49Summary(ja): Perl 互換の正規表現ライブラリ
50Group: System Environment/Libraries
51
52%description -n compat32-%{name}
53Perl-compatible regular expression library.
54PCRE has its own native API, but a set of "wrapper" functions that are based on
55the POSIX API are also supplied in the library libpcreposix. Note that this
56just provides a POSIX calling interface to PCRE: the regular expressions
57themselves still follow Perl syntax and semantics. The header file
58for the POSIX-style functions is called pcreposix.h.
59
60
61%package -n compat32-%{name}-devel
62Summary: Development files for %{name}
63Summary(ja): %{name} の開発用ファイル
64Group: Development/Libraries
65Requires: compat32-%{name} = %{version}-%{release}
66
67%description -n compat32-%{name}-devel
68Development files (Headers, libraries for static linking, etc) for %{name}.
69
70
71%prep
72%setup -q
73# Get rid of rpath
74%patch0 -p1 -b .multilib
75# Because of rpath patch
76libtoolize --copy --force && autoreconf -vif
77# One contributor's name is non-UTF-8
78for F in ChangeLog; do
79    iconv -f latin1 -t utf8 "$F" >"${F}.utf8"
80    touch --reference "$F" "${F}.utf8"
81    mv "${F}.utf8" "$F"
82done
83
84%build
85%configure \
86    --enable-jit \
87    --disable-static \
88    --enable-utf8 \
89    --enable-unicode-properties \
90    --enable-pcregrep-libz \
91    --enable-pcregrep-libbz2 \
92    --enable-pcretest-libedit \
93    --enable-pcre2-8 \
94    --enable-pcre2-16 \
95    --enable-pcre2-32
96
97make %{?_smp_mflags}
98
99%install
100rm -rf $RPM_BUILD_ROOT
101make install DESTDIR=$RPM_BUILD_ROOT
102
103rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
104rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
105
106%check
107%ifarch s390 s390x ppc
108# larger stack is needed on s390, ppc
109ulimit -s 10240
110%endif
111make %{?_smp_mflags} check VERBOSE=yes
112
113%clean
114rm -rf $RPM_BUILD_ROOT
115
116%post -p /sbin/ldconfig
117
118%postun -p /sbin/ldconfig
119
120%post -n compat32-%{name} -p /sbin/ldconfig
121
122%postun -n compat32-%{name} -p /sbin/ldconfig
123
124
125%files
126%defattr(-,root,root)
127%license COPYING LICENCE
128%doc AUTHORS ChangeLog NEWS README
129%{_bindir}/pcre2grep
130%{_libdir}/*.so.*
131%{_mandir}/man1/pcre2grep.*
132
133%files devel
134%defattr(-,root,root)
135%doc doc/html/*
136%{_bindir}/pcre2-config
137%{_bindir}/pcre2test
138%{_includedir}/*
139%{_libdir}/*.so
140%{_libdir}/pkgconfig/*.pc
141%{_mandir}/man1/pcre2-config.*
142%{_mandir}/man1/pcre2test.*
143%{_mandir}/man3/*
144
145%if %{build_compat32}
146%files -n compat32-%{name}
147%defattr(-, root, root)
148%{_libdir}/*.so.*
149
150%files -n compat32-%{name}-devel
151%defattr(-, root, root)
152%{_libdir}/*.so
153%endif
154
155
156%changelog
157* Sun Mar 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.34-1
158- new upstream release.
159
160* Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 10.31-1
161- new: pcre2 package
162- update multilib patch (Patch0)
163- drop unnecessary patch (Patch1)
164
165* Fri Jul 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 8.39-2
166- create comapt32 packages
167
168* Thu Jun 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.39-1
169- new upstream release.
170- dropped Patch1000,1001: fixed in upstream.
171
172* Wed Mar 23 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.38-1
173- new upstream release.
174- removed Patch2,Patch3 (no longer needed).
175- added Patch1000 to fix CVE-2016-1283.
176
177* Sun Apr  5 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 8.36-1
178- new upstream release
179- added patches including security fix from Fedora (CVE-2014-8964)
180* Thu Nov 20 2014 Petr Pisar <ppisar@redhat.com> - 8.36-3
181  - Fix CVE-2014-8964 (unused memory usage on zero-repeat assertion condition)
182    (bug #1165626)
183  * Fri Nov 07 2014 Petr Pisar <ppisar@redhat.com> - 8.36-2
184  - Reset non-matched groups within capturing group up to forced match
185    (bug #1161587)
186  * Mon May 09 2011 Petr Pisar <ppisar@redhat.com> - 8.12-3
187  - Fix typos in manual pages (bugs #675476, #675477)
188
189* Thu Sep 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 8.35-1
190- new upstream release
191- add --enable-pcre32 and --enable-pcretest-libedit
192
193* Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 8.31-1
194- new upstream release
195- add --enable-pcre16 --enable-pcre8 --enable-jit
196- API change
197- change includedir to /usr/include
198
199* Sat Sep 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.13-1
200- new upstream release
201
202* Tue Mar 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.12-1
203- new upstream release
204
205* Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 8.10-2
206- rebuilt with rpm-4.8.1 for pkg-config
207
208* Thu Aug 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.10-1
209- new upstream release
210
211* Mon May 10 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 8.02-1
212- new upstream release with security fix
213
214* Sat Feb  6 2010 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 8.01-1
215- new upstream release
216
217* Sat Jan 16 2010 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 8.00-1
218- new upstream release
219
220* Tue Jul 07 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.9-2
221- add --enable-unicode-properties to configure option
222
223* Wed Jun 10 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 7.9-1
224- new upstream release
225- added BR: zlib-devel, bzip2-devel
226- removed static libraries from devel package
227- added Packager tag
228
229* Sat Jan 24 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 7.8-1vl5
230- new upstream release
231- spec in UTF-8
232
233* Sun Jul  6 2008 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 7.7-1vl5
234- new upstream release
235
236* Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.6-1vl5
237- use macro for Release
238
239* Fri May 09 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.6-1vl5
240- apply new virsioning policy.
241- remove *.la
242
243* Thu Feb  7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.6-0vl1
244- new upstream release
245
246* Wed Nov  7 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 7.4-0vl1
247- new upstream release
248
249* Sun Aug 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.2-0vl1
250- new upstream release
251
252* Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 6.6-0vl2
253- rebuild with new environment/toolchain
254
255* Wed Feb 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.6-0vl1
256- new upstream release
257
258* Mon Sep  5 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.3-0vl2
259- added --enable-utf8 option
260
261* Sun Sep  4 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.3-0vl1
262- new upstream release
263
264* Thu Jan 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.0-0vl1
265- new upstream release
266- added Japanese summary
267
268* Sun Apr 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5-0vl1
269- new upstream release
270
271* Mon Oct 13 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4-0vl1
272- new upstream release
273
274* Mon May  5 2003 Tomoya TAKA <taka@vinelinux.org> 4.1-0vl3
275- skip 'make check' on alpha
276
277* Fri Mar 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.1-0vl2
278- change install section
279- change files section
280
281* Fri Mar 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.1-0vl1
282- update to 4.1
283- add %{_bindir}/pcretest
284- add %doc AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS README
285
286* Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.9-0vl2
287- rebuild with new toolchains
288
289* Sat Mar 16 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.9-0vl1
290- Update to 3.9
291
292* Wed Dec 26 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.7-0vl1
293- Update to 3.7
294
295* Sun Oct 14 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.5-0vl1
296- Update to 3.5
297
298* Wed Oct 10 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.4-2vl1
299- Build for VineSeed
300
301* Thu May 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.4-2
302- Move libpcre to /lib, grep uses it these days (#41104)
303
304* Wed Apr 18 2001 Bernhard Rosenkraenzer <bero@redhat.com>
305- Move this to a separate package, used to be in kdesupport, but it's
306  generally useful...
Note: See TracBrowser for help on using the repository browser.