diff options
author | Jakub Bogusz | 2016-03-09 17:45:55 (GMT) |
---|---|---|
committer | Jakub Bogusz | 2016-03-09 17:45:55 (GMT) |
commit | 2f0bbdca79a7d1974df7302d36f9ef8f7dc53058 (patch) | |
tree | 68b341938775cc3eae162639296e11633b0028f2 | |
download | tcl-tdbc-mysql-2f0bbdca79a7d1974df7302d36f9ef8f7dc53058.zip tcl-tdbc-mysql-2f0bbdca79a7d1974df7302d36f9ef8f7dc53058.tar.gz |
-rw-r--r-- | tcl-tdbc-mysql.spec | 53 |
1 files changed, 53 insertions, 0 deletions
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* |