]> git.pld-linux.org Git - packages/tcl-pgtcl.git/blob - tcl-pgtcl.spec
- up to 3.0.0
[packages/tcl-pgtcl.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:        3.0.0
6 Release:        1
7 License:        BSD
8 Group:          Development/Languages/Tcl
9 Source0:        https://github.com/flightaware/Pgtcl/archive/v%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  cc01148205fbf130f1a2930fdee00ec1
11 URL:            https://flightaware.github.io/Pgtcl/
12 BuildRequires:  postgresql-devel
13 BuildRequires:  tcl-devel >= 8
14 Provides:       tcl(Pgtcl)
15 Obsoletes:      postgresql-tcl < 3.0.0
16 Obsoletes:      tcl-libpgtcl < 3.0.0
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 < 3.0.0
38 Obsoletes:      postgresql-tcl-static < 3.0.0
39 Obsoletes:      tcl-libpgtcl-devel < 3.0.0
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 %{__aclocal}
52 %{__autoconf}
53 %configure
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc LICENSE ChangeLog* README*
69 %dir %{_libdir}/pgtcl*.*
70 %attr(755,root,root) %{_libdir}/pgtcl*.*/libpgtcl*.so
71 %{_libdir}/pgtcl*.*/pkgIndex.tcl
72 %{_libdir}/pgtcl*.*/postgres-helpers.tcl
73 %{_mandir}/mann/PgGetConnectionId.n*
74 %{_mandir}/mann/pg_*.n*
75
76 %files devel
77 %defattr(644,root,root,755)
78 %{_includedir}/pgtclId.h
This page took 0.103887 seconds and 4 git commands to generate.