c9212d
%global apiversion 0.1
c9212d
c9212d
Name: libvisio
c9212d
Version: 0.1.6
c9212d
Release: 2%{?dist}
c9212d
Summary: A library for import of Microsoft Visio diagrams
c9212d
c9212d
License: MPLv2.0
c9212d
URL: http://wiki.documentfoundation.org/DLP/Libraries/libvisio
c9212d
Source: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz
c9212d
c9212d
BuildRequires: boost-devel
c9212d
BuildRequires: doxygen
c9212d
BuildRequires: gperf
c9212d
BuildRequires: help2man
c9212d
BuildRequires: perl-interpreter
c9212d
BuildRequires: pkgconfig(cppunit)
c9212d
BuildRequires: pkgconfig(icu-uc)
c9212d
BuildRequires: pkgconfig(librevenge-0.0)
c9212d
BuildRequires: pkgconfig(libxml-2.0)
c9212d
c9212d
%description
c9212d
%{name} is library providing ability to interpret and import
c9212d
Microsoft Visio diagrams into various applications. You can find it
c9212d
being used in LibreOffice.
c9212d
c9212d
%package devel
c9212d
Summary: Development files for %{name}
c9212d
Requires: %{name}%{?_isa} = %{version}-%{release}
c9212d
c9212d
%description devel
c9212d
The %{name}-devel package contains libraries and header files for
c9212d
developing applications that use %{name}.
c9212d
c9212d
%package doc
c9212d
Summary: Documentation of %{name} API
c9212d
BuildArch: noarch
c9212d
c9212d
%description doc
c9212d
The %{name}-doc package contains documentation files for %{name}.
c9212d
c9212d
%package tools
c9212d
Summary: Tools to transform Microsoft Visio diagrams into other formats
c9212d
Requires: %{name}%{?_isa} = %{version}-%{release}
c9212d
c9212d
%description tools
c9212d
Tools to transform Microsoft Visio diagrams into other formats.
c9212d
Currently supported: XHTML, raw, plain text.
c9212d
c9212d
%prep
c9212d
%autosetup -p1
c9212d
c9212d
%build
c9212d
%configure --disable-static --disable-silent-rules
c9212d
sed -i \
c9212d
    -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
c9212d
    -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
c9212d
    libtool
