]> git.pld-linux.org Git - packages/wv.git/blob - wv.spec
71d6d894a41855995b95625fddd2aacde482d849
[packages/wv.git] / wv.spec
1 Summary:        MSWord Document to HTML converter
2 Summary(pl):    Konwerter dokumentów MS Worda do HTML
3 Summary(pt_BR): Conversor de arquivos formato Word (6/7/8/9) para html
4 Name:           wv
5 Version:        0.7.5
6 Release:        1
7 License:        GPL
8 Group:          Applications/Text
9 Source0:        http://dl.sourceforge.net/wvware/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-magick.patch
11 Patch1:         %{name}-fixes.patch
12 URL:            http://www.wvWare.com/
13 BuildRequires:  ImageMagick-devel >= 1:5.5.2.5
14 BuildRequires:  XFree86-devel
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  expat-devel
18 BuildRequires:  glib-devel
19 BuildRequires:  libtool
20 BuildRequires:  libwmf-devel >= 0.2.2
21 #BuildRequires: libxml2-devel (may be used _instead of_ expat)
22 BuildRequires:  pkgconfig
23 Obsoletes:      mswordview
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 MSWordView is a program that understands the Microsoft Word 8 binary
28 file format (Office97, Office2000) and is able to convert Word
29 documents into HTML, which can then be read with a browser.
30
31 wv is a suite of programs to help convert Word Documents to HTML.
32
33 %description -l pl
34 MSWordView jest programem, który rozumie binarne dokumenty programu
35 Microsoft Word 8 (Office97, Office2000) i jest w stanie skonwertowaæ
36 je do dokumentu HTML, który mo¿e byæ przeczytany w przegl±darce WWW.
37
38 wv jest elementem programów, które pomagaj± przekonwertowaæ dokumenty
39 Worda do HTML.
40
41 %description -l pt_BR
42 Conversor de arquivos formato Word (6/7/8/9) para html.
43
44 %package devel
45 Summary:        Include files needed to compile
46 Summary(pl):    Pliki nag³ówkowe do biblioteki wv
47 Group:          Development/Libraries
48 Requires:       %{name} = %{version}
49
50 %description devel
51 Contains the header files.
52
53 %description devel -l pl
54 Pakiet tem zawiera pliki nag³ówkowe wv.
55
56 %package static
57 Summary:        Static wv libraries
58 Summary(pl):    Biblioteki statyczne wv
59 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com o wv
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}
62
63 %description static
64 Contains static wv libraries.
65
66 %description static -l pl
67 Pakiet zawiera statyczne biblioteki wv.
68
69 %prep
70 %setup -q
71 %patch0 -p1
72 %patch1 -p1
73
74 %build
75 rm -f missing acinclude.m4
76 %{__libtoolize}
77 %{__aclocal}
78 %{__autoconf}
79 %{__autoheader}
80 %{__automake} -i
81 %configure \
82         --with-Magick \
83         --with-expat \
84         --with-exporter \
85         --with-glib \
86         --with-libwmf \
87         --with-png \
88         --with-zlib \
89         --enable-static
90 # possible bconds:
91 # --with-glib=glib2 to use glib 2.x instead of 1.x
92 # --with-gnomevfs to include gnomevfs support (gnome1 only?)
93
94 mv -f magick magick-wv
95 %{__make}
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99
100 %{__make} install \
101         DESTDIR=$RPM_BUILD_ROOT \
102         mandir=%{_mandir}
103
104 %clean
105 rm -fr $RPM_BUILD_ROOT
106
107 %post   -p /sbin/ldconfig
108 %postun -p /sbin/ldconfig
109
110 %files
111 %defattr(644,root,root,755)
112 %doc CHANGELOG CREDITS D_CREDITS D_README KNOWN-BUGS README TESTING TODO.TXT
113 %attr(755,root,root) %{_bindir}/wv*
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*
115 %{_datadir}/wv
116 %{_mandir}/man*/*
117
118 %files devel
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_bindir}/libwv-config
121 %{_libdir}/lib*.la
122 %attr(755,root,root) %{_libdir}/lib*.so
123 %{_includedir}/*.h
124
125 %files static
126 %defattr(644,root,root,755)
127 %{_libdir}/libwv.a
This page took 0.027271 seconds and 2 git commands to generate.