Репозитории ALT
S: | 1.12.55-alt1 |
5.1: | 1.10.5-alt0.M51.1 |
4.1: | 1.9.2-alt1.M41.1 |
4.0: | 1.7.11-alt1 |
3.0: | 1.4.3-alt1 |
Группа :: Офис
Пакет: gnumeric
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define ver_major 1.12
%define api_ver 1.12
%define goffice_api_ver 0.10
%def_without gda
%def_with python
%def_with perl
%def_enable introspection
%def_disable check
Name: gnumeric
Version: %ver_major.54
Release: alt1
Summary: A full-featured spreadsheet for GNOME
License: GPL-2.0 or GPL-3.0
Group: Office
Url: http://www.gnumeric.org/
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz
Patch: gnumeric-desktop-alt.patch
Obsoletes: %name-light
Provides: %name-light = %version-%release
%define gsf_ver 1.14.48
%define gda_ver 5.2
%define desktop_file_utils_ver 0.10
%define goffice_ver 0.10.54
%{?_with_python:
%add_python3_path %_libdir/%name/%version/plugins
# Provided by python_loader.so
Provides: python3(Gnumeric)}
Requires(post,postun): desktop-file-utils >= %desktop_file_utils_ver
Requires: libgnomeoffice%goffice_api_ver >= %goffice_ver
Requires: libspreadsheet%{api_ver} = %version-%release
Requires: %name-data = %version-%release
BuildRequires(pre): rpm-build-gnome rpm-build-gir
BuildRequires: bison flex help2man gtk-doc
BuildRequires: libgnomeoffice%goffice_api_ver-devel >= %goffice_ver
BuildRequires: libgsf-devel >= %gsf_ver
BuildRequires: libgtk+3-devel
BuildRequires: intltool yelp-tools %_bindir/appstream-util desktop-file-utils
BuildRequires: zlib-devel
%{?_enable_introspection:BuildRequires: gobject-introspection-devel libgsf-gir-devel libgnomeoffice%goffice_api_ver-gir-devel}
%{?_with_perl:BuildRequires: perl-devel}
%{?_with_python:
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-pygobject3-devel}
%{?_with_gda:BuildRequires: libgda5-devel >= %gda_ver libgnomedb4-devel}
%{?_enable_check:BuildRequires: xvfb-run}
%description
Gnumeric is a modern full-featured spreadsheet program. Gnumeric
contains built-in functions help system, analysis tools and plotting
interface.
There are nearly 95 percents of all Excel functions implemented in
Gnumeric besides a possibility to write your own functions in Python
and Perl. There are Lotus 1-2-3, MS Excel 95/98/2000/XP, SYLK among
supported third party formats.
%description -l ru_RU.UTF8
Gnumeric - я█я┌п╬ я│п╬п╡я─п╣п╪п╣п╫п╫п╟я▐ п©п╬п╩п╫п╬я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╟я▐ п©я─п╬пЁя─п╟п╪п╪п╟ п╢п╩я▐ я─п╟п╠п╬я┌я▀ я│
я█п╩п╣п╨я┌я─п╬п╫п╫я▀п╪п╦ я┌п╟п╠п╩п╦я├п╟п╪п╦. Gnumeric я│п╬п╢п╣я─п╤п╦я┌ п╡я│я┌я─п╬п╣п╫п╫я┐я▌ я│п╦я│я┌п╣п╪я┐ п©п╬п╢я│п╨п╟п╥п╨п╦
п╨ я└я┐п╫п╨я├п╦я▐п╪, я│я─п╣п╢я│я┌п╡п╟ п╟п╫п╟п╩п╦п╥п╟ п╦ я┐п╪п╣п╣я┌ я│я┌я─п╬п╦я┌я▄ пЁя─п╟я└п╦п╨п╦. п÷я─п╬пЁя─п╟п╪п╪п╟
п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ п©я─п╦п╠п╩п╦п╥п╦я┌п╣п╩я▄п╫п╬ 95 п©я─п╬я├п╣п╫я┌п╬п╡ я└я┐п╫п╨я├п╦п╧, п╦п╪п╣я▌я┴п╦я┘я│я▐ п╡ MS Excel,
п╢п╬п©п╬п╩п╫п╦я┌я▄ п╨п╬я┌п╬я─я▀п╣ п╪п╬п╤п╫п╬ я│п╡п╬п╦п╪п╦ я│п╬п╠я│я┌п╡п╣п╫п╫я▀п╪п╦ я└я┐п╫п╨я├п╦я▐п╪п╦, п╫п╟п©п╦я│п╟п╫п╫я▀п╪п╦ п╫п╟
я▐п╥я▀п╨п╣ Python п╦ Perl. п║я─п╣п╢п╦ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣п╪я▀я┘ я└п╬я─п╪п╟я┌п╬п╡ - Lotus 1-2-3,
MS Excel 95/98/2000/XP, SYLK.
%package data
Summary: Arch independent files for Gnumeric
Group: Office
BuildArch: noarch
%description data
This package provides noarch data needed for Gnumeric to work.
%package -n libspreadsheet%{api_ver}
Summary: libspreadsheet library
Group: System/Libraries
Obsoletes: libspreadsheet1.10
%description -n libspreadsheet%{api_ver}
This package provide libspreadsheet library
%package -n libspreadsheet-devel
Summary: libspreadsheet library headers
Group: Development/C
Provides: libspreadsheet%{api_ver}-devel = %version-%release
Requires: libspreadsheet%{api_ver} = %version-%release
%description -n libspreadsheet-devel
This package provide libspreadsheet library headers
%package gir
Summary: GObject introspection data for the Gnumeric
Group: System/Libraries
Requires: %name = %version-%release
%description gir
GObject introspection data for the Gnumeric.
%package gir-devel
Summary: GObject introspection devel data for the Gnumeric
Group: System/Libraries
BuildArch: noarch
Requires: %name-gir = %version-%release
%description gir-devel
GObject introspection devel data for the Gnumeric.
%prep
%setup
%patch -p1
# prevent linking against libpython3.x.a
sed -i s' at \-L\$PY_LIB_DIR at at ' configure.ac
subst 's at zz-application\/zz-winassoc-xls; at at ' %name.desktop.in
%build
%add_optflags %(getconf LFS_CFLAGS)
%autoreconf
%configure \
--disable-schemas-compile \
%{subst_with gnome} \
%{subst_with gda} \
%{subst_with python} \
%{subst_with perl} \
%{?_enable_introspection:--enable-introspection=yes} \
%{?_with_python:PYTHON=%__python3}
%make_build
%install
%makeinstall_std
%find_lang --with-gnome --output=%name.lang %name %name-%version %name-%version-functions
%check
%{?_enable_check:xvfb-run %make check}
%files
%_bindir/*
%_libdir/%name/
%_libdir/goffice/%goffice_api_ver/plugins/%name/%name.so
%_libdir/goffice/%goffice_api_ver/plugins/%name/plugin.xml
%{?_with_python:%python3_sitelibdir/gi/overrides/*}
%doc AUTHORS ChangeLog NEWS BUGS README COPYING HACKING
%exclude %_libdir/%name/%version/plugins/*/*.la
%exclude %_libdir/goffice/%goffice_api_ver/plugins/%name/%name.la
# requires no more existing python(gsf)
%{?_with_python:%exclude %_libdir/%name/%version/plugins/gnome-glossary}
%files data -f %name.lang
%dir %_datadir/%name
%_datadir/%name/%version/
%_datadir/applications/*
#%_datadir/pixmaps/*
%_iconsdir/hicolor/*/apps/gnumeric.*
%_man1dir/*
%config %_datadir/glib-2.0/schemas/org.gnome.gnumeric.dialogs.gschema.xml
%config %_datadir/glib-2.0/schemas/org.gnome.gnumeric.gschema.xml
%config %_datadir/glib-2.0/schemas/org.gnome.gnumeric.plugin.gschema.xml
%_datadir/metainfo/%name.appdata.xml
%if_enabled introspection
%files gir
%_typelibdir/Gnm-%api_ver.typelib
%files gir-devel
%_girdir/Gnm-%api_ver.gir
%endif
%files -n libspreadsheet%{api_ver}
%_libdir/libspreadsheet*
%files -n libspreadsheet-devel
%_includedir/libspreadsheet-%{api_ver}
%_pkgconfigdir/*
%changelog
…
Полный changelog можно просмотреть здесь
%define ver_major 1.12
%define api_ver 1.12
%define goffice_api_ver 0.10
%def_without gda
%def_with python
%def_with perl
%def_enable introspection
%def_disable check
Name: gnumeric
Version: %ver_major.54
Release: alt1
Summary: A full-featured spreadsheet for GNOME
License: GPL-2.0 or GPL-3.0
Group: Office
Url: http://www.gnumeric.org/
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz
Patch: gnumeric-desktop-alt.patch
Obsoletes: %name-light
Provides: %name-light = %version-%release
%define gsf_ver 1.14.48
%define gda_ver 5.2
%define desktop_file_utils_ver 0.10
%define goffice_ver 0.10.54
%{?_with_python:
%add_python3_path %_libdir/%name/%version/plugins
# Provided by python_loader.so
Provides: python3(Gnumeric)}
Requires(post,postun): desktop-file-utils >= %desktop_file_utils_ver
Requires: libgnomeoffice%goffice_api_ver >= %goffice_ver
Requires: libspreadsheet%{api_ver} = %version-%release
Requires: %name-data = %version-%release
BuildRequires(pre): rpm-build-gnome rpm-build-gir
BuildRequires: bison flex help2man gtk-doc
BuildRequires: libgnomeoffice%goffice_api_ver-devel >= %goffice_ver
BuildRequires: libgsf-devel >= %gsf_ver
BuildRequires: libgtk+3-devel
BuildRequires: intltool yelp-tools %_bindir/appstream-util desktop-file-utils
BuildRequires: zlib-devel
%{?_enable_introspection:BuildRequires: gobject-introspection-devel libgsf-gir-devel libgnomeoffice%goffice_api_ver-gir-devel}
%{?_with_perl:BuildRequires: perl-devel}
%{?_with_python:
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-pygobject3-devel}
%{?_with_gda:BuildRequires: libgda5-devel >= %gda_ver libgnomedb4-devel}
%{?_enable_check:BuildRequires: xvfb-run}
%description
Gnumeric is a modern full-featured spreadsheet program. Gnumeric
contains built-in functions help system, analysis tools and plotting
interface.
There are nearly 95 percents of all Excel functions implemented in
Gnumeric besides a possibility to write your own functions in Python
and Perl. There are Lotus 1-2-3, MS Excel 95/98/2000/XP, SYLK among
supported third party formats.
%description -l ru_RU.UTF8
Gnumeric - я█я┌п╬ я│п╬п╡я─п╣п╪п╣п╫п╫п╟я▐ п©п╬п╩п╫п╬я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╟я▐ п©я─п╬пЁя─п╟п╪п╪п╟ п╢п╩я▐ я─п╟п╠п╬я┌я▀ я│
я█п╩п╣п╨я┌я─п╬п╫п╫я▀п╪п╦ я┌п╟п╠п╩п╦я├п╟п╪п╦. Gnumeric я│п╬п╢п╣я─п╤п╦я┌ п╡я│я┌я─п╬п╣п╫п╫я┐я▌ я│п╦я│я┌п╣п╪я┐ п©п╬п╢я│п╨п╟п╥п╨п╦
п╨ я└я┐п╫п╨я├п╦я▐п╪, я│я─п╣п╢я│я┌п╡п╟ п╟п╫п╟п╩п╦п╥п╟ п╦ я┐п╪п╣п╣я┌ я│я┌я─п╬п╦я┌я▄ пЁя─п╟я└п╦п╨п╦. п÷я─п╬пЁя─п╟п╪п╪п╟
п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ п©я─п╦п╠п╩п╦п╥п╦я┌п╣п╩я▄п╫п╬ 95 п©я─п╬я├п╣п╫я┌п╬п╡ я└я┐п╫п╨я├п╦п╧, п╦п╪п╣я▌я┴п╦я┘я│я▐ п╡ MS Excel,
п╢п╬п©п╬п╩п╫п╦я┌я▄ п╨п╬я┌п╬я─я▀п╣ п╪п╬п╤п╫п╬ я│п╡п╬п╦п╪п╦ я│п╬п╠я│я┌п╡п╣п╫п╫я▀п╪п╦ я└я┐п╫п╨я├п╦я▐п╪п╦, п╫п╟п©п╦я│п╟п╫п╫я▀п╪п╦ п╫п╟
я▐п╥я▀п╨п╣ Python п╦ Perl. п║я─п╣п╢п╦ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣п╪я▀я┘ я└п╬я─п╪п╟я┌п╬п╡ - Lotus 1-2-3,
MS Excel 95/98/2000/XP, SYLK.
%package data
Summary: Arch independent files for Gnumeric
Group: Office
BuildArch: noarch
%description data
This package provides noarch data needed for Gnumeric to work.
%package -n libspreadsheet%{api_ver}
Summary: libspreadsheet library
Group: System/Libraries
Obsoletes: libspreadsheet1.10
%description -n libspreadsheet%{api_ver}
This package provide libspreadsheet library
%package -n libspreadsheet-devel
Summary: libspreadsheet library headers
Group: Development/C
Provides: libspreadsheet%{api_ver}-devel = %version-%release
Requires: libspreadsheet%{api_ver} = %version-%release
%description -n libspreadsheet-devel
This package provide libspreadsheet library headers
%package gir
Summary: GObject introspection data for the Gnumeric
Group: System/Libraries
Requires: %name = %version-%release
%description gir
GObject introspection data for the Gnumeric.
%package gir-devel
Summary: GObject introspection devel data for the Gnumeric
Group: System/Libraries
BuildArch: noarch
Requires: %name-gir = %version-%release
%description gir-devel
GObject introspection devel data for the Gnumeric.
%prep
%setup
%patch -p1
# prevent linking against libpython3.x.a
sed -i s' at \-L\$PY_LIB_DIR at at ' configure.ac
subst 's at zz-application\/zz-winassoc-xls; at at ' %name.desktop.in
%build
%add_optflags %(getconf LFS_CFLAGS)
%autoreconf
%configure \
--disable-schemas-compile \
%{subst_with gnome} \
%{subst_with gda} \
%{subst_with python} \
%{subst_with perl} \
%{?_enable_introspection:--enable-introspection=yes} \
%{?_with_python:PYTHON=%__python3}
%make_build
%install
%makeinstall_std
%find_lang --with-gnome --output=%name.lang %name %name-%version %name-%version-functions
%check
%{?_enable_check:xvfb-run %make check}
%files
%_bindir/*
%_libdir/%name/
%_libdir/goffice/%goffice_api_ver/plugins/%name/%name.so
%_libdir/goffice/%goffice_api_ver/plugins/%name/plugin.xml
%{?_with_python:%python3_sitelibdir/gi/overrides/*}
%doc AUTHORS ChangeLog NEWS BUGS README COPYING HACKING
%exclude %_libdir/%name/%version/plugins/*/*.la
%exclude %_libdir/goffice/%goffice_api_ver/plugins/%name/%name.la
# requires no more existing python(gsf)
%{?_with_python:%exclude %_libdir/%name/%version/plugins/gnome-glossary}
%files data -f %name.lang
%dir %_datadir/%name
%_datadir/%name/%version/
%_datadir/applications/*
#%_datadir/pixmaps/*
%_iconsdir/hicolor/*/apps/gnumeric.*
%_man1dir/*
%config %_datadir/glib-2.0/schemas/org.gnome.gnumeric.dialogs.gschema.xml
%config %_datadir/glib-2.0/schemas/org.gnome.gnumeric.gschema.xml
%config %_datadir/glib-2.0/schemas/org.gnome.gnumeric.plugin.gschema.xml
%_datadir/metainfo/%name.appdata.xml
%if_enabled introspection
%files gir
%_typelibdir/Gnm-%api_ver.typelib
%files gir-devel
%_girdir/Gnm-%api_ver.gir
%endif
%files -n libspreadsheet%{api_ver}
%_libdir/libspreadsheet*
%files -n libspreadsheet-devel
%_includedir/libspreadsheet-%{api_ver}
%_pkgconfigdir/*
%changelog
…
Полный changelog можно просмотреть здесь