|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
%global apiversion 0.1
|
|
|
|
|
|
|
|
|
|
Name: libvisio
|
|
|
|
|
Version: 0.1.4
|
|
|
|
|
Version: 0.1.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A library for import of Microsoft Visio diagrams
|
|
|
|
|
|
|
|
|
@ -52,7 +52,6 @@ Currently supported: XHTML, raw, plain text.
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CPPFLAGS='-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED'
|
|
|
|
|
%configure --disable-static --disable-silent-rules
|
|
|
|
|
sed -i \
|
|
|
|
|
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
|
@ -61,12 +60,9 @@ sed -i \
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
|
|
help2man -N -n 'debug the conversion library' -o vsd2raw.1 ./src/conv/raw/.libs/vsd2raw
|
|
|
|
|
help2man -N -n 'convert Visio document into SVG' -o vsd2xhtml.1 ./src/conv/svg/.libs/vsd2xhtml
|
|
|
|
|
help2man -N -n 'convert Visio document into plain text' -o vsd2text.1 ./src/conv/text/.libs/vsd2text
|
|
|
|
|
help2man -N -n 'debug the conversion library' -o vss2raw.1 ./src/conv/raw/.libs/vss2raw
|
|
|
|
|
help2man -N -n 'convert Visio stencil into SVG' -o vss2xhtml.1 ./src/conv/svg/.libs/vss2xhtml
|
|
|
|
|
help2man -N -n 'convert Visio stencil into plain text' -o vss2text.1 ./src/conv/text/.libs/vss2text
|
|
|
|
|
for tool in raw/vsd2raw raw/vss2raw svg/vsd2xhtml svg/vss2xhtml text/vsd2text text/vss2text; do
|
|
|
|
|
help2man -N -o `basename $tool`.1 ./src/conv/$tool
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
@ -87,7 +83,7 @@ export TZ='CET'
|
|
|
|
|
make check %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS
|
|
|
|
|
%doc AUTHORS README NEWS
|
|
|
|
|
%license COPYING.*
|
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
|
|
|
|
|
|
@ -116,6 +112,9 @@ make check %{?_smp_mflags}
|
|
|
|
|
%{_mandir}/man1/vss2xhtml.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Dec 30 2015 David Tardon <dtardon@redhat.com> - 0.1.5-1
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|
* Wed Dec 23 2015 David Tardon <dtardon@redhat.com> - 0.1.4-1
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|