]> git.pld-linux.org Git - SPECS.git/blob - tcl-pgtcl.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / tcl-pgtcl.spec
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
4 Name:           tcl-pgtcl
5 Version:        1.6.0
6 Release:        1
7 License:        BSD
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
14 Provides:       tcl(Pgtcl)
15 Obsoletes:      postgresql-tcl
16 Obsoletes:      tcl-libpgtcl
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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.
24
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
29 interfejsu pgtcl.
30
31 %package devel
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
40
41 %description devel
42 C header file for pgtcl-ng interface.
43
44 %description devel -l pl.UTF-8
45 Plik nagłówkowy C dla interfejsu pgtcl-ng.
46
47 %prep
48 %setup -q -n pgtcl%{version}
49
50 %build
51 %configure
52
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
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
70
71 %files devel
72 %defattr(644,root,root,755)
73 %{_includedir}/libpgtcl.h
This page took 0.464645 seconds and 3 git commands to generate.