From d37b38c009aed0dd758d75eb8350b13f05d1fb1b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:00:20 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.1.1-1mamba;Wed Nov 11 2020] --- README.md | 2 ++ qdep.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 qdep.spec diff --git a/README.md b/README.md index 01c0953..9f183d4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qdep +A very basic yet simple to use dependency management tool for qmake based projects. + diff --git a/qdep.spec b/qdep.spec new file mode 100644 index 0000000..558570e --- /dev/null +++ b/qdep.spec @@ -0,0 +1,49 @@ +Name: qdep +Version: 1.1.1 +Release: 1mamba +Summary: A very basic yet simple to use dependency management tool for qmake based projects +Group: Applications/Development +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/Skycoder42/qdep +Source: https://github.com/Skycoder42/qdep.git/%{version}/qdep-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 qdep' to get the list of build requirements. +## AUTOBUILDREQ-END +BuildRequires: python-lockfile-py3 +Requires: python-lockfile-py3 +Requires: python-argcomplete-py3 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A very basic yet simple to use dependency management tool for qmake based projects. + +%prep +%setup -q + +%build +CFLAGS="%{optflags}" %{__python3} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python3} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{python3_inc} \ + --install-lib=%{python3_sitearch} \ + --record=%{name}.filelist + +sed -i "s,.*/man/.*,&.gz," %{name}.filelist + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.filelist +%defattr(-,root,root) +%doc LICENSE + +%changelog +* Wed Nov 11 2020 Silvan Calarco 1.1.1-1mamba +- package created using the webbuild interface