|
|
02f95a9 |
%global srcname wand
|
|
|
02f95a9 |
%global sum Ctypes-based simple MagickWand API binding for Python
|
|
|
c8ac4a7 |
|
|
|
02f95a9 |
Name: python-%{srcname}
|
|
|
d3ec7f8 |
Version: 0.4.4
|
|
|
65e45e4 |
Release: 7%{?dist}
|
|
|
02f95a9 |
Summary: %{sum}
|
|
|
c8ac4a7 |
|
|
|
c8ac4a7 |
License: MIT
|
|
|
02f95a9 |
URL: http://%{srcname}-py.org
|
|
|
02f95a9 |
Source0: https://github.com/dahlia/%{srcname}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
c8ac4a7 |
|
|
|
c8ac4a7 |
BuildArch: noarch
|
|
|
c8ac4a7 |
BuildRequires: python2-devel
|
|
|
02f95a9 |
BuildRequires: python3-devel
|
|
|
c8ac4a7 |
Requires: ImageMagick
|
|
|
c8ac4a7 |
|
|
|
c8ac4a7 |
%description
|
|
|
c8ac4a7 |
Wand is a ctypes-based simple ImageMagick binding for Python. It doesn't cover
|
|
|
c8ac4a7 |
all functionalities of MagickWand API currently.
|
|
|
c8ac4a7 |
|
|
|
02f95a9 |
%package -n python2-%{srcname}
|
|
|
02f95a9 |
Summary: %{sum}
|
|
|
02f95a9 |
%{?python_provide:%python_provide python2-%{srcname}}
|
|
|
02f95a9 |
Obsoletes: python-%{srcname} < 0.4.2-3
|
|
|
c8ac4a7 |
|
|
|
02f95a9 |
%description -n python2-%{srcname}
|
|
|
c8ac4a7 |
Wand is a ctypes-based simple ImageMagick binding for Python. It doesn't cover
|
|
|
c8ac4a7 |
all functionalities of MagickWand API currently.
|
|
|
c8ac4a7 |
|
|
|
02f95a9 |
%package -n python3-%{srcname}
|
|
|
02f95a9 |
Summary: %{sum}
|
|
|
02f95a9 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
c8ac4a7 |
|
|
|
02f95a9 |
%description -n python3-%{srcname}
|
|
|
02f95a9 |
Wand is a ctypes-based simple ImageMagick binding for Python. It doesn't cover
|
|
|
02f95a9 |
all functionalities of MagickWand API currently.
|
|
|
c8ac4a7 |
|
|
|
c8ac4a7 |
|
|
|
02f95a9 |
%prep
|
|
|
02f95a9 |
%autosetup -n %{srcname}-%{version}
|
|
|
c8ac4a7 |
|
|
|
c8ac4a7 |
%build
|
|
|
02f95a9 |
%py2_build
|
|
|
02f95a9 |
%py3_build
|
|
|
c8ac4a7 |
|
|
|
c8ac4a7 |
%install
|
|
|
02f95a9 |
# Must do the python2 install first because the scripts in /usr/bin are
|
|
|
02f95a9 |
# overwritten with every setup.py install, and in general we want the
|
|
|
02f95a9 |
# python3 version to be the default.
|
|
|
02f95a9 |
%py2_install
|
|
|
02f95a9 |
%py3_install
|
|
|
c8ac4a7 |
|
|
|
c8ac4a7 |
rm $RPM_BUILD_ROOT/usr/README.rst
|
|
|
c8ac4a7 |
|
|
|
02f95a9 |
%files -n python2-%{srcname}
|
|
|
02f95a9 |
%doc README.rst
|
|
|
02f95a9 |
%license LICENSE
|
|
|
c8ac4a7 |
%{python2_sitelib}/*
|
|
|
c8ac4a7 |
|
|
|
02f95a9 |
%files -n python3-%{srcname}
|
|
|
02f95a9 |
%doc README.rst
|
|
|
02f95a9 |
%license LICENSE
|
|
|
c8ac4a7 |
%{python3_sitelib}/*
|
|
|
c8ac4a7 |
|
|
|
c8ac4a7 |
|
|
|
c8ac4a7 |
%changelog
|
|
|
65e45e4 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-7
|
|
|
65e45e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
65e45e4 |
|
|
|
e1db288 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.4-6
|
|
|
e1db288 |
- Rebuilt for Python 3.7
|
|
|
e1db288 |
|
|
|
97c6dd5 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-5
|
|
|
97c6dd5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
97c6dd5 |
|
|
|
25d0239 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-4
|
|
|
25d0239 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
25d0239 |
|
|
|
fae4500 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-3
|
|
|
fae4500 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
fae4500 |
|
|
|
b635606 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.4.4-2
|
|
|
b635606 |
- Rebuild for Python 3.6
|
|
|
b635606 |
|
|
|
d3ec7f8 |
* Sun Oct 30 2016 Dennis Chen <barracks510@gmail.com> - 0.4.4-1
|
|
|
d3ec7f8 |
- Updated to Wand Version 0.4.4.
|
|
|
d3ec7f8 |
|
|
|
1d02a78 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.3-2
|
|
|
1d02a78 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
1d02a78 |
|
|
|
02f95a9 |
* Fri Jun 24 2016 Dennis Chen <barracks510@gmail.com> - 0.4.3-1
|
|
|
02f95a9 |
- Updated to Wand Version 0.4.3.
|
|
|
02f95a9 |
- Modernized SPEC file.
|
|
|
02f95a9 |
|
|
|
15665dc |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-2
|
|
|
15665dc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
15665dc |
|
|
|
779faa7 |
* Fri Dec 25 2015 Dennis Chen <barracks510@gmail.com> - 0.4.2-1
|
|
|
779faa7 |
- Updated to Wand version 0.4.2.
|
|
|
779faa7 |
|
|
|
fc38fb0 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-4
|
|
|
fc38fb0 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
fc38fb0 |
|
|
|
625cba8 |
* Thu Nov 5 2015 Dennis Chen <barracks510@gmail.com> 0.4.1-3
|
|
|
625cba8 |
- Python3.5 rawhide rebuild
|
|
|
02f95a9 |
|
|
|
c8ac4a7 |
* Wed Oct 28 2015 Dennis Chen <barracks510@gmail.com> 0.4.1-2
|
|
|
c8ac4a7 |
- Fix python3 runtime dependency
|
|
|
c8ac4a7 |
- Fix spec errors
|
|
|
02f95a9 |
|
|
|
c8ac4a7 |
* Tue Oct 27 2015 Dennis Chen <barracks510@gmail.com> 0.4.1-1
|
|
|
c8ac4a7 |
- First Fedora Packaging
|
|
|
c8ac4a7 |
|