diff --git a/README.md b/README.md index 5959ccd..ca6f794 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # pgloader +pgloader is a data loading tool for PostgreSQL, using the COPY command. diff --git a/pgloader.spec b/pgloader.spec new file mode 100644 index 0000000..af9c071 --- /dev/null +++ b/pgloader.spec @@ -0,0 +1,53 @@ +Name: pgloader +Version: 3.6.3 +Release: 1mamba +Summary: A data loading tool for PostgreSQL, using the COPY command +Group: Applications/Databases +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://pgloader.io/ +Source: https://github.com/dimitri/pgloader.git/v%{version}/pgloader-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: sbcl + +%description +pgloader is a data loading tool for PostgreSQL, using the COPY command. + +#% debug_package + +%global __strip /bin/true +%global _build_id_links none + +%prep +%setup -q + +%build +make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +install -D -m755 build/bin/pgloader %{buildroot}%{_bindir}/pgloader + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/pgloader +%doc LICENSE + +%changelog +* Thu Dec 23 2021 Automatic Build System 3.6.3-1mamba +- automatic version update by autodist + +* Mon Mar 29 2021 Silvan Calarco 3.6.2-2mamba +- don't package build_id link conflicting with sbcl; don't strip + +* Mon Mar 29 2021 Silvan Calarco 3.6.2-1mamba +- package created using the webbuild interface