From c6556f8366a684a1870e777a781e38e0e103b459 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 27 2015 15:19:24 +0000 Subject: Include a spec file for mdapi --- diff --git a/MANIFEST.in b/MANIFEST.in index fada3ac..4a38356 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,6 @@ include COPYING include requirements.txt +include mdapi.spec recursive-include mdapi * diff --git a/mdapi.spec b/mdapi.spec new file mode 100644 index 0000000..30c6052 --- /dev/null +++ b/mdapi.spec @@ -0,0 +1,51 @@ +Name: mdapi +Version: 0.1 +Release: 1%{?dist} +Summary: A simple API to query the metadata of the repositories + +License: GPLv2+ +URL: https://pagure.io/mdapi +Source0: https://pagure.io/releases/mdapi/%{name}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python3-aiohttp +BuildRequires: python3-requests +BuildRequires: python3-setuptools +BuildRequires: python3-simplejson +BuildRequires: python3-sqlalchemy +BuildRequires: python3-werkzeug + +Requires: python3-aiohttp +Requires: python3-requests +Requires: python3-setuptools +Requires: python3-simplejson +Requires: python3-sqlalchemy +Requires: python3-werkzeug + +%description +Small web and asynchronous application serving the metadata of the Fedora +repositories + + +%prep +%setup -q + +%build +%{__python3} setup.py build + + +%install +%{__python3} setup.py install -O1 --skip-build --root=%{buildroot} + + +%files +%doc COPYING +%{python3_sitelib}/mdapi/ +%{python3_sitelib}/mdapi*.egg-info +%{_bindir}/mdapi-get_repo_md + + +%changelog +* Tue Oct 27 2015 Pierre-Yves Chibon - 0.1-1 +- First package for Fedora