Репозитории ALT
S: | 3.42.0-alt1 |
5.1: | 3.7.2-alt1.M50P.1 |
4.1: | 3.5.9-alt2.M41.1 |
4.0: | 3.4.2-alt1 |
3.0: | 3.2.2-alt1 |
Группа :: Разработка/Базы Данных
Пакет: sqlite3
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: sqlite3
Version: 3.2.2
Release: alt1
Summary: An Embeddable SQL Database Engine
License: Public Domain
Group: Development/Databases
URL: http://www.sqlite.org/
Source: sqlite-%version.tar.bz2
Requires: lib%name-devel = %version-%release
# Added by buildreq2 on Fri Jun 24 2005
BuildRequires: gcc-c++ gcc-g77 libreadline-devel tcl-devel
%package -n lib%name
Summary: SQLite runtime library
Group: System/Libraries
%package -n lib%name-devel
Summary: Devel files for SQLite
Group: Development/Databases
Requires: lib%name = %version-%release
%package -n lib%name-devel-static
Summary: Static Libraries for SQLite
Group: Development/Databases
Requires: lib%name-devel = %version-%release
%package tcl
Summary: Tcl binding for SQLite
Group: Development/Tcl
Requires: lib%name = %version-%release
%description
SQLite is a small C library that implements a self-contained, embeddable,
zero-configuration SQL database engine.
%description -n lib%name
SQLite is a small C library that implements a self-contained, embeddable,
zero-configuration SQL database engine.
%description -n lib%name-devel
Header files for SQLite, a small C library that implements a self-contained,
embeddable, zero-configuration SQL database engine.
%description -n lib%name-devel-static
Static SQLite library, a small C library that implements a self-contained,
embeddable, zero-configuration SQL database engine.
%description tcl
Tcl binding for SQLite, a small C library that implements a self-contained,
embeddable, zero-configuration SQL database engine.
%prep
%setup -q -n sqlite-%version
%__subst -p 's,\$(libdir)/sqlite,%_tcllibdir,g' Makefile.in
# hack for `make doc'
%__cp -a www/arch.png arch.png
%build
%configure --enable-threadsafe
%make_build all libtcl%name.la doc
%install
%make_install install DESTDIR=%buildroot
%__install -pD -m644 %name.1 %buildroot%_man1dir/%name.1
%__mkdir_p %buildroot%_tcllibdir
./libtool --mode=install %__install libtcl%name.la %buildroot%_tcllibdir
%__rm -fv %buildroot%_tcllibdir/*.{a,la}
%__mkdir_p %buildroot%_tcldatadir/sqlite3
%__cat <<EOF >%buildroot%_tcldatadir/sqlite3/pkgIndex.tcl
package ifneeded sqlite3 3.0 [list load [file join \$dir .. .. .. lib tcl libtcl%name.so.0] sqlite3]
EOF
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files
%doc doc/*.*
%_bindir/%name
%_man1dir/%name.*
%files -n lib%name
%_libdir/lib%name.so.?*
%files -n lib%name-devel
%_includedir/%name.h
%_libdir/lib%name.so
#_libdir/lib%name.la
%_libdir/pkgconfig/%name.pc
%files -n lib%name-devel-static
%_libdir/lib%name.a
%files tcl
%_tcllibdir/libtcl%name.so*
%dir %_tcldatadir/sqlite3
%_tcldatadir/sqlite3/pkgIndex.tcl
%changelog
…
Полный changelog можно просмотреть здесь
Version: 3.2.2
Release: alt1
Summary: An Embeddable SQL Database Engine
License: Public Domain
Group: Development/Databases
URL: http://www.sqlite.org/
Source: sqlite-%version.tar.bz2
Requires: lib%name-devel = %version-%release
# Added by buildreq2 on Fri Jun 24 2005
BuildRequires: gcc-c++ gcc-g77 libreadline-devel tcl-devel
%package -n lib%name
Summary: SQLite runtime library
Group: System/Libraries
%package -n lib%name-devel
Summary: Devel files for SQLite
Group: Development/Databases
Requires: lib%name = %version-%release
%package -n lib%name-devel-static
Summary: Static Libraries for SQLite
Group: Development/Databases
Requires: lib%name-devel = %version-%release
%package tcl
Summary: Tcl binding for SQLite
Group: Development/Tcl
Requires: lib%name = %version-%release
%description
SQLite is a small C library that implements a self-contained, embeddable,
zero-configuration SQL database engine.
%description -n lib%name
SQLite is a small C library that implements a self-contained, embeddable,
zero-configuration SQL database engine.
%description -n lib%name-devel
Header files for SQLite, a small C library that implements a self-contained,
embeddable, zero-configuration SQL database engine.
%description -n lib%name-devel-static
Static SQLite library, a small C library that implements a self-contained,
embeddable, zero-configuration SQL database engine.
%description tcl
Tcl binding for SQLite, a small C library that implements a self-contained,
embeddable, zero-configuration SQL database engine.
%prep
%setup -q -n sqlite-%version
%__subst -p 's,\$(libdir)/sqlite,%_tcllibdir,g' Makefile.in
# hack for `make doc'
%__cp -a www/arch.png arch.png
%build
%configure --enable-threadsafe
%make_build all libtcl%name.la doc
%install
%make_install install DESTDIR=%buildroot
%__install -pD -m644 %name.1 %buildroot%_man1dir/%name.1
%__mkdir_p %buildroot%_tcllibdir
./libtool --mode=install %__install libtcl%name.la %buildroot%_tcllibdir
%__rm -fv %buildroot%_tcllibdir/*.{a,la}
%__mkdir_p %buildroot%_tcldatadir/sqlite3
%__cat <<EOF >%buildroot%_tcldatadir/sqlite3/pkgIndex.tcl
package ifneeded sqlite3 3.0 [list load [file join \$dir .. .. .. lib tcl libtcl%name.so.0] sqlite3]
EOF
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files
%doc doc/*.*
%_bindir/%name
%_man1dir/%name.*
%files -n lib%name
%_libdir/lib%name.so.?*
%files -n lib%name-devel
%_includedir/%name.h
%_libdir/lib%name.so
#_libdir/lib%name.la
%_libdir/pkgconfig/%name.pc
%files -n lib%name-devel-static
%_libdir/lib%name.a
%files tcl
%_tcllibdir/libtcl%name.so*
%dir %_tcldatadir/sqlite3
%_tcldatadir/sqlite3/pkgIndex.tcl
%changelog
…
Полный changelog можно просмотреть здесь