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