You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
2.4 KiB
108 lines
2.4 KiB
13 years ago
|
Name: freexl
|
||
|
Version: 1.0.0a
|
||
|
Release: 1%{?dist}
|
||
|
Summary: Library to extract data from within an Excel spreadsheet
|
||
|
Group: System Environment/Libraries
|
||
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||
|
URL: http://www.gaia-gis.it/FreeXL
|
||
|
Source0: http://www.gaia-gis.it/FreeXL/%{name}-%{version}.tar.gz
|
||
|
BuildRequires: doxygen
|
||
|
BuildRequires: lcov
|
||
|
|
||
|
%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
|
||
|
Summary: Development Libraries for FreeXL
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||
|
Requires: pkgconfig
|
||
|
|
||
|
%description devel
|
||
|
The %{name}-devel package contains libraries and header files for
|
||
|
developing applications that use %{name}.
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
|
||
|
%build
|
||
|
%configure --enable-gcov=yes --disable-static
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
# 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 coverage-init
|
||
|
make check
|
||
|
make coverage
|
||
|
|
||
|
# Clean up
|
||
|
pushd examples
|
||
|
make clean
|
||
|
popd
|
||
|
|
||
|
|
||
|
%install
|
||
|
make install DESTDIR=%{buildroot}
|
||
|
|
||
|
# Delete undesired libtool archives
|
||
|
rm -f %{buildroot}%{_libdir}/lib%{name}.la
|
||
|
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
|
||
|
%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
|
||
|
* Fri Jan 08 2012 Volker Fröhlich <volker27@gmx.at> 1.0.0a-1
|
||
|
- Correct versioning scheme to post-release
|
||
|
- Correct Source and setup macro accordingly
|
||
|
|
||
|
* Fri Nov 18 2011 Volker Fröhlich <volker27@gmx.at> 1.0.0-0.1.a
|
||
|
- Move development lib symlink to devel
|
||
|
- Don't build static lib
|
||
|
- Add README
|
||
|
- Build with enable-gcov
|
||
|
- BR lcov and doxygen
|
||
|
- Shorten description and summary
|
||
|
- Use macros in Source tag
|
||
|
- Add check section
|
||
|
- Change version and release
|
||
|
- Correct URL
|
||
|
- Correct to multiple licensing scenario
|
||
|
- Drop defattr
|
||
|
- Add pkgconfig and isa macro to devel's BR
|
||
|
- Use upstream tarball, as file size is different
|
||
|
- Remove EPEL 5 specific elements
|
||
|
|
||
|
* Wed Nov 26 2010 Peter Hopfgartber <peter.hopfgartner@r3-gis.com> 1.0.0a-0.1
|
||
|
- Initial packaging
|