]> git.pld-linux.org Git - SPECS.git/blob - tcl-tdbc-mysql.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / tcl-tdbc-mysql.spec
1 Summary:        TDBC driver to access MySQL databases
2 Summary(pl.UTF-8):      Sterownik TDBC służący do dostępu do baz danych MySQL
3 Name:           tcl-tdbc-mysql
4 Version:        1.1.1
5 Release:        1
6 License:        Tcl (BSD-like)
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/tcl/tdbcmysql%{version}.tar.gz
9 # Source0-md5:  bc65688088091b770ef06bde37350b01
10 URL:            http://tdbc.tcl.tk/
11 BuildRequires:  tcl-devel >= 8.6
12 BuildRequires:  tcl-tdbc-devel >= %{version}
13 Requires:       tcl >= 8.6
14 Requires:       tcl-tdbc >= %{version}
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Tcl TDBC MySQL module is the driver for Tcl Database Connectivity
19 (TDBC) to access MySQL databases.
20
21 %description -l pl.UTF-8
22 Moduł Tcl TDBC MySQL to sterownik szkieletu Tcl Database Connectivity
23 (TDBC) służący do dostępu do baz danych MySQL.
24
25 %prep
26 %setup -q -n tdbcmysql%{version}
27
28 %build
29 %configure
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34
35 %{__make} install \
36         DESTDIR=$RPM_BUILD_ROOT
37
38 # internal headers
39 %{__rm} $RPM_BUILD_ROOT%{_includedir}/{fakemysql,mysqlStubs}.h
40
41 # allow dependency generation
42 chmod 755 $RPM_BUILD_ROOT%{_libdir}/tdbcmysql%{version}/*.so
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc ChangeLog README license.terms
50 %dir %{_libdir}/tdbcmysql%{version}
51 %attr(755,root,root) %{_libdir}/tdbcmysql%{version}/libtdbcmysql%{version}.so
52 %{_libdir}/tdbcmysql%{version}/*.tcl
53 %{_mandir}/mann/tdbc_mysql.n*
This page took 0.184005 seconds and 3 git commands to generate.