diff --git a/README.md b/README.md index 04bac04..4de006d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # libwpg +Libwpg project is a collection of library and tools to work with graphics in WPG (WordPerfect Graphics) format. WPG is the format used among others in Corel sofware, such as WordPerfect(tm) and Presentations(tm). +At the moment, libwpg comprises of: + + * libwpg, C++ library for parsing WPG + * wpg2svg, command-line converter to SVG (Scalable Vector Graphics) + * wpg2odg, command-line converter to ODG (OpenDocument Graphics) + * Perfectspot, stand-alone WPG viewer and converter + diff --git a/libwpg.spec b/libwpg.spec new file mode 100644 index 0000000..1723141 --- /dev/null +++ b/libwpg.spec @@ -0,0 +1,124 @@ +Name: libwpg +Version: 0.2.2 +Release: 1mamba +Summary: A collection of library and tools to work with graphics in WPG (WordPerfect Graphics) format +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://libwpg.sourceforge.net/ +Source: http://downloads.sourceforge.net/project/libwpg/libwpg/libwpg-%{version}/libwpg-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: libwpd-devel >= 0.8 +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Libwpg project is a collection of library and tools to work with graphics in WPG (WordPerfect Graphics) format. WPG is the format used among others in Corel sofware, such as WordPerfect(tm) and Presentations(tm). +At the moment, libwpg comprises of: + + * libwpg, C++ library for parsing WPG + * wpg2svg, command-line converter to SVG (Scalable Vector Graphics) + * wpg2odg, command-line converter to ODG (OpenDocument Graphics) + * Perfectspot, stand-alone WPG viewer and converter + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Libwpg project is a collection of library and tools to work with graphics in WPG (WordPerfect Graphics) format. WPG is the format used among others in Corel sofware, such as WordPerfect(tm) and Presentations(tm). +At the moment, libwpg comprises of: + + * libwpg, C++ library for parsing WPG + * wpg2svg, command-line converter to SVG (Scalable Vector Graphics) + * wpg2odg, command-line converter to ODG (OpenDocument Graphics) + * Perfectspot, stand-alone WPG viewer and converter + +This package contains static libraries and header files need for development. + +%package tools +Group: Applications/Publishing +Summary: Tools to convert WordPerfect Graphics images +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +Libwpg project is a collection of library and tools to work with graphics in WPG (WordPerfect Graphics) format. WPG is the format used among others in Corel sofware, such as WordPerfect(tm) and Presentations(tm). +At the moment, libwpg comprises of: + + * libwpg, C++ library for parsing WPG + * wpg2svg, command-line converter to SVG (Scalable Vector Graphics) + * wpg2odg, command-line converter to ODG (OpenDocument Graphics) + * Perfectspot, stand-alone WPG viewer and converter + +This package package contains various programs for manipulating WordPerfect Graphics images. + +%prep +%setup -q + +%build +%configure +%make + +sed 's/\r//' -i ChangeLog +find docs/doxygen/html |xargs touch -r docs/doxygen/doxygen.cfg + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libwpg-0.2.so.* +#%{_libdir}/libwpg-stream-0.1.so.* +%doc AUTHORS + +%files devel +%defattr(-,root,root) +%{_libdir}/libwpg-0.2.so +%{_libdir}/libwpg-0.2.la +%{_libdir}/libwpg-0.2.a +#%{_libdir}/libwpg-stream-0.1.so +#%{_libdir}/libwpg-stream-0.1.la +%dir %{_includedir}/libwpg-0.2/libwpg +%{_includedir}/libwpg-0.2/libwpg/*.h +%{_libdir}/pkgconfig/*.pc +%{_docdir}/libwpg/html/* +%doc ChangeLog + +%files tools +%defattr(-,root,root) +%{_bindir}/wpg2raw +%{_bindir}/wpg2svg +%{_bindir}/wpg2svgbatch.pl + +%changelog +* Mon May 13 2013 Automatic Build System 0.2.2-1mamba +- automatic version update by autodist + +* Fri Jul 06 2012 Automatic Build System 0.2.1-1mamba +- automatic version update by autodist + +* Mon Apr 12 2011 Ercole 'ercolinux' Carpanetto 0.2.0-3mamba +- rebuilt + +* Tue Feb 01 2011 gil 0.2.0-2mamba +- rebuilt with new libwpd + +* Sun Jan 23 2011 gil 0.2.0-1mamba +- update to 0.2.0 + +* Thu Jul 09 2009 Automatic Build System 0.1.3-1mamba +- automatic update by autodist + +* Mon Aug 27 2007 Silvan Calarco 0.1.0-1mamba +- package created by autospec