libgsf-python is gone with 'excise old bit-rotted python support'
This commit is contained in:
parent
9ae74570fa
commit
bcd2a2c1b9
30
libgsf.spec
30
libgsf.spec
@ -1,10 +1,3 @@
|
||||
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from
|
||||
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from
|
||||
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%endif
|
||||
|
||||
Summary: GNOME Structured File library
|
||||
Name: libgsf
|
||||
Version: 1.14.26
|
||||
@ -18,6 +11,7 @@ BuildRequires: glib2-devel, perl-XML-Parser
|
||||
BuildRequires: libtool, libxml2-devel, glib2-devel, bzip2-devel, gettext
|
||||
BuildRequires: libbonobo-devel, pygtk2-devel, intltool, gnome-vfs2-devel
|
||||
Obsoletes: libgsf-gnome < 1.14.22
|
||||
Obsoletes: libgsf-python < 1.14.26
|
||||
|
||||
%description
|
||||
A library for reading and writing structured files (e.g. MS OLE and Zip)
|
||||
@ -33,18 +27,11 @@ Obsoletes: libgsf-gnome-devel < 1.14.22
|
||||
Libraries, headers, and support files necessary to compile applications using
|
||||
libgsf.
|
||||
|
||||
%package python
|
||||
Summary: Python bindings for libgsf
|
||||
Group: Development/Libraries
|
||||
|
||||
%description python
|
||||
Python bindings for libgsf
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-gtk-doc --disable-static --with-python
|
||||
%configure --disable-gtk-doc --disable-static
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
make %{?_smp_mflags}
|
||||
@ -55,12 +42,6 @@ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
%find_lang libgsf
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
rm -f $RPM_BUILD_ROOT%{python_sitearch}/gsf/*.la
|
||||
|
||||
if [ "%{python_sitelib}" != "%{python_sitearch}" ]; then
|
||||
mv $RPM_BUILD_ROOT%{python_sitelib}/gsf/* $RPM_BUILD_ROOT%{python_sitearch}/gsf
|
||||
rm -r $RPM_BUILD_ROOT%{python_sitelib}/gsf
|
||||
fi
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
@ -87,10 +68,6 @@ fi
|
||||
%{_mandir}/man1/gsf.1.gz
|
||||
%{_mandir}/man1/gsf-vba-dump.1.gz
|
||||
|
||||
%files python
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/gsf/
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
@ -98,6 +75,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
* Mon Mar 04 2013 Caolán McNamara <caolanm@redhat.com> 1.14.26-1
|
||||
- latest version
|
||||
- drop integrated gnome689706.gsf_input_dup.patch
|
||||
- libgsf-python is gone with "excise old bit-rotted python support"
|
||||
|
||||
* Fri Feb 22 2013 Caolán McNamara <caolanm@redhat.com> 1.14.25-2
|
||||
- Resolves: gnome#689706 fix gsf_input_dup
|
||||
@ -262,7 +240,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
* Fri Jul 14 2006 Bill Nottingham <notting@redhat.com> - 1.14.1-6
|
||||
- gnome-vfs2-devel no longer requires libbonobo-devel; add it as a buildreq
|
||||
|
||||
* Wed Jul 13 2006 Jesse Keating <jkeating@redhat.com> - 1.14.1-5
|
||||
* Thu Jul 13 2006 Jesse Keating <jkeating@redhat.com> - 1.14.1-5
|
||||
- rebuild
|
||||
- add missing br gettext
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user