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)
|
%define majver %(echo %version | cut -d. -f 1-2)
|
||||||
|
|
||||||
Name: pygobject
|
Name: pygobject
|
||||||
Version: 3.18.2
|
Version: 3.30.4
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A convenient wrapper for the GObject+ library for use in Python programs
|
Summary: A convenient wrapper for the GObject+ library for use in Python programs
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -20,7 +20,14 @@ BuildRequires: libffi-devel
|
|||||||
BuildRequires: libglib-devel
|
BuildRequires: libglib-devel
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython-devel
|
||||||
## AUTOBUILDREQ-END
|
## 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
|
Requires: python >= %python_version
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
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}"
|
%if "%{?with_pyver}"
|
||||||
%pyver_package
|
%pyver_package
|
||||||
BuildRequires: py%{pyver}cairo
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
@ -46,24 +52,25 @@ This package contains static libraries and header files need for development.
|
|||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
--enable-docs \
|
|
||||||
PYTHON=%{__python}
|
|
||||||
|
|
||||||
%make
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{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
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files %{?pyappend}
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python_sitearch}/*
|
%doc COPYING
|
||||||
#%{_libdir}/libpyglib-gi-2.0-python%{python_version}.so.*
|
|
||||||
%doc AUTHORS COPYING
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%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}.la
|
||||||
#%{_libdir}/libpyglib-gi-2.0-python%{python_version}.so
|
#%{_libdir}/libpyglib-gi-2.0-python%{python_version}.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%doc ChangeLog NEWS README
|
%doc NEWS
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Nov 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.2-1mamba
|
||||||
- update to 3.18.2
|
- update to 3.18.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user