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