From 907827676a6d9dcf40ed70732e1a49a0571bee67 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 06:09:24 +0100 Subject: [PATCH] automatic version update by autodist [release 0.2.9-1mamba;Mon May 27 2013] --- README.md | 2 + libwps.spec | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+) create mode 100644 libwps.spec diff --git a/README.md b/README.md index 2df5ac2..3a282ff 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libwps +A library (for use by word processors, for example) for importing the Microsoft Works word processor file format. + diff --git a/libwps.spec b/libwps.spec new file mode 100644 index 0000000..96c34df --- /dev/null +++ b/libwps.spec @@ -0,0 +1,105 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: libwps +Version: 0.2.9 +Release: 1mamba +Summary: A library for importing the Microsoft Works word processor file format +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://libwps.sourceforge.net/ +Source: http://downloads.sourceforge.net/sourceforge/libwps/libwps-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: libwpd-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A library (for use by word processors, for example) for importing the Microsoft Works word processor file format. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +A library (for use by word processors, for example) for importing the Microsoft Works word processor file format. + +This package contains static libraries and header files need for development. + +%package tools +Group: Applications/Publishing +Summary: Programs for manipulating Microsoft Works word processor files +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +A library (for use by word processors, for example) for importing the Microsoft Works word processor file format. +This package package contains various programs for manipulating WordPerfect format files. + +%prep +%setup -q + +%build +%configure +%make CPPFLAGS="-Wno-unused-local-typedefs" + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libwps-%{majver}.so.* +#%{_libdir}/libwps-stream-%{majver}.so.* +%doc CREDITS + +%files devel +%defattr(-,root,root) +%{_libdir}/libwps-%{majver}.la +%{_libdir}/libwps-%{majver}.so +#%{_libdir}/libwps-stream-%{majver}.la +#%{_libdir}/libwps-stream-%{majver}.so +%dir %{_includedir}/libwps-%{majver}/libwps +%{_includedir}/libwps-%{majver}/libwps/*.h +%{_libdir}/pkgconfig/*.pc +%dir %{_docdir}/libwps +%{_docdir}/libwps/* +%doc README + +%files tools +%defattr(-,root,root) +%{_bindir}/wps2html +%{_bindir}/wps2raw +%{_bindir}/wps2text + +%changelog +* Mon May 27 2013 Automatic Build System 0.2.9-1mamba +- automatic version update by autodist + +* Fri May 17 2013 Automatic Build System 0.2.8-1mamba +- automatic version update by autodist + +* Tue Dec 04 2012 Automatic Build System 0.2.7-1mamba +- automatic version update by autodist + +* Thu Oct 13 2011 Automatic Build System 0.2.2-1mamba +- automatic version update by autodist + +* Sun Nov 21 2010 Automatic Build System 0.2.0-1mamba +- automatic update by autodist + +* Wed Jul 29 2009 Automatic Build System 0.1.2-1mamba +- automatic update by autodist + +* Wed Aug 29 2007 Silvan Calarco 0.1.0-1mamba +- package created by autospec