c9212d
make %{?_smp_mflags}
c9212d
c9212d
%install
c9212d
make install DESTDIR=%{buildroot}
c9212d
rm -f %{buildroot}/%{_libdir}/*.la
c9212d
# rhbz#1001240 we install API docs directly from build
c9212d
rm -rf %{buildroot}/%{_docdir}/%{name}
c9212d
c9212d
# generate and install man pages
c9212d
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
c9212d
for tool in vsd2raw vss2text vsd2xhtml vss2raw vsd2text vss2xhtml; do
c9212d
    help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
c9212d
done
c9212d
install -m 0755 -d %{buildroot}/%{_mandir}/man1
c9212d
install -m 0644 vsd2*.1 vss2*.1 %{buildroot}/%{_mandir}/man1
c9212d
c9212d
%post -p /sbin/ldconfig
c9212d
%postun -p /sbin/ldconfig
c9212d
c9212d
%check
c9212d
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
c9212d
make check %{?_smp_mflags}
c9212d
c9212d
%files
c9212d
%doc AUTHORS README NEWS
c9212d
%license COPYING.*
c9212d
%{_libdir}/%{name}-%{apiversion}.so.*
c9212d
c9212d
%files devel
c9212d
%doc ChangeLog
c9212d
%{_includedir}/%{name}-%{apiversion}
c9212d
%{_libdir}/%{name}-%{apiversion}.so
c9212d
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
c9212d
c9212d
%files doc
c9212d
%license COPYING.*
c9212d
%doc docs/doxygen/html
c9212d
c9212d
%files tools
c9212d
%{_bindir}/vsd2raw
c9212d
%{_bindir}/vsd2text
c9212d
%{_bindir}/vsd2xhtml
c9212d
%{_bindir}/vss2raw
c9212d
%{_bindir}/vss2text
c9212d
%{_bindir}/vss2xhtml
c9212d
%{_mandir}/man1/vsd2raw.1*
c9212d
%{_mandir}/man1/vsd2text.1*
c9212d
%{_mandir}/man1/vsd2xhtml.1*
c9212d
%{_mandir}/man1/vss2raw.1*
c9212d
%{_mandir}/man1/vss2text.1*
c9212d
%{_mandir}/man1/vss2xhtml.1*
c9212d
c9212d
%changelog
c9212d
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 0.1.6-2
c9212d
- Rebuild for ICU 60.1
c9212d
c9212d
* Sat Oct 21 2017 David Tardon <dtardon@redhat.com> - 0.1.6-1
c9212d
- new upstream release
c9212d
c9212d
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-10
c9212d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c9212d
c9212d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-9
c9212d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c9212d
c9212d
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-8
c9212d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
c9212d
c9212d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-7
c9212d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c9212d
c9212d
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.1.5-6
c9212d
- Rebuilt for Boost 1.63
c9212d
c9212d
* Tue Dec 13 2016 David Tardon <dtardon@redhat.com> - 0.1.5-5
c9212d
- fix char background color in some cases
c9212d
- fix handling of bitmaps in Windows Bitmap format that contain a color
c9212d
  palette
c9212d
c9212d
* Fri Apr 15 2016 David Tardon <dtardon@redhat.com> - 0.1.5-4
c9212d
- rebuild for ICU 57.1
c9212d
c9212d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-3
c9212d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c9212d
c9212d
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.1.5-2
c9212d
- Rebuilt for Boost 1.60
c9212d
c9212d
* Wed Dec 30 2015 David Tardon <dtardon@redhat.com> - 0.1.5-1
c9212d
- new upstream release
c9212d
c9212d
* Wed Dec 23 2015 David Tardon <dtardon@redhat.com> - 0.1.4-1
c9212d
- new upstream release
c9212d
c9212d
* Wed Oct 28 2015 David Tardon <dtardon@redhat.com> - 0.1.3-5
c9212d
- rebuild for ICU 56.1
c9212d
c9212d
* Sun Aug 30 2015 David Tardon <dtardon@redhat.com> - 0.1.3-4
c9212d
- fix build with boost 1.59
c9212d
c9212d
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.1.3-3
c9212d
- Rebuilt for Boost 1.59
c9212d
c9212d
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
c9212d
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
c9212d
c9212d
* Sat Jul 25 2015 David Tardon <dtardon@redhat.com> - 0.1.3-1
c9212d
- new upstream release
c9212d
c9212d
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.1.1-5
c9212d
- rebuild for Boost 1.58
c9212d
c9212d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-4
c9212d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c9212d
c9212d
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.1.1-3
c9212d
- Rebuilt for GCC 5 C++11 ABI change
c9212d
c9212d
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 0.1.1-2
c9212d
- Rebuild for boost 1.57.0
c9212d
c9212d
* Fri Jan 02 2015 David Tardon <dtardon@redhat.com> - 0.1.1-1
c9212d
- new upstream release
c9212d
c9212d
* Tue Aug 26 2014 David Tardon <dtardon@redhat.com> - 0.1.0-4
c9212d
- rebuild for ICU 53.1
c9212d
c9212d
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-3
c9212d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c9212d
c9212d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
c9212d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c9212d
c9212d
* Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.1.0-1
c9212d
- new upstream release
c9212d
c9212d
* Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 0.0.31-4
c9212d
- Rebuild for boost 1.55.0
c9212d
c9212d
* Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.0.31-3
c9212d
- generate man pages
c9212d
c9212d
* Wed Feb 12 2014 Rex Dieter <rdieter@fedoraproject.org> 0.0.31-2
c9212d
- rebuild (libicu)
c9212d
c9212d
* Mon Sep 02 2013 David Tardon <dtardon@redhat.com> - 0.0.31-1
c9212d
- new release
c9212d
c9212d
* Fri Aug 30 2013 David Tardon <dtardon@redhat.com> - 0.0.30-4
c9212d
- Resolves: rhbz#1001240 duplicate documentation files / potentially conflicting
c9212d
c9212d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.30-3
c9212d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c9212d
c9212d
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 0.0.30-2
c9212d
- Rebuild for boost 1.54.0
c9212d
c9212d
* Mon Jul 15 2013 David Tardon <dtardon@redhat.com> - 0.0.30-1
c9212d
- new release
c9212d
c9212d
* Tue Jul 02 2013 David Tardon <dtardon@redhat.com> - 0.0.29-1
c9212d
- new release
c9212d
c9212d
* Wed Jun 05 2013 David Tardon <dtardon@redhat.com> - 0.0.28-1
c9212d
- new release
c9212d
c9212d
* Thu May 16 2013 David Tardon <dtardon@redhat.com> - 0.0.27-1
c9212d
- new release
c9212d
c9212d
* Tue Apr 23 2013 David Tardon <dtardon@redhat.com> - 0.0.26-1
c9212d
- new release
c9212d
c9212d
* Thu Feb 28 2013 David Tardon <dtardon@redhat.com> - 0.0.25-1
c9212d
- new release
c9212d
c9212d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.24-2
c9212d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c9212d
c9212d
* Tue Dec 18 2012 David Tardon <dtardon@redhat.com> - 0.0.24-1
c9212d
- new release
c9212d
c9212d
* Mon Dec 03 2012 David Tardon <dtardon@redhat.com> - 0.0.23-1
c9212d
- new release
c9212d
c9212d
* Thu Nov 29 2012 David Tardon <dtardon@redhat.com> - 0.0.22-1
c9212d
- new upstream release
c9212d
c9212d
* Wed Nov 21 2012 David Tardon <dtardon@redhat.com> - 0.0.21-1
c9212d
- new upstream release
c9212d
c9212d
* Tue Nov 06 2012 David Tardon <dtardon@redhat.com> - 0.0.20-1
c9212d
- new upstream version
c9212d
c9212d
* Fri Jul 27 2012 David Tardon <dtardon@redhat.com> - 0.0.19-2
c9212d
- rebuilt for boost 1.50
c9212d
c9212d
* Thu Jul 26 2012 David Tardon <dtardon@redhat.com> - 0.0.19-1
c9212d
- new upstream version
c9212d
c9212d
* Tue Jul 24 2012 David Tardon <dtardon@redhat.com> - 0.0.18-3
c9212d
- fix endless loop with text fields in VSD6
c9212d
c9212d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.18-2
c9212d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c9212d
c9212d
* Fri Jun 22 2012 David Tardon <dtardon@redhat.com> 0.0.18-1
c9212d
- new upstream version
c9212d
c9212d
* Fri Jun 01 2012 David Tardon <dtardon@redhat.com> 0.0.17-1
c9212d
- new upstream version
c9212d
c9212d
* Tue Apr 17 2012 David Tardon <dtardon@redhat.com> 0.0.16-1
c9212d
- new upstream version
c9212d
c9212d
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.15-2
c9212d
- Rebuilt for c++ ABI breakage
c9212d
c9212d
* Tue Feb 21 2012 David Tardon <dtardon@redhat.com> 0.0.15-1
c9212d
- new upstream version
c9212d
c9212d
* Wed Jan 25 2012 David Tardon <dtardon@redhat.com> 0.0.14-1
c9212d
- bump version
c9212d
c9212d
- initial import
c9212d
* Wed Dec 21 2011 David Tardon <dtardon@redhat.com> 0.0.11-1
c9212d
- initial import