Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 41 additions & 14 deletions rpm/quads-lib.spec
Original file line number Diff line number Diff line change
@@ -1,40 +1,67 @@
Name: quads-lib
Version: 0.1.9
Release: 1%{?dist}
Summary: Python client library for interacting with the QUADS API
#### NOTE: if building locally you may need to do the following:
####
#### yum install rpmdevtools -y
#### spectool -g -R rpm/quads-lib.spec
####
#### At this point you can use rpmbuild -ba quads-lib.spec
#### this is because our Source0 is a remote Github location
####
#### Our upstream repository is located here:
#### https://copr.fedorainfracloud.org/coprs/quadsdev/QUADS

License: LGPL-3.0-only
URL: https://github.com/quadsproject/python-quads-lib
Source0: %{name}-%{version}.tar.gz
%define name quads-lib
%define reponame python-quads-lib
%define branch development
%define version 0.1.9
%define build_timestamp %{lua: print(os.date("%Y%m%d"))}

BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Summary: Python client library for interacting with the QUADS API
Name: %{name}
Version: %{version}
Release: %{build_timestamp}
Source0: https://github.com/quadsproject/%{reponame}/archive/%{branch}.tar.gz#/%{name}-%{version}-%{release}.tar.gz
License: LGPL-3.0-only
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildArch: noarch
Vendor: QUADS Project
Packager: QUADS Project
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3 >= 3.9
Requires: python3-requests >= 2.31.0

Requires: python3-requests >= 2.31.0
AutoReq: no

Url: https://quads.dev

%description

Python client library for interacting with the QUADS (Automated Scheduling
and Delivery System) API. Provides QuadsApi class for REST API communication
with QUADS servers.

%prep
%autosetup -n quads_lib-%{version}
%autosetup -n %{reponame}-%{branch}

%build
%py3_build

%install
%py3_install

%clean
rm -rf %{buildroot}

%files
%license LICENSE
%doc README.rst CHANGELOG.rst
%license LICENSE
%{python3_sitelib}/quads_lib/
%{python3_sitelib}/quads_lib-*.egg-info/

%changelog
* Wed Apr 30 2026 Will Foster <wfoster@redhat.com> - 0.1.9-1

* Wed Apr 30 2026 Will Foster <wfoster@redhat.com>
- 0.1.9 release
- Initial RPM package for quads-lib
- Provides QuadsApi client for QUADS API v3
- Required dependency for quads-client TUI
Loading