source: projects/specs/trunk/p/pcre0/pcre0-vl.spec @ 6988

Revision 6988, 5.2 KB checked in by daisuke, 12 years ago (diff)

add compat package for libpcre.so.0

Line 
1Name: pcre0
2Summary: Perl-compatible regular expression library
3Summary(ja): Perl 互換の正規表現ライブラリ
4Version: 8.13
5Release: 2%{?_dist_release}
6
7License: BSD
8Group: System Environment/Libraries
9URL: http://www.pcre.org/
10
11Source0: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-%{version}.tar.bz2
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: zlib-devel
15BuildRequires: bzip2-devel
16
17Obsoletes: pcre < %{version}-%{release}
18
19Vendor: Project Vine
20Distribution: Vine Linux
21Packager: daisuke
22
23%description
24Perl-compatible regular expression library.
25PCRE has its own native API, but a set of "wrapper" functions that are based on
26the POSIX API are also supplied in the library libpcreposix. Note that this
27just provides a POSIX calling interface to PCRE: the regular expressions
28themselves still follow Perl syntax and semantics. The header file
29for the POSIX-style functions is called pcreposix.h.
30
31This is compatibility package for libpcre.so.0
32
33%prep
34%setup -q -n pcre-%{version}
35
36%build
37%configure --includedir=%{_includedir}/%{name} \
38    --disable-static \
39    --enable-utf8 \
40    --enable-unicode-properties \
41    --enable-pcregrep-libz \
42    --enable-pcregrep-libbz2
43
44make
45
46%install
47rm -rf $RPM_BUILD_ROOT
48make install DESTDIR=$RPM_BUILD_ROOT
49
50rm -rf $RPM_BUILD_ROOT%{_datadir}
51rm -rf $RPM_BUILD_ROOT%{_bindir}
52rm -rf $RPM_BUILD_ROOT%{_includedir}
53rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig
54rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{la,so}
55rm -f $RPM_BUILD_ROOT%{_libdir}/libpcrecpp.so*
56rm -f $RPM_BUILD_ROOT%{_libdir}/libpcreposix.so*
57
58
59%check
60make check
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post -p /sbin/ldconfig
66
67%postun -p /sbin/ldconfig
68
69
70%files
71%defattr(-,root,root)
72%doc AUTHORS COPYING ChangeLog LICENCE NEWS README
73%{_libdir}/libpcre.so.0*
74
75%changelog
76* Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 8.13-2
77- rename to pcre0 to build as compat package
78
79* Sat Sep 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.13-1
80- new upstream release
81
82* Tue Mar 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.12-1
83- new upstream release
84
85* Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 8.10-2
86- rebuilt with rpm-4.8.1 for pkg-config
87
88* Thu Aug 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.10-1
89- new upstream release
90
91* Mon May 10 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 8.02-1
92- new upstream release with security fix
93
94* Sat Feb  6 2010 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 8.01-1
95- new upstream release
96
97* Sat Jan 16 2010 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 8.00-1
98- new upstream release
99
100* Tue Jul 07 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.9-2
101- add --enable-unicode-properties to configure option
102
103* Wed Jun 10 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 7.9-1
104- new upstream release
105- added BR: zlib-devel, bzip2-devel
106- removed static libraries from devel package
107- added Packager tag
108
109* Sat Jan 24 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 7.8-1vl5
110- new upstream release
111- spec in UTF-8
112
113* Sun Jul  6 2008 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 7.7-1vl5
114- new upstream release
115
116* Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.6-1vl5
117- use macro for Release
118
119* Fri May 09 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.6-1vl5
120- apply new virsioning policy.
121- remove *.la
122
123* Thu Feb  7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.6-0vl1
124- new upstream release
125
126* Wed Nov  7 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 7.4-0vl1
127- new upstream release
128
129* Sun Aug 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.2-0vl1
130- new upstream release
131
132* Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 6.6-0vl2
133- rebuild with new environment/toolchain
134
135* Wed Feb 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.6-0vl1
136- new upstream release
137
138* Mon Sep  5 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.3-0vl2
139- added --enable-utf8 option
140
141* Sun Sep  4 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.3-0vl1
142- new upstream release
143
144* Thu Jan 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.0-0vl1
145- new upstream release
146- added Japanese summary
147
148* Sun Apr 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5-0vl1
149- new upstream release
150
151* Mon Oct 13 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4-0vl1
152- new upstream release
153
154* Mon May  5 2003 Tomoya TAKA <taka@vinelinux.org> 4.1-0vl3
155- skip 'make check' on alpha
156
157* Fri Mar 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.1-0vl2
158- change install section
159- change files section
160
161* Fri Mar 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.1-0vl1
162- update to 4.1
163- add %{_bindir}/pcretest
164- add %doc AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS README
165
166* Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.9-0vl2
167- rebuild with new toolchains
168
169* Sat Mar 16 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.9-0vl1
170- Update to 3.9
171
172* Wed Dec 26 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.7-0vl1
173- Update to 3.7
174
175* Sun Oct 14 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.5-0vl1
176- Update to 3.5
177
178* Wed Oct 10 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.4-2vl1
179- Build for VineSeed
180
181* Thu May 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.4-2
182- Move libpcre to /lib, grep uses it these days (#41104)
183
184* Wed Apr 18 2001 Bernhard Rosenkraenzer <bero@redhat.com>
185- Move this to a separate package, used to be in kdesupport, but it's
186  generally useful...
Note: See TracBrowser for help on using the repository browser.