static subpackage
This commit is contained in:
parent
0fe9fce38e
commit
602064f2fa
@ -16,7 +16,7 @@
|
||||
|
||||
Name: mingw32-%{name1}
|
||||
Version: %{rpmver}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: MinGW Windows port of sqlite embeddable SQL database engine
|
||||
|
||||
License: Public Domain
|
||||
@ -70,6 +70,23 @@ This package contains cross-compiled libraries and development tools
|
||||
for Windows.
|
||||
|
||||
|
||||
%package static
|
||||
Summary: Static version of MinGW Windows port of sqlite library
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Group: Development/Libraries
|
||||
|
||||
%description static
|
||||
SQLite is a C library that implements an SQL database engine. A large
|
||||
subset of SQL92 is supported. A complete database is stored in a
|
||||
single disk file. The API is designed for convenience and ease of use.
|
||||
Applications that link against SQLite can enjoy the power and
|
||||
flexibility of an SQL database without the administrative hassles of
|
||||
supporting a separate database server. Version 2 and version 3 binaries
|
||||
are named to permit each to be installed on a single host
|
||||
|
||||
This package contains static cross-compiled library
|
||||
|
||||
|
||||
%{_mingw32_debug_package}
|
||||
|
||||
|
||||
@ -116,9 +133,6 @@ make
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
# Remove static libraries but DON'T remove *.dll.a files.
|
||||
rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libsqlite3.a
|
||||
|
||||
chmod 0644 $RPM_BUILD_ROOT%{_mingw32_libdir}/libsqlite3.dll.a
|
||||
|
||||
mv $RPM_BUILD_ROOT%{_mingw32_libdir}/libsqlite3-0.dll $RPM_BUILD_ROOT%{_mingw32_bindir}/
|
||||
@ -148,7 +162,14 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mingw32_datadir}/tcl%{tclversion}/sqlite3/pkgIndex.tcl
|
||||
%endif
|
||||
|
||||
%files static
|
||||
%defattr(-,root,root,-)
|
||||
%{_mingw32_libdir}/libsqlite3.a
|
||||
|
||||
%changelog
|
||||
* Sat Dec 24 2011 Ivan Romanov <drizt@land.ru> - 3.7.5-2
|
||||
- static subpackage
|
||||
|
||||
* Sun Feb 13 2011 Thomas Sailer <t.sailer@alumni.ethz.ch> - 3.7.5-1
|
||||
- update to 3.7.5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user