diff --git a/README.md b/README.md index af195fd..705d158 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # conan +Decentralized, open-source (MIT), C/C++ package manager. + diff --git a/conan.spec b/conan.spec new file mode 100644 index 0000000..f53f892 --- /dev/null +++ b/conan.spec @@ -0,0 +1,69 @@ +Name: conan +Version: 1.42.1 +Release: 1mamba +Summary: Decentralized, open-source (MIT), C/C++ package manager +Group: System/Management +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/conan-io/conan +Source: https://github.com/conan-io/conan.git/%{version}/conan-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(bottle) +BuildRequires: python3.7dist(colorama) +BuildRequires: python3.7dist(distro) +BuildRequires: python3.7dist(fasteners) +BuildRequires: python3.7dist(jinja2) +BuildRequires: python3.7dist(node-semver) +BuildRequires: python3.7dist(patch-ng) +BuildRequires: python3.7dist(pluginbase) +BuildRequires: python3.7dist(pygments) +BuildRequires: python3.7dist(pyjwt) +BuildRequires: python3.7dist(python-dateutil) +BuildRequires: python3.7dist(pyyaml) +BuildRequires: python3.7dist(requests) +BuildRequires: python3.7dist(setuptools) +BuildRequires: python3.7dist(six) +BuildRequires: python3.7dist(tqdm) +BuildRequires: python3.7dist(urllib3) +## AUTOBUILDREQ-END + +%description +Decentralized, open-source (MIT), C/C++ package manager. + +%prep +%setup -q +sed -i "s|Jinja2>=.*|Jinja2|" conans/requirements.txt +sed -i "s|node-semver==.*|node-semver|" conans/requirements.txt +sed -i "s|PyJWT>=.*|PyJWT|" conans/requirements.txt + +%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 "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.filelist +%defattr(-,root,root) +%dir %{python3_sitearch}/conan-%{version}-py*.egg-info +%{python3_sitearch}/conan-%{version}-py*.egg-info/* + +%changelog +* Mon Nov 22 2021 Automatic Build System 1.42.1-1mamba +- automatic version update by autodist + +* Sat Aug 28 2021 Silvan Calarco 1.39.0-1mamba +- package created using the webbuild interface