From 2a2671b60f7f6cdb2e99b330a865110d5aa1da2c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Jun 13 2019 20:19:24 +0000 Subject: * Tue Jun 11 2019 Fabian Affolter - 0.1.4-2 - Change source (rhbz#1718903) * Mon Jun 10 2019 Fabian Affolter - 0.1.4-1 - Initial package for Fedora --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..514a833 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/opendata-transport-0.1.4.tar.gz diff --git a/python-opendata-transport.spec b/python-opendata-transport.spec new file mode 100644 index 0000000..9efdd61 --- /dev/null +++ b/python-opendata-transport.spec @@ -0,0 +1,47 @@ +%global pypi_name opendata-transport + +Name: python-%{pypi_name} +Version: 0.1.4 +Release: 1%{?dist} +Summary: A Python client for interacting with transport.opendata.ch + +License: MIT +URL: https://github.com/fabaff/python-opendata-transport +Source0: https://github.com/fabaff/python-opendata-transport/archive/%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%description +A Python client for interacting with transport.opendata.ch. This module is +simply retrieving the details about a given connection between two stations. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +A Python client for interacting with transport.opendata.ch. This module is +simply retrieving the details about a given connection between two stations. + +%prep +%autosetup -n %{name}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%doc CHANGES.rst README.rst example.py +%license LICENSE +%{python3_sitelib}/opendata_transport/ +%{python3_sitelib}/python_opendata_transport*.egg-info + +%changelog +* Tue Jun 11 2019 Fabian Affolter - 0.1.4-2 +- Change source (rhbz#1718903) + +* Mon Jun 10 2019 Fabian Affolter - 0.1.4-1 +- Initial package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..5e0edb5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (opendata-transport-0.1.4.tar.gz) = 97ec0b970ba6fd1c03956a7f8cc545e00362946877e0f9a9b974da1e927ee41bdeabaf2350ee8dd01a73ccbfa700d2978bc81cebb2382acff7108d6dc10bce37