2 # http://www.securityfocus.com/bid/18751/info
4 Summary: MS Word Document reading library
5 Summary(pl.UTF-8): Biblioteka czytająca dokumenty MS Worda
11 Source0: http://downloads.sourceforge.net/wvware/%{name}-%{version}.tar.bz2
12 # Source0-md5: 850ed8e44a84e7bf0610747827018cbc
13 Patch0: %{name}-link.patch
14 URL: http://wvware.sourceforge.net/
15 BuildRequires: cmake >= 2.6.1-2
16 BuildRequires: libgsf-devel >= 1.7.2
17 BuildRequires: libstdc++-devel
18 BuildRequires: pkgconfig
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 wv2 is a library that understands the Microsoft Word 8 binary file
23 format (Office97, Office2000).
25 %description -l pl.UTF-8
26 wv2 jest biblioteką, którą rozumie binarne dokumenty programu
27 Microsoft Word 8 (Office97, Office2000).
30 Summary: Include files needed to compile
31 Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki wv2
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
34 Requires: libgsf-devel
38 Contains the wv2 header files.
40 %description devel -l pl.UTF-8
41 Pakiet tem zawiera pliki nagłówkowe wv2.
51 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
52 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
53 %if "%{_lib}" == "lib64"
60 rm -rf $RPM_BUILD_ROOT
62 %{__make} -C build install \
63 DESTDIR=$RPM_BUILD_ROOT
66 rm -rf $RPM_BUILD_ROOT
68 %post -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog THANKS TODO
74 %attr(755,root,root) %{_libdir}/libwv2.so.*.*.*
75 %attr(755,root,root) %ghost %{_libdir}/libwv2.so.4
78 %defattr(644,root,root,755)
79 %doc doc/escher/*.html doc/DESIGN.html src/generator/{*.htm,spec_defects}
80 %attr(755,root,root) %{_bindir}/wv2-config
81 %attr(755,root,root) %{_libdir}/libwv2.so