-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
Summary: A command line client for Firebird, similar to psql | ||
Name: fbsql | ||
Version: 0.2.0 | ||
Release: 1 | ||
Source: fbsql-%{version}.tar.gz | ||
URL: https://github.com/ibarwick/fbsql | ||
License: PostgreSQL | ||
Group: Productivity/Databases/Tools | ||
Packager: Ian Barwick | ||
BuildRequires: firebird-devel | ||
BuildRequires: libfq | ||
BuildRequires: readline-devel-6 | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-build | ||
Requires: libfq | ||
|
||
%description | ||
fbsql is a simple command-line client for the Firebird database, | ||
inspired by psql from PostgreSQL | ||
|
||
%prep | ||
%setup | ||
%configure | ||
%build | ||
./configure --prefix=%{_prefix} \ | ||
--with-ibase=/usr/include/firebird \ | ||
--with-readline=/usr/include/readline | ||
make | ||
|
||
%install | ||
rm -rf $RPM_BUILD_ROOT | ||
make DESTDIR=$RPM_BUILD_ROOT install | ||
|
||
%clean | ||
rm -rf $RPM_BUILD_ROOT | ||
|
||
%files | ||
%defattr(-, root, root) | ||
/usr/bin/fbsql | ||
|
||
%changelog | ||
* Sat Apr 21 2018 Ian Barwick ([email protected]) | ||
- fbsql 0.2.0 | ||
* Tue Feb 11 2014 Ian Barwick ([email protected]) | ||
- fbsql 0.1.4 | ||
* Sun Feb 2 2014 Ian Barwick ([email protected]) | ||
- First draft |