|
|
@ -34,7 +34,7 @@ developing applications that use freexl.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
|
|
# We want to install a “clean” version of the examples
|
|
|
|
# We want to install a “clean” version of the examples
|
|
|
|
mkdir -p clean
|
|
|
|
mkdir -p clean
|
|
|
@ -45,8 +45,8 @@ rm -vf clean/examples/Makefile.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --enable-gcov=no --disable-static
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
# Mailed the author on Dec 5th 2011
|
|
|
|
# Mailed the author on Dec 5th 2011
|
|
|
|
# Preserve date of header file
|
|
|
|
# Preserve date of header file
|
|
|
@ -57,12 +57,11 @@ doxygen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make check
|
|
|
|
%make_build check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
|
|
# Delete undesired libtool archives
|
|
|
|
# Delete undesired libtool archives
|
|
|
|
find '%{buildroot}' -type f -name '*.la' -print -delete
|
|
|
|
find '%{buildroot}' -type f -name '*.la' -print -delete
|
|
|
|
|
|
|
|
|
|
|
|