d4a9eecb |
%define sourcever 3220000 |
e529fec2 |
Summary: A portable, high level programming interface to various calling conventions
Name: sqlite |
d4a9eecb |
Version: 3.22.0 |
e529fec2 |
Release: 1%{?dist}
License: Public Domain
URL: http://www.sqlite.org
Group: System Environment/GeneralLibraries
Vendor: VMware, Inc.
Distribution: Photon |
d4a9eecb |
Source0: http://sqlite.org/2018/%{name}-autoconf-%{sourcever}.tar.gz
%define sha1 sqlite=2fb24ec12001926d5209d2da90d252b9825366ac |
e529fec2 |
Obsoletes: sqlite-autoconf
Requires: sqlite-libs = %{version}-%{release}
Provides: sqlite3 |
f4d17450 |
%description
This package contains most of the static files that comprise the
www.sqlite.org website including all of the SQL Syntax and the
C/C++ interface specs and other miscellaneous documentation. |
fb300e7c |
|
9874e684 |
%package devel |
e529fec2 |
Summary: sqlite3 link library & header files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel |
fb300e7c |
The sqlite devel package include the needed library link and
header files for development.
|
9874e684 |
%package libs |
e529fec2 |
Summary: sqlite3 library
Group: Libraries
Provides: pkgconfig(sqlite3)
Obsoletes: libsqlite
Obsoletes: sqlite-autoconf |
9874e684 |
%description libs |
fb300e7c |
The sqlite3 library.
|
f4d17450 |
%prep |
9874e684 |
%setup -q -n %{name}-autoconf-%{sourcever} |
a74c4ff8 |
|
f4d17450 |
%build
./configure \ |
e529fec2 |
CFLAGS="%{optflags}" \
CXXFLAGS="%{optflags} \
-DSQLITE_ENABLE_FTS3=1 \
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
-DSQLITE_SECURE_DELETE=1" \
--prefix=%{_prefix} \
--bindir=%{_bindir} \
--libdir=%{_libdir} \
--disable-static |
fb300e7c |
make |
f4d17450 |
%install
[ %{buildroot} != "/"] && rm -rf %{buildroot}/*
make DESTDIR=%{buildroot} install
install -D -m644 sqlite3.1 %{buildroot}/%{_mandir}/man1/sqlite3.1
find %{buildroot}/%{_libdir} -name '*.la' -delete
rm -rf %{buildroot}/%{_infodir}
%{_fixperms} %{buildroot}/* |
85c433d7 |
|
f4d17450 |
%check |
85c433d7 |
make %{?_smp_mflags} check
|
9874e684 |
%post libs |
fb300e7c |
/sbin/ldconfig
|
e529fec2 |
%postun libs |
fb300e7c |
/sbin/ldconfig
|
f4d17450 |
%clean
rm -rf %{buildroot}/* |
fb300e7c |
|
f4d17450 |
%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man1/* |
fb300e7c |
|
9874e684 |
%files devel |
fb300e7c |
%defattr(-,root,root)
%{_libdir}/libsqlite3.so
%{_libdir}/libsqlite3.so.0
%{_libdir}/pkgconfig/*
%{_includedir}/*
|
9874e684 |
%files libs |
fb300e7c |
%defattr(-,root,root)
%{_libdir}/libsqlite3.so.0.8.6
|
f4d17450 |
%changelog |
d4a9eecb |
* Tue Feb 20 2018 Xiaolin Li <xiaolinl@vmware.com> 3.22.0-1
- Upgrade to version 3.22.0 |
e529fec2 |
* Fri Nov 10 2017 Xiaolin Li <xiaolinl@vmware.com> 3.21.0-1
- Upgrade to version 3.21.0 |
a74c4ff8 |
* Fri Jul 14 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.19.3-1
- Upgrading to version 3.19.0 and adding patch for CVE-2017-10989 |
1118bf1c |
* Thu Jun 29 2017 Divya Thaluru <dthaluru@vmware.com> 3.18.0-2
- Added obseletes for deprecated sqlite-autoconf package |
9874e684 |
* Fri Apr 7 2017 Alexey Makhalov <amakhalov@vmware.com> 3.18.0-1
- Version update
- Package rename: sqlite-autoconf -> sqlite |
fb300e7c |
* Wed Nov 16 2016 Alexey Makhalov <amakhalov@vmware.com> 3.11.0-4
- Added -devel and -libs subpackages
* Mon Oct 04 2016 ChangLee <changlee@vmware.com> 3.11.0-3
- Modified %check
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.11.0-2
- GA - Bump release of all rpms |
2c9d6320 |
* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 3.11.0-1
- Updated to version 3.11.0 |
fb300e7c |
* Wed Feb 03 2016 Anish Swaminathan <anishs@vmware.com> - 3.8.3.1-2
- Fix versioning
* Mon Oct 7 2014 Divya Thaluru <dthaluru@vmware.com> 3080301-1
- Initial build. First version |