50 lines
1.4 KiB
RPMSpec
50 lines
1.4 KiB
RPMSpec
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 <silvan.calarco@mambasoft.it>
|
|
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 <silvan.calarco@mambasoft.it> 1.1.1-1mamba
|
|
- package created using the webbuild interface
|