Created
June 24, 2020 20:02
-
-
Save tonyskapunk/bc6eccc925dea2669894b6928d3ecd07 to your computer and use it in GitHub Desktop.
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
Name: HammerDB | |
Version: 3.3 | |
Release: 1%{?dist} | |
Summary: HammerDB util | |
Group: Database | |
License: GPL | |
URL: https://hammerdb.com | |
Source: https://github.com/TPC-Council/%{name}/releases/download/v%{version}/%{name}-%{version}-Linux.tar.gz | |
Packager: Packager Name | |
#AutoReqProv: no | |
%description | |
HammerDB is the leading benchmarking and load testing software for the worlds most popular databases supporting Oracle Database, SQL Server, IBM Db2, MySQL, MariaDB, PostgreSQL and Redis. | |
%prep | |
%autosetup | |
%install | |
export PREFIX=/opt/%{name} | |
export DESTDIR=%{buildroot} | |
mkdir -p ${DESTDIR}${PREFIX} | |
cp -a . ${DESTDIR}${PREFIX} | |
%clean | |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT | |
%files | |
%define __requires_exclude_from ^/opt/%{name}/lib | |
/opt/%{name}/* | |
%changelog | |
* Wed Jun 24 2020 Initial package <packager@domain.tld> - 3.3-1 | |
- Initial built for hammerdb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment