forked from pool/python-python-barcode
- Run the spec-cleaner
initial OBS build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-barcode?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
9c82c0b6db
commit
699fcfee0c
3
_service
3
_service
@@ -1,3 +0,0 @@
|
||||
<services>
|
||||
|
||||
<service name="download_files" mode="localonly" /></services>
|
@@ -1,5 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 08:08:05 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Run the spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 25 16:28:57 UTC 2019 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- Verion 0.9 of python-barcode (fork of pyBarcode)
|
||||
initial OBS build
|
||||
initial OBS build
|
||||
|
@@ -19,37 +19,32 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
|
||||
%define base_name python-barcode
|
||||
Name: python-%{base_name}
|
||||
Version: 0.9.0
|
||||
Release: 0
|
||||
Summary: Library to create Barcodes with Python
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/WhyNotHugo/python-barcode
|
||||
Source: https://files.pythonhosted.org/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Pillow}
|
||||
BuildRequires: %{python_module pathlib}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Version: 0.9.0
|
||||
Release: 0
|
||||
Source: https://files.pythonhosted.org/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz
|
||||
Url: https://github.com/WhyNotHugo/%{base_name}
|
||||
Summary: Library to create Barcodes with Python
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Library to create standard barcodes with Python. No external modules needed (optional PIL support included).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{base_name}-%{version}
|
||||
|
||||
#remove unneeded files
|
||||
##/usr/bin/rm doc/make.bat
|
||||
##/usr/bin/rm doc/Makefile
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
@@ -61,7 +56,6 @@ Library to create standard barcodes with Python. No external modules needed (opt
|
||||
%files %{python_files}
|
||||
%doc docs/*
|
||||
%license LICENCE
|
||||
%defattr(-,root,root)
|
||||
%{python_sitelib}/*
|
||||
%python3_only %{_bindir}/python-barcode
|
||||
|
||||
|
Reference in New Issue
Block a user