]>
Commit | Line | Data |
---|---|---|
42e414b5 JB |
1 | Summary: Converting WordPerfect(TM) documents into OpenOffice.org formats |
2 | Summary(pl.UTF-8): Konwersja dokumentów WordPerfecta(TM) na formaty OpenOffice.org | |
3 | Name: writerperfect | |
ac2a44be | 4 | Version: 0.9.4 |
7071ec0a | 5 | Release: 1 |
42e414b5 JB |
6 | License: GPL v2 |
7 | Group: Applications/Publishing | |
8 | Source0: http://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz | |
ac2a44be | 9 | # Source0-md5: bc1b90a4d4b0184a078bf5ceb9b36fda |
42e414b5 JB |
10 | URL: http://libwpd.sourceforge.net/ |
11 | BuildRequires: glib2-devel >= 2.0.0 | |
7ca0c781 JB |
12 | BuildRequires: libabw-devel >= 0.1 |
13 | BuildRequires: libcdr-devel >= 0.1 | |
14 | BuildRequires: libe-book-devel >= 0.1 | |
ac2a44be | 15 | BuildRequires: libeot-devel |
7071ec0a | 16 | BuildRequires: libepubgen-devel >= 0.0 |
7ca0c781 JB |
17 | BuildRequires: libetonyek-devel >= 0.1 |
18 | BuildRequires: libfreehand-devel >= 0.1 | |
42e414b5 | 19 | BuildRequires: libgsf-devel >= 1.12.0 |
7ca0c781 JB |
20 | BuildRequires: libmspub-devel >= 0.1 |
21 | BuildRequires: libmwaw-devel >= 0.3 | |
22 | BuildRequires: libodfgen-devel >= 0.1 | |
7071ec0a | 23 | BuildRequires: libpagemaker-devel >= 0.0 |
d90d55ea | 24 | BuildRequires: librevenge-devel >= 0.0.1 |
ac2a44be | 25 | BuildRequires: librvngabw-devel >= 0.0 |
7ca0c781 JB |
26 | BuildRequires: libstdc++-devel >= 6:4.3 |
27 | BuildRequires: libvisio-devel >= 0.1 | |
28 | BuildRequires: libwpd-devel >= 0.10 | |
29 | BuildRequires: libwpg-devel >= 0.3 | |
ac2a44be | 30 | BuildRequires: libwps-devel >= 0.4 |
42e414b5 JB |
31 | BuildRequires: pkgconfig >= 1:0.20 |
32 | BuildRequires: tar >= 1:1.22 | |
33 | BuildRequires: xz | |
7ca0c781 JB |
34 | Requires: libabw >= 0.1 |
35 | Requires: libcdr >= 0.1 | |
36 | Requires: libe-book >= 0.1 | |
37 | Requires: libetonyek >= 0.1 | |
38 | Requires: libfreehand >= 0.1 | |
42e414b5 | 39 | Requires: libgsf >= 1.12.0 |
7ca0c781 JB |
40 | Requires: libmspub >= 0.1 |
41 | Requires: libmwaw >= 0.3 | |
42 | Requires: libodfgen >= 0.1 | |
d90d55ea | 43 | Requires: librevenge >= 0.0.1 |
7ca0c781 JB |
44 | Requires: libvisio >= 0.1 |
45 | Requires: libwpd >= 0.10 | |
46 | Requires: libwpg >= 0.3 | |
ac2a44be | 47 | Requires: libwps >= 0.4 |
42e414b5 JB |
48 | Obsoletes: wpd2odt |
49 | Obsoletes: wpd2sxw | |
50 | Obsoletes: wps2odt | |
51 | Obsoletes: wps2sxw | |
52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
53 | ||
54 | %description | |
55 | Tool for converting: | |
56 | - WordPerfect(TM) or MS Works documents into OpenDocument Text format | |
57 | - WordPerfect Graphics or Microsoft Visio documents into OpenDocument | |
58 | Graphics format | |
59 | ||
60 | %description -l pl.UTF-8 | |
61 | Narzędzia do konwertowania dokumentów: | |
62 | - WordPerfecta(TM) oraz MS Works do formatu OpenDocument Text | |
63 | - WordPerfect Graphics oraz Microsoft Visio do OpenDocument Graphics | |
64 | ||
65 | %prep | |
66 | %setup -q | |
67 | ||
68 | %build | |
7071ec0a | 69 | CXXFLAGS="%{rpmcxxflags} -std=c++0x" |
42e414b5 | 70 | %configure \ |
7ca0c781 JB |
71 | --disable-silent-rules \ |
72 | --with-libgsf \ | |
73 | --with-sharedptr=c++11 | |
42e414b5 JB |
74 | %{__make} |
75 | ||
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %{__make} install \ | |
80 | DESTDIR=$RPM_BUILD_ROOT | |
81 | ||
82 | %clean | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %files | |
86 | %defattr(644,root,root,755) | |
87 | %doc ChangeLog NEWS README | |
ac2a44be | 88 | %attr(755,root,root) %{_bindir}/abw2abw |
7071ec0a | 89 | %attr(755,root,root) %{_bindir}/abw2epub |
7ca0c781 | 90 | %attr(755,root,root) %{_bindir}/abw2odt |
7071ec0a | 91 | %attr(755,root,root) %{_bindir}/cdr2epub |
89390f8d | 92 | %attr(755,root,root) %{_bindir}/cdr2odg |
7071ec0a | 93 | %attr(755,root,root) %{_bindir}/cmx2epub |
89390f8d | 94 | %attr(755,root,root) %{_bindir}/cmx2odg |
ac2a44be | 95 | %attr(755,root,root) %{_bindir}/ebook2abw |
7071ec0a | 96 | %attr(755,root,root) %{_bindir}/ebook2epub |
7ca0c781 | 97 | %attr(755,root,root) %{_bindir}/ebook2odt |
7071ec0a | 98 | %attr(755,root,root) %{_bindir}/fh2epub |
a4b72dec | 99 | %attr(755,root,root) %{_bindir}/fh2odg |
7071ec0a | 100 | %attr(755,root,root) %{_bindir}/key2epub |
a4b72dec | 101 | %attr(755,root,root) %{_bindir}/key2odp |
ac2a44be | 102 | %attr(755,root,root) %{_bindir}/mwaw2abw |
7071ec0a | 103 | %attr(755,root,root) %{_bindir}/mwaw2epub |
7ca0c781 | 104 | %attr(755,root,root) %{_bindir}/mwaw2odf |
ac2a44be JB |
105 | %attr(755,root,root) %{_bindir}/numbers2ods |
106 | %attr(755,root,root) %{_bindir}/pages2abw | |
7071ec0a | 107 | %attr(755,root,root) %{_bindir}/pages2epub |
7ca0c781 | 108 | %attr(755,root,root) %{_bindir}/pages2odt |
7071ec0a JB |
109 | %attr(755,root,root) %{_bindir}/pmd2epub |
110 | %attr(755,root,root) %{_bindir}/pmd2odg | |
111 | %attr(755,root,root) %{_bindir}/pub2epub | |
89390f8d | 112 | %attr(755,root,root) %{_bindir}/pub2odg |
7071ec0a | 113 | %attr(755,root,root) %{_bindir}/vsd2epub |
42e414b5 | 114 | %attr(755,root,root) %{_bindir}/vsd2odg |
7071ec0a | 115 | %attr(755,root,root) %{_bindir}/vss2epub |
89390f8d | 116 | %attr(755,root,root) %{_bindir}/vss2odg |
7ca0c781 | 117 | %attr(755,root,root) %{_bindir}/wks2ods |
ac2a44be | 118 | %attr(755,root,root) %{_bindir}/wpd2abw |
7071ec0a | 119 | %attr(755,root,root) %{_bindir}/wpd2epub |
42e414b5 | 120 | %attr(755,root,root) %{_bindir}/wpd2odt |
7071ec0a | 121 | %attr(755,root,root) %{_bindir}/wpg2epub |
42e414b5 | 122 | %attr(755,root,root) %{_bindir}/wpg2odg |
ac2a44be | 123 | %attr(755,root,root) %{_bindir}/wps2abw |
7071ec0a | 124 | %attr(755,root,root) %{_bindir}/wps2epub |
42e414b5 | 125 | %attr(755,root,root) %{_bindir}/wps2odt |