Skip to content

Commit

Permalink
Add Red Hat specfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ibarwick committed Apr 21, 2018
1 parent 0d1e325 commit fc5c16e
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions packaging/redhat/fbsql.spec
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

0 comments on commit fc5c16e

Please sign in to comment.