update to 3.30.4 [release 3.30.4-1mamba;Fri Dec 21 2018]
This commit is contained in:
parent
0107b9e43c
commit
26ad8c8f1f
@ -1,7 +1,7 @@
|
||||
%define majver %(echo %version | cut -d. -f 1-2)
|
||||
|
||||
Name: pygobject
|
||||
Version: 3.18.2
|
||||
Version: 3.30.4
|
||||
Release: 1mamba
|
||||
Summary: A convenient wrapper for the GObject+ library for use in Python programs
|
||||
Group: System/Libraries
|
||||
@ -20,7 +20,14 @@ BuildRequires: libffi-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libpython-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: py2cairo-devel
|
||||
BuildRequires: pycairo-devel
|
||||
%if "%{?with_pyver}"
|
||||
BuildRequires: pycairo-py%{with_pyver}
|
||||
Requires: pycairo-py%{with_pyver}
|
||||
%else
|
||||
BuildRequires: pycairo
|
||||
Requires: pycairo
|
||||
%endif
|
||||
Requires: python >= %python_version
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
@ -29,7 +36,6 @@ PyGObject provides a convenient wrapper for the GObject+ library for use in Pyth
|
||||
|
||||
%if "%{?with_pyver}"
|
||||
%pyver_package
|
||||
BuildRequires: py%{pyver}cairo
|
||||
%endif
|
||||
|
||||
%package devel
|
||||
@ -46,24 +52,25 @@ This package contains static libraries and header files need for development.
|
||||
#%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--enable-docs \
|
||||
PYTHON=%{__python}
|
||||
|
||||
%make
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
%{__python} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{python_inc} \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files %{?pyappend}
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%{python_sitearch}/*
|
||||
#%{_libdir}/libpyglib-gi-2.0-python%{python_version}.so.*
|
||||
%doc AUTHORS COPYING
|
||||
%doc COPYING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
@ -72,9 +79,12 @@ This package contains static libraries and header files need for development.
|
||||
#%{_libdir}/libpyglib-gi-2.0-python%{python_version}.la
|
||||
#%{_libdir}/libpyglib-gi-2.0-python%{python_version}.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%doc ChangeLog NEWS README
|
||||
%doc NEWS
|
||||
|
||||
%changelog
|
||||
* Fri Dec 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.30.4-1mamba
|
||||
- update to 3.30.4
|
||||
|
||||
* Tue Nov 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.2-1mamba
|
||||
- update to 3.18.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user