]> git.pld-linux.org Git - packages/tcl-tdbc-postgres.git/blob - tcl-tdbc-postgres.spec
790705dd55c670c0cfc3059702865189ef0f5801
[packages/tcl-tdbc-postgres.git] / tcl-tdbc-postgres.spec
1 Summary:        TDBC driver to access PostgreSQL databases
2 Summary(pl.UTF-8):      Sterownik TDBC służący do dostępu do baz danych PostgreSQL
3 Name:           tcl-tdbc-postgres
4 Version:        1.1.0
5 Release:        1
6 License:        Tcl (BSD-like)
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/tcl/tdbcpostgres%{version}.tar.gz
9 # Source0-md5:  3a5e4e3007f0804a6205fe1ee978f2af
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 PostgreSQL module is the driver for Tcl Database Connectivity
19 (TDBC) to access PostgreSQL databases.
20
21 %description -l pl.UTF-8
22 Moduł Tcl TDBC PostgreSQL to sterownik szkieletu Tcl Database
23 Connectivity (TDBC) służący do dostępu do baz danych PostgreSQL.
24
25 %prep
26 %setup -q -n tdbcpostgres%{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}/{fakepq,pqStubs}.h
40
41 # allow dependency generation
42 chmod 755 $RPM_BUILD_ROOT%{_libdir}/tdbcpostgres%{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}/tdbcpostgres%{version}
51 %attr(755,root,root) %{_libdir}/tdbcpostgres%{version}/libtdbcpostgres%{version}.so
52 %{_libdir}/tdbcpostgres%{version}/*.tcl
53 %{_mandir}/mann/tdbc_postgres.n*
This page took 0.057058 seconds and 2 git commands to generate.