ALT Linux repos
S: | 1.14.50-alt1 |
5.0: | 1.14.13-alt1 |
4.1: | 1.14.9-alt0.M41.1 |
4.0: | 1.14.7-alt1 |
3.0: | 1.10.1-alt1 |
+updates: | 1.10.1-alt1.M30.1 |
Group :: System/Libraries
RPM: libgsf
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define ver_major 1.14
%def_disable static
%def_disable gtk_doc
Name: libgsf
Version: %ver_major.13
Release: alt1
Summary: GNOME Structured file library
License: %lgpl2plus
Group: System/Libraries
Url: http://www.gnome.org/
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.bz2
BuildPreReq: rpm-build-gnome rpm-build-licenses
# From configure.in
BuildPreReq: intltool
BuildPreReq: bzlib-devel
BuildPreReq: glib2-devel >= 2.8.0
BuildPreReq: libgio-devel
BuildPreReq: libxml2-devel >= 2.4.16
BuildPreReq: libbonobo-devel >= 2.0
BuildPreReq: gnome-vfs2-devel >= 2.2.0
BuildPreReq: gtk-doc >= 1.0
BuildPreReq: zlib-devel
BuildPreReq: GConf libGConf-devel
BuildPreReq: python-devel
BuildPreReq: python-module-pygobject-devel >= 2.10.0
BuildPreReq: python-module-pygtk-devel python-module-pyorbit-devel
BuildRequires: perl-XML-Parser
%description
GNOME Structured file library
%package devel
Summary: Libraries and include files for gsf
Group: Development/C
Requires: %name = %version-%release
%description devel
This package provides the necessary development libraries and include
files to allow you to develop programs using gsf.
%package devel-doc
Summary: Development documentation for gsf
Group: Development/C
BuildArch: noarch
Conflicts: %name-gnome < %version
%description devel-doc
This package contains the documentation for development programs using gsf.
%if_enabled static
%package devel-static
Summary: Static gsf libraries
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
This package provides the necessary development libraries to allow you
to build programs staticallly linked against libgsf.
%endif
%package gnome
Summary: GNOME Structured file library
Group: System/Libraries
Requires(post,preun): GConf
Requires: %name = %version-%release
%description gnome
GNOME Structured file library with Bonobo and Gnome-vfs support.
%package gnome-devel
Summary: Libraries and include files for gsf
Group: Development/C
Requires: %name-gnome = %version-%release
%description gnome-devel
This package provides the necessary development libraries and include
files to allow you to develop programs using gsf with Bonobo and
Gnome-vfs support.
%if_enabled static
%package gnome-devel-static
Summary: Static gsf libraries
Group: Development/C
Requires: %name-gnome-devel = %version-%release
%description gnome-devel-static
This package provides the necessary development libraries to allow you
to build programs staticallly linked against libgsf with Bonobo and
Gnome-vfs support.
%endif
%setup_python_module gsf
%package -n python-module-gsf
Summary: Python bindings for %name
Group: Development/Python
Autoreq: yes
Requires: %name = %version-%release
%add_python_req_skip _gsf
%description -n python-module-gsf
This package contains files that are needed to use libgsf from Python
programs.
%setup_python_module gsf-gnome
%package -n python-module-gsf-gnome
Summary: Python bindings for %name-gnome
Group: Development/Python
Autoreq: yes
Requires: %name-gnome = %version-%release
%description -n python-module-gsf-gnome
This package contains files that are needed to use libgsf-gnome from Python
programs.
%define _gtk_docdir %_datadir/gtk-doc/html
%prep
%setup -q
%build
%configure \
--with-gnome-vfs \
--with-gio \
--with-bz2 \
--with-python \
%{?_enable_gtk_doc:--enable-gtk-doc} \
%{subst_enable static}
%make_build
%install
%makeinstall
%find_lang --with-gnome %name
%post gnome
%gconf2_install gsf-office-thumbnailer
%preun gnome
if [ $1 = 0 ]; then
%gconf2_uninstall gsf-office-thumbnailer
fi
%files -f %name.lang
%_bindir/*
%_libdir/%name-1.so.*
%_man1dir/*
%doc AUTHORS README TODO NEWS ChangeLog
%exclude %_bindir/gsf-office-thumbnailer
%exclude %_man1dir/gsf-office-thumbnailer.*
%files devel
%dir %_includedir/%name-1
%dir %_includedir/%name-1/gsf
%_includedir/%name-1/gsf/*.h
%_libdir/%name-1.so
%_pkgconfigdir/%name-1.pc
%if_enabled static
%files devel-static
%_libdir/%name-1.a
%endif
%files gnome
%_bindir/gsf-office-thumbnailer
%_libdir/%name-gnome-1.so.*
%_man1dir/gsf-office-thumbnailer.1.*
%config %_sysconfdir/gconf/schemas/gsf-office-thumbnailer.schemas
%doc AUTHORS README TODO NEWS ChangeLog
%files gnome-devel
%_includedir/%name-1/gsf-gnome
%_libdir/%name-gnome-1.so
%_pkgconfigdir/%name-gnome-1.pc
%files devel-doc
%_gtk_docdir/*
%if_enabled static
%files gnome-devel-static
%_libdir/%name-gnome-1.a
%endif
%files -n python-module-gsf
%dir %python_sitelibdir/gsf
%python_sitelibdir/gsf/*.py*
%python_sitelibdir/gsf/_gsfmodule.so
%files -n python-module-gsf-gnome
%python_sitelibdir/gsf/gnomemodule.so
%exclude %python_sitelibdir/gsf/*.la
%changelog
…
Full changelog you can see here
%def_disable static
%def_disable gtk_doc
Name: libgsf
Version: %ver_major.13
Release: alt1
Summary: GNOME Structured file library
License: %lgpl2plus
Group: System/Libraries
Url: http://www.gnome.org/
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.bz2
BuildPreReq: rpm-build-gnome rpm-build-licenses
# From configure.in
BuildPreReq: intltool
BuildPreReq: bzlib-devel
BuildPreReq: glib2-devel >= 2.8.0
BuildPreReq: libgio-devel
BuildPreReq: libxml2-devel >= 2.4.16
BuildPreReq: libbonobo-devel >= 2.0
BuildPreReq: gnome-vfs2-devel >= 2.2.0
BuildPreReq: gtk-doc >= 1.0
BuildPreReq: zlib-devel
BuildPreReq: GConf libGConf-devel
BuildPreReq: python-devel
BuildPreReq: python-module-pygobject-devel >= 2.10.0
BuildPreReq: python-module-pygtk-devel python-module-pyorbit-devel
BuildRequires: perl-XML-Parser
%description
GNOME Structured file library
%package devel
Summary: Libraries and include files for gsf
Group: Development/C
Requires: %name = %version-%release
%description devel
This package provides the necessary development libraries and include
files to allow you to develop programs using gsf.
%package devel-doc
Summary: Development documentation for gsf
Group: Development/C
BuildArch: noarch
Conflicts: %name-gnome < %version
%description devel-doc
This package contains the documentation for development programs using gsf.
%if_enabled static
%package devel-static
Summary: Static gsf libraries
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
This package provides the necessary development libraries to allow you
to build programs staticallly linked against libgsf.
%endif
%package gnome
Summary: GNOME Structured file library
Group: System/Libraries
Requires(post,preun): GConf
Requires: %name = %version-%release
%description gnome
GNOME Structured file library with Bonobo and Gnome-vfs support.
%package gnome-devel
Summary: Libraries and include files for gsf
Group: Development/C
Requires: %name-gnome = %version-%release
%description gnome-devel
This package provides the necessary development libraries and include
files to allow you to develop programs using gsf with Bonobo and
Gnome-vfs support.
%if_enabled static
%package gnome-devel-static
Summary: Static gsf libraries
Group: Development/C
Requires: %name-gnome-devel = %version-%release
%description gnome-devel-static
This package provides the necessary development libraries to allow you
to build programs staticallly linked against libgsf with Bonobo and
Gnome-vfs support.
%endif
%setup_python_module gsf
%package -n python-module-gsf
Summary: Python bindings for %name
Group: Development/Python
Autoreq: yes
Requires: %name = %version-%release
%add_python_req_skip _gsf
%description -n python-module-gsf
This package contains files that are needed to use libgsf from Python
programs.
%setup_python_module gsf-gnome
%package -n python-module-gsf-gnome
Summary: Python bindings for %name-gnome
Group: Development/Python
Autoreq: yes
Requires: %name-gnome = %version-%release
%description -n python-module-gsf-gnome
This package contains files that are needed to use libgsf-gnome from Python
programs.
%define _gtk_docdir %_datadir/gtk-doc/html
%prep
%setup -q
%build
%configure \
--with-gnome-vfs \
--with-gio \
--with-bz2 \
--with-python \
%{?_enable_gtk_doc:--enable-gtk-doc} \
%{subst_enable static}
%make_build
%install
%makeinstall
%find_lang --with-gnome %name
%post gnome
%gconf2_install gsf-office-thumbnailer
%preun gnome
if [ $1 = 0 ]; then
%gconf2_uninstall gsf-office-thumbnailer
fi
%files -f %name.lang
%_bindir/*
%_libdir/%name-1.so.*
%_man1dir/*
%doc AUTHORS README TODO NEWS ChangeLog
%exclude %_bindir/gsf-office-thumbnailer
%exclude %_man1dir/gsf-office-thumbnailer.*
%files devel
%dir %_includedir/%name-1
%dir %_includedir/%name-1/gsf
%_includedir/%name-1/gsf/*.h
%_libdir/%name-1.so
%_pkgconfigdir/%name-1.pc
%if_enabled static
%files devel-static
%_libdir/%name-1.a
%endif
%files gnome
%_bindir/gsf-office-thumbnailer
%_libdir/%name-gnome-1.so.*
%_man1dir/gsf-office-thumbnailer.1.*
%config %_sysconfdir/gconf/schemas/gsf-office-thumbnailer.schemas
%doc AUTHORS README TODO NEWS ChangeLog
%files gnome-devel
%_includedir/%name-1/gsf-gnome
%_libdir/%name-gnome-1.so
%_pkgconfigdir/%name-gnome-1.pc
%files devel-doc
%_gtk_docdir/*
%if_enabled static
%files gnome-devel-static
%_libdir/%name-gnome-1.a
%endif
%files -n python-module-gsf
%dir %python_sitelibdir/gsf
%python_sitelibdir/gsf/*.py*
%python_sitelibdir/gsf/_gsfmodule.so
%files -n python-module-gsf-gnome
%python_sitelibdir/gsf/gnomemodule.so
%exclude %python_sitelibdir/gsf/*.la
%changelog
…
Full changelog you can see here