forked from pool/sqlite3
- Small packaging cleanup
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=189
This commit is contained in:
parent
c62340807e
commit
177080c8ca
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 16 07:20:20 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Small packaging cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 9 07:43:28 UTC 2017 - astieger@suse.com
|
||||
|
||||
|
19
sqlite3.spec
19
sqlite3.spec
@ -35,10 +35,8 @@ BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: unzip
|
||||
Requires: libsqlite3-0 = %{version}
|
||||
Provides: %{oname} = %{version}
|
||||
Obsoletes: %{oname} < %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
SQLite is a C library that implements an embeddable SQL database
|
||||
@ -95,9 +93,7 @@ application which supports the Qt database plug-ins.
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Group: Documentation/Other
|
||||
%if 0%{?suse_version} >= 1130
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description doc
|
||||
|
||||
@ -127,13 +123,14 @@ export CFLAGS="%{optflags} \
|
||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
|
||||
-DSQLITE_SECURE_DELETE \
|
||||
"
|
||||
%configure --disable-static \
|
||||
%configure \
|
||||
--disable-static \
|
||||
--disable-static-shell \
|
||||
--enable-readline
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n libsqlite3-0 -p /sbin/ldconfig
|
||||
@ -142,16 +139,18 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/sqlite3
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man1/sqlite3.1%{ext_man}
|
||||
|
||||
%files -n libsqlite3-0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libsqlite*.so.*
|
||||
%{_libdir}/libsqlite3.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/libsqlite*.so
|
||||
%{_includedir}/msvc.h
|
||||
%{_includedir}/sqlite3.h
|
||||
%{_includedir}/sqlite3ext.h
|
||||
%{_libdir}/libsqlite3.so
|
||||
%{_libdir}/pkgconfig/sqlite3.pc
|
||||
|
||||
%files doc
|
||||
|
Loading…
Reference in New Issue
Block a user