-
Notifications
You must be signed in to change notification settings - Fork 2
/
postgresql-dbi-link.spec
85 lines (67 loc) · 2.7 KB
/
postgresql-dbi-link.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
%define sname dbi-link
Name: postgresql-%{sname}
Version: 2.0.0
Release: 1
Summary: Partial implementation of the SQL/MED portion of the SQL:2003 specification
Group: Applications/Databases
License: BSD
URL: http://pgfoundry.org/projects/dbi-link/
Source0: http://pgfoundry.org/frs/download.php/1235/%{sname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: postgresql-server, perl >= 5.14.0, perl-DBI >= 1.52
BuildArch: noarch
%description
If you've ever wanted to treat DBI-accessible data sources as though
they were PostgreSQL tables, you now can.
You can do gradual, low-risk migrations from other DBMSs, add speed
and accuracy to your ETL processes...your imagination is the only
limit.
%prep
%setup -q -n %{sname}-%{version}
%build
%install
rm -rf %{buildroot}
install -d %{buildroot}/%{_datadir}/%{name}/
install -p -m 644 *.sql %{buildroot}/%{_datadir}/%{name}/
# docs
install -d %{buildroot}/%{_datadir}/%{name}/examples
cp -rp examples/csv %{buildroot}/%{_datadir}/%{name}/examples
cp -rp examples/mssql %{buildroot}/%{_datadir}/%{name}/examples
cp -rp examples/mysql %{buildroot}/%{_datadir}/%{name}/examples
cp -rp examples/oracle %{buildroot}/%{_datadir}/%{name}/examples
cp -rp examples/postgresql %{buildroot}/%{_datadir}/%{name}/examples
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc copyright.txt IMPLEMENTATION.txt README.txt
%doc README.Oracle README.Sybase_MSSQL TODO.txt ROADMAP.txt
%doc %{_datadir}/%{name}/examples
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*.sql
%changelog
* Thu Nov 7 2013 - David Fetter <[email protected]> 2.1.0-1
- JSON-ized
- Require PostgreSQL 9.3 or better.
* Sat Jan 27 2007 - David Fetter <[email protected]> 2.0.0-1
- 2.0.0
- Moved "test" files to the more appropriate "examples" directory per
rh bugzilla # 199682.
- Put back Oracle and Excel portions as they no longer cause
inappropriate dependencies.
- Added new Sybase/MS-SQL Server examples.
* Mon Jan 22 2007 - Devrim GUNDUZ <[email protected]> 2.0-0.4.beta1
- More spec file fixes per rh bugzilla #199682
* Wed Jan 17 2007 - Devrim GUNDUZ <[email protected]> 2.0-0.3.beta1
- A few more spec file fixes, per rh bugzilla review # 199682
* Tue Jan 16 2007 - Devrim GUNDUZ <[email protected]> 2.0-0.2.beta1
- Removed Oracle and Excel portions
* Sun Jan 14 2007 - Devrim GUNDUZ <[email protected]> 2.0-0.1.beta1
- Some fixes to spec file, per bugzilla review
* Tue Dec 12 2006 - Devrim GUNDUZ <[email protected]> 2.0beta1-1
- Update to 2.0beta1
* Fri Jul 21 2006 - Devrim GUNDUZ <[email protected]> 1.0.0-2
- 1.1.0
- Fixed rpmlint errors
* Thu Dec 29 2005 - Devrim GUNDUZ <[email protected]> 1.0.0
- Initial version