diff --git a/README.md b/README.md index 5d6f262..759fcfb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libvisio +Libvisio is a library providing ability to interpret and import visio diagrams into various applications. You can find it being used in libreoffice. + diff --git a/libvisio.spec b/libvisio.spec new file mode 100644 index 0000000..bc41b79 --- /dev/null +++ b/libvisio.spec @@ -0,0 +1,116 @@ +Name: libvisio +Version: 0.0.31 +Release: 1mamba +Summary: A library providing ability to interpret and import visio diagrams into various applications +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.freedesktop.org/wiki/Software/libvisio +Source: http://dev-www.libreoffice.org/src/libvisio-%{version}.tar.xz +License: GPL, LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: libwpd-devel +BuildRequires: libwpg-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END +BuildRequires: doxygen +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%debug_package + +%description +Libvisio is a library providing ability to interpret and import visio diagrams into various applications. You can find it being used in libreoffice. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +## note: you can add this requirement if .pc files are provided by this package +#Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package tools +Group: Applications/Graphics +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libvisio-0.0.so.* +%doc AUTHORS + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libvisio-0.0 +%dir %{_includedir}/libvisio-0.0/libvisio +%{_includedir}/libvisio-0.0/libvisio/*.h +%{_libdir}/libvisio-0.0.la +%{_libdir}/libvisio-0.0.so +%{_libdir}/pkgconfig/libvisio-0.0.pc +%dir %{_datadir}/doc/libvisio +%dir %{_datadir}/doc/libvisio/html +%{_datadir}/doc/libvisio/html/* +%doc ChangeLog + +%files tools +%defattr(-,root,root) +%{_bindir}/vsd2raw +%{_bindir}/vsd2xhtml +%{_bindir}/vsd2text +%{_bindir}/vss2raw +%{_bindir}/vss2text +%{_bindir}/vss2xhtml + +%changelog +* Thu Aug 29 2013 Automatic Build System 0.0.31-1mamba +- automatic update by autodist + +* Sat Jul 20 2013 Automatic Build System 0.0.30-1mamba +- automatic update by autodist + +* Tue Jun 11 2013 Automatic Build System 0.0.28-1mamba +- automatic version update by autodist + +* Thu May 16 2013 Automatic Build System 0.0.26-1mamba +- automatic version update by autodist + +* Thu Feb 28 2013 Automatic Build System 0.0.25-1mamba +- automatic version update by autodist + +* Thu Jan 10 2013 Automatic Build System 0.0.24-1mamba +- automatic version update by autodist + +* Fri Nov 16 2012 Automatic Build System 0.0.20-1mamba +- automatic version update by autodist + +* Tue Aug 21 2012 Automatic Build System 0.0.19-1mamba +- automatic version update by autodist + +* Wed Mar 21 2012 Silvan Calarco 0.0.15-1mamba +- package created by autospec