Initial Fedora packaging (#1260219)
This commit is contained in:
parent
480e133125
commit
c854e8de64
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/mallard-ducktype-0.1.tar.gz
|
46
python3-mallard-ducktype.spec
Normal file
46
python3-mallard-ducktype.spec
Normal file
@ -0,0 +1,46 @@
|
||||
%global srcname mallard-ducktype
|
||||
|
||||
Name: python3-mallard-ducktype
|
||||
Version: 0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Parse Ducktype files and convert them to Mallard
|
||||
|
||||
License: MIT
|
||||
URL: https://pypi.python.org/pypi/%{srcname}
|
||||
Source0: https://pypi.python.org/packages/source/m/%{srcname}/%{srcname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
|
||||
%description
|
||||
Parse Ducktype files and convert them to Mallard.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{srcname}-%{version}
|
||||
rm -rf %{srcname}-%{version}/mallard_ducktype.egg-info/
|
||||
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
|
||||
%check
|
||||
%{__python3} setup.py test
|
||||
|
||||
|
||||
%files
|
||||
# No separate license file.
|
||||
%doc
|
||||
%{_bindir}/ducktype
|
||||
%{python3_sitelib}/*
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Sep 04 2015 David King <amigadave@amigadave.com> - 0.1-1
|
||||
- Initial Fedora packaging (#1260219)
|
Loading…
Reference in New Issue
Block a user