SPECS: libgsf.spec - updated to 1.14.2 - added python-gsf and pyth...
grzegol
grzegol at pld-linux.org
Tue Oct 3 20:43:19 CEST 2006
Author: grzegol Date: Tue Oct 3 18:43:19 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 1.14.2
- added python-gsf and python-gsf-gnome subpackages
- updated %%files
---- Files affected:
SPECS:
libgsf.spec (1.46 -> 1.47)
---- Diffs:
================================================================
Index: SPECS/libgsf.spec
diff -u SPECS/libgsf.spec:1.46 SPECS/libgsf.spec:1.47
--- SPECS/libgsf.spec:1.46 Wed Jul 12 18:40:30 2006
+++ SPECS/libgsf.spec Tue Oct 3 20:43:14 2006
@@ -7,28 +7,29 @@
Summary: GNOME Structured File library
Summary(pl): Biblioteka plików strukturalnych dla GNOME
Name: libgsf
-Version: 1.14.1
-Release: 3
+Version: 1.14.2
+Release: 1
License: GPL v2
Group: Libraries
Source0: http://ftp.gnome.org/pub/gnome/sources/libgsf/1.14/%{name}-%{version}.tar.bz2
-# Source0-md5: 00de00b99382d0b7e034e0fffd8951d4
+# Source0-md5: aea16a8408b65f95c308b0db3e3d3d47
Patch0: %{name}-no_GConf2_macros.patch
URL: http://www.gnumeric.org/
BuildRequires: GConf2-devel >= 2.14.0
-BuildRequires: ORBit2-devel >= 1:2.14.0
+BuildRequires: ORBit2-devel >= 1:2.14.3
BuildRequires: autoconf >= 2.54
BuildRequires: automake
BuildRequires: bzip2-devel
-BuildRequires: glib2-devel >= 1:2.12.0
-%{?with_apidocs:BuildRequires: gtk-doc >= 1.6}
+BuildRequires: glib2-devel >= 1:2.12.4
+%{?with_apidocs:BuildRequires: gtk-doc >= 1.7}
BuildRequires: gtk-doc-automake
BuildRequires: libtool
BuildRequires: libxml2-devel >= 1:2.6.26
BuildRequires: pkgconfig
+BuildRequires: python-pygtk-devel >= 2:2.10.2
# GNOME BR
%if %{with gnome}
-BuildRequires: gnome-vfs2-devel >= 2.15.3
+BuildRequires: gnome-vfs2-devel >= 2.16.1
%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,8 +47,8 @@
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: bzip2-devel
-Requires: glib2-devel >= 1:2.12.0
-Requires: gtk-doc-common >= 1.6
+Requires: glib2-devel >= 1:2.12.4
+Requires: gtk-doc-common >= 1.7
Requires: libxml2-devel >= 1:2.6.26
%description devel
@@ -88,7 +89,7 @@
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
Requires: %{name}-gnome = %{version}-%{release}
-Requires: gnome-vfs2-devel >= 2.15.3
+Requires: gnome-vfs2-devel >= 2.16.1
%description gnome-devel
libgsf-gnome header files.
@@ -121,6 +122,33 @@
%description -n gsf-office-thumbnailer -l pl
Prosty program tworzący miniaturki dokumentów.
+%package -n python-gsf
+Summary: Python gsf module
+Summary(pl): Moduł gsf dla pythona
+Group: Libraries
+%pyrequires_eq python-libs
+Requires: %{name} = %{version}-%{release}
+Requires: python-pygtk-gtk >= 2:2.10.2
+
+%description -n python-gsf
+Python gsf library.
+
+%description -n python-gsf -l pl
+Biblioteka gsf dla pythona.
+
+%package -n python-gsf-gnome
+Summary: Python gsf-gnome module
+Summary(pl): Moduł gsf-gnome dla pythona
+Group: Libraries
+%pyrequires_eq python-libs
+Requires: python-gsf = %{version}-%{release}
+
+%description -n python-gsf-gnome
+Python gsf-gnome library.
+
+%description -n python-gsf-gnome -l pl
+Biblioteka gsf-gnome dla pythona.
+
%prep
%setup -q
%{!?with_gnome:%patch0 -p1}
@@ -128,10 +156,9 @@
%build
rm -f acinclude.m4
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
%{__automake}
-LDFLAGS="%{rpmldflags} -Wl,--as-needed"
%configure \
%{?with_apidocs:--enable-gtk-doc} \
--with-html-dir=%{_gtkdocdir}/%{name} \
@@ -145,6 +172,10 @@
DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT%{_includedir}/%{name}-1/gsf-win32
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/gsf/*.{la,a}
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/gsf/*.py
+
+%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -161,9 +192,11 @@
%preun -n gsf-office-thumbnailer
%gconf_schema_uninstall gsf-office-thumbnailer.schemas
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS README NEWS
+%attr(755,root,root) %{_bindir}/gsf
+%attr(755,root,root) %{_bindir}/gsf-vba-dump
%attr(755,root,root) %{_libdir}/libgsf-?.so.*.*
%files devel
@@ -202,12 +235,30 @@
%{_mandir}/man1/gsf-office-thumbnailer.1*
%endif
+%files -n python-gsf
+%defattr(644,root,root,755)
+%dir %{py_sitedir}/gsf
+%attr(755,root,root) %{py_sitedir}/gsf/_gsfmodule.so
+%dir %{py_sitescriptdir}/gsf
+%{py_sitescriptdir}/gsf/*.py[co]
+
+%if %{with gnome}
+%files -n python-gsf-gnome
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/gsf/gnomemodule.so
+%endif
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.47 2006/10/03 18:43:14 grzegol
+- updated to 1.14.2
+- added python-gsf and python-gsf-gnome subpackages
+- updated %%files
+
Revision 1.46 2006/07/12 16:40:30 freetz
- rel.3, --as-needed support, updated deps
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libgsf.spec?r1=1.46&r2=1.47&f=u
More information about the pld-cvs-commit
mailing list