commit 2f0bbdca79a7d1974df7302d36f9ef8f7dc53058 Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Wed Mar 9 18:45:55 2016 +0100
- new tcl-tdbc-mysql.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) --- diff --git a/tcl-tdbc-mysql.spec b/tcl-tdbc-mysql.spec new file mode 100644 index 0000000..ab3bdf7 --- /dev/null +++ b/tcl-tdbc-mysql.spec @@ -0,0 +1,53 @@ +Summary: TDBC driver to access MySQL databases +Summary(pl.UTF-8): Sterownik TDBC służący do dostępu do baz danych MySQL +Name: tcl-tdbc-mysql +Version: 1.0.4 +Release: 1 +License: Tcl (BSD-like) +Group: Libraries +Source0: http://downloads.sourceforge.net/tcl/tdbcmysql%{version}.tar.gz +# Source0-md5: a03304350ad76425ac919c8a3f021edd +URL: http://tdbc.tcl.tk/ +BuildRequires: tcl-devel >= 8.6 +BuildRequires: tcl-tdbc-devel >= %{version} +Requires: tcl >= 8.6 +Requires: tcl-tdbc >= %{version} +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Tcl TDBC MySQL module is the driver for Tcl Database Connectivity +(TDBC) to access MySQL databases. + +%description -l pl.UTF-8 +Moduł Tcl TDBC MySQL to sterownik szkieletu Tcl Database Connectivity +(TDBC) służący do dostępu do baz danych MySQL. + +%prep +%setup -q -n tdbcmysql%{version} + +%build +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +# internal headers +%{__rm} $RPM_BUILD_ROOT%{_includedir}/{fakemysql,mysqlStubs}.h + +# allow dependency generation +chmod 755 $RPM_BUILD_ROOT%{_libdir}/tdbcmysql%{version}/*.so + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc ChangeLog README license.terms +%dir %{_libdir}/tdbcmysql%{version} +%attr(755,root,root) %{_libdir}/tdbcmysql%{version}/libtdbcmysql%{version}.so +%{_libdir}/tdbcmysql%{version}/*.tcl +%{_mandir}/mann/tdbc_mysql.n* ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/tcl-tdbc-mysql.git/commitdiff/2f0bbdca79a7d1974df7302d36f9ef8f7dc53058 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit