Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37404144
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: freexl

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Group: System/Libraries
# BEGIN SourceDeps(oneline):
BuildRequires: gcc-c++
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name:      freexl
Version:   1.0.6
Release:   alt1_1
Summary:   Library to extract data from within an Excel spreadsheet
License:   MPLv1.1 or GPLv2+ or LGPLv2+
URL:       http://www.gaia-gis.it/FreeXL
Source0:   http://www.gaia-gis.it/gaia-sins/%{name}-sources/%{name}-%{version}.tar.gz
BuildRequires:  gcc
BuildRequires: doxygen
Source44: import.info
Patch33: freexl-1.0.0d-alt-linkage.patch

%description
FreeXL is a library to extract valid data
from within an Excel spreadsheet (.xls)

Design goals:
   * simple and lightweight
   * stable, robust and efficient
   * easily and universally portable
   * completely ignore any GUI-related oddity

%package devel
Group: Development/Other
Summary:  Development Libraries for FreeXL
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig

%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q
%patch33 -p1


%build
autoreconf -fisv
%configure --enable-gcov=no --disable-static
%make_build

# Mailed the author on Dec 5th 2011

# Preserve date of header file
sed -i 's/^INSTALL_HEADER = \$(INSTALL_DATA)/& -p/' headers/Makefile.in

# Generate HTML documentation and clean unused installdox script

doxygen
rm -f html/installdox


%check
make check

# Clean up

pushd examples
 make clean
popd


%install
make install DESTDIR=%{buildroot}

# Delete undesired libtool archives

rm -f %{buildroot}%{_libdir}/lib%{name}.la





%files
%doc COPYING AUTHORS README
%{_libdir}/lib%{name}.so.*

%files devel
%doc examples html
%{_includedir}/freexl.h
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/freexl.pc


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin