1 # TODO: extra (pgtclsh, pgwish) - messy Makefile, requires libpgtcl in library path and with proper soname
2 Summary: pgtcl-ng - Tcl interface for PostgreSQL
3 Summary(pl.UTF-8): pgtcl-ng - interfejs Tcl dla PostgreSQL
8 Group: Development/Languages/Tcl
9 Source0: http://pgfoundry.org/frs/download.php/1229/pgtcl%{version}.tar.gz
10 # Source0-md5: 25eda4bb40fb3d4ec9b205a1fdc1bbbc
11 URL: http://pgfoundry.org/projects/pgtclng/
12 BuildRequires: postgresql-devel
13 BuildRequires: tcl-devel >= 8
15 Obsoletes: postgresql-tcl
16 Obsoletes: tcl-libpgtcl
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 pgtcl is the Tcl interface for the PostgreSQL Database Management
21 System. It is a loadable Tcl module implementing commands which allow
22 an application to interact with a PostgreSQL database. pgtcl-ng is a
23 new revision of the pgtcl interface.
25 %description -l pl.UTF-8
26 pgtcl to interfejs Tcl do systemu baz danych PostgreSQL. Jest to
27 ładowalny moduł Tcl-a implementujący polecenia pozwalające aplikacji
28 współpracować z bazą danych PostgreSQL. pgtcl-ng to nowa wersja
32 Summary: C header file for pgtcl-ng interface
33 Summary(pl.UTF-8): Plik nagłówkowy C dla interfejsu pgtcl-ng
34 Group: Development/Languages/Tcl
35 Requires: %{name} = %{version}-%{release}
36 Requires: postgresql-devel
37 Obsoletes: postgresql-tcl-devel
38 Obsoletes: postgresql-tcl-static
39 Obsoletes: tcl-libpgtcl-devel
42 C header file for pgtcl-ng interface.
44 %description devel -l pl.UTF-8
45 Plik nagłówkowy C dla interfejsu pgtcl-ng.
48 %setup -q -n pgtcl%{version}
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
66 %doc COPYRIGHT ChangeLog* NEWS README*
67 %dir %{_libdir}/pgtcl%{version}
68 %attr(755,root,root) %{_libdir}/pgtcl%{version}/libpgtcl%{version}.so
69 %{_libdir}/pgtcl%{version}/pkgIndex.tcl
72 %defattr(644,root,root,755)
73 %{_includedir}/libpgtcl.h