diff --git a/README.md b/README.md index e235f4e..5aaaafc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libwv +A library which allows access to Microsoft Word files. + diff --git a/libwv.spec b/libwv.spec new file mode 100644 index 0000000..c9c4b59 --- /dev/null +++ b/libwv.spec @@ -0,0 +1,81 @@ +Name: libwv +Version: 1.2.9 +Release: 1mamba +Summary: A library which allows access to Microsoft Word files +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://wvware.sourceforge.net +Source: http://abisource.com/downloads/wv/%{version}/wv-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libbzip2-devel +BuildRequires: libglib-devel +BuildRequires: libgsf-devel +BuildRequires: libpng-devel +BuildRequires: libxml2-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A library which allows access to Microsoft Word files. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +A library which allows access to Microsoft Word files. + +This package contains static libraries and header files need for development. + +%prep + +%setup -q -n wv-%{version} + +%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) +%{_bindir}/wv* +%{_libdir}/libwv-1.2.so.* +%{_datadir}/wv/* +%{_mandir}/man1/wv*.1.gz +%doc COPYING README + +%files devel +%defattr(-,root,root) +%{_includedir}/wv/*.h +%{_libdir}/libwv.a +%{_libdir}/libwv.la +%{_libdir}/libwv.so +%{_libdir}/pkgconfig/wv-1.0.pc + +%changelog +* Sat Dec 08 2012 Automatic Build System 1.2.9-1mamba +- update to 1.2.9 + +* Thu Dec 16 2010 Silvan Calarco 1.2.4-2mamba +- rebuilt to add pkgconfig provide + +* Mon Jan 12 2009 Silvan Calarco 1.2.4-1mamba +- automatic update by autodist + +* Wed Mar 19 2008 Silvan Calarco 1.2.1-1mamba +- package created by autospec