Renamed the source package to mingw-sqlite (#800450)

This commit is contained in:
Kalev Lember 2012-03-06 23:21:03 +02:00
parent 79704ecc95
commit 8256bba041

View File

@ -14,9 +14,9 @@
%bcond_with tcl
%global tclversion 8.5
Name: mingw32-%{name1}
Name: mingw-%{name1}
Version: %{rpmver}
Release: 2%{?dist}
Release: 3%{?dist}
Summary: MinGW Windows port of sqlite embeddable SQL database engine
License: Public Domain
@ -48,8 +48,6 @@ BuildRequires: autoconf
BuildRequires: libtool
BuildRequires: /usr/bin/tclsh
Requires: pkgconfig
%if %{with tcl}
BuildRequires: /usr/bin/tclsh
BuildRequires: mingw32-tcl
@ -69,12 +67,29 @@ This package contains cross-compiled libraries and development tools
for Windows.
%package static
%package -n mingw32-%{name1}
Summary: MinGW Windows port of sqlite embeddable SQL database engine
Requires: pkgconfig
%description -n mingw32-%{name1}
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 cross-compiled libraries and development tools
for Windows.
%package -n mingw32-%{name1}-static
Summary: Static version of MinGW Windows port of sqlite library
Requires: %{name} = %{version}-%{release}
Requires: mingw32-%{name1} = %{version}-%{release}
Group: Development/Libraries
%description static
%description -n mingw32-%{name1}-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.
@ -143,7 +158,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/tcl%{tclversion}/sqlite3/pkgIndex.tcl $RPM_BUILD_R
rm -rf $RPM_BUILD_ROOT
%files
%files -n mingw32-%{name1}
%defattr(-,root,root)
%doc README VERSION
%{_mingw32_bindir}/sqlite3.exe
@ -159,11 +174,14 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw32_datadir}/tcl%{tclversion}/sqlite3/pkgIndex.tcl
%endif
%files static
%files -n mingw32-%{name1}-static
%defattr(-,root,root,-)
%{_mingw32_libdir}/libsqlite3.a
%changelog
* Tue Mar 06 2012 Kalev Lember <kalevlember@gmail.com> - 3.7.9-3
- Renamed the source package to mingw-sqlite (#800450)
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.7.9-2
- Rebuild against the mingw-w64 toolchain