]>
Commit | Line | Data |
---|---|---|
260f8f47 | 1 | Summary: Excel 95/97 and PowerPoint to HTML converter |
ce187b91 | 2 | Summary(pl.UTF-8): Konwerter z Excela 95/97 oraz PowerPointa do HTML |
fd680ffd | 3 | Name: xlhtml |
4 | Version: 0.5.1 | |
c7d57128 | 5 | Release: 5 |
fd680ffd | 6 | License: GPL |
7 | Group: Applications/Text | |
2dd656b0 | 8 | #Source0: http://dl.sourceforge.net/chicago/%{name}.%{version}.tgz |
9 | Source0: %{name}.%{version}.tgz | |
10 | # Source0-md5: deeb108545e1848fce5dcb8d84d8a48e | |
729c484c | 11 | Patch0: %{name}-shared.patch |
c7d57128 | 12 | Patch1: %{name}-colors.patch |
fd680ffd | 13 | URL: http://chicago.sourceforge.net/xlhtml/ |
fd680ffd | 14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
16 | BuildRequires: libtool | |
729c484c | 17 | Obsoletes: xlHtml |
fd680ffd | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
260f8f47 | 21 | The xlhtml program will take an Excel 95, or 97 file as input and |
22 | convert it to HTML. The output is via standard out so it can be | |
fd680ffd | 23 | re-directed to files or piped to filters or used as a gateway to the |
24 | internet. pptHtml program converts PowerPoint files to HTML. | |
25 | ||
ce187b91 JR |
26 | %description -l pl.UTF-8 |
27 | Program xlhtml przyjmuje na wejście pliki Excela 95 lub 97 i | |
28 | konwertuje je do HTML, wyrzucając na standardowe wyjście - które może | |
29 | być przekierowane do innego filtru. Program pptHtml konwertuje pliki | |
fd680ffd | 30 | PowerPointa do HTML. |
31 | ||
32 | %package devel | |
260f8f47 | 33 | Summary: Excel 95/97 to HTML converter development resources |
ce187b91 | 34 | Summary(pl.UTF-8): Zasoby programistyczne xlhtml |
fd680ffd | 35 | Group: Applications/Text |
c7d57128 | 36 | Requires: %{name} = %{version}-%{release} |
729c484c | 37 | Obsoletes: xlHtml-devel |
fd680ffd | 38 | |
39 | %description devel | |
260f8f47 | 40 | Excel 95/97 to HTML converter development resources. |
fd680ffd | 41 | |
ce187b91 | 42 | %description devel -l pl.UTF-8 |
fd680ffd | 43 | Zasoby programistyczne konwertera Excela 95/97 do HTML. |
44 | ||
45 | %package static | |
260f8f47 | 46 | Summary: Excel 95/97 to HTML converter static libraries |
ce187b91 | 47 | Summary(pl.UTF-8): Statyczne biblioteki xlhtml |
fd680ffd | 48 | Group: Applications/Text |
c7d57128 | 49 | Requires: %{name}-devel = %{version}-%{release} |
729c484c | 50 | Obsoletes: xlHtml-static |
fd680ffd | 51 | |
52 | %description static | |
260f8f47 | 53 | Excel 95/97 to HTML converter static libraries. |
fd680ffd | 54 | |
ce187b91 | 55 | %description static -l pl.UTF-8 |
fd680ffd | 56 | Statyczne biblioteki konwertera Excela 95/97 do HTML. |
57 | ||
58 | %prep | |
1d09411a | 59 | %setup -q -n %{name} |
464b8611 | 60 | %patch0 -p1 |
c7d57128 | 61 | %patch1 -p1 |
fd680ffd | 62 | |
63 | %build | |
64 | %{__libtoolize} | |
c0d91917 | 65 | %{__aclocal} |
fd680ffd | 66 | %{__autoconf} |
fd680ffd | 67 | %{__automake} |
68 | %configure | |
69 | ||
70 | %{__make} | |
71 | ||
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %{__make} install \ | |
729c484c | 76 | DESTDIR=$RPM_BUILD_ROOT |
fd680ffd | 77 | |
729c484c | 78 | install cole/cole-config $RPM_BUILD_ROOT%{_bindir} |
fd680ffd | 79 | |
729c484c JB |
80 | #install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
81 | #install xlhtml/xlhtml.1 ppthtml/ppthtml.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
fd680ffd | 82 | |
8ea69cf5 TP |
83 | rm -rf xlhtml/contrib/CVS |
84 | ||
fd680ffd | 85 | %clean |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %post -p /sbin/ldconfig | |
89 | %postun -p /sbin/ldconfig | |
90 | ||
91 | %files | |
92 | %defattr(644,root,root,755) | |
260f8f47 | 93 | %doc xlhtml/contrib xlhtml/{README,THANKS,TODO} |
fd680ffd | 94 | %attr(755,root,root) %{_bindir}/nsopen |
95 | %attr(755,root,root) %{_bindir}/nsxlview | |
96 | %attr(755,root,root) %{_bindir}/nspptview | |
1d09411a | 97 | %attr(755,root,root) %{_bindir}/xlhtml |
98 | %attr(755,root,root) %{_bindir}/ppthtml | |
fd680ffd | 99 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* |
100 | %{_mandir}/man1/* | |
101 | ||
102 | %files devel | |
103 | %defattr(644,root,root,755) | |
260f8f47 | 104 | %doc xlhtml/ChangeLog |
729c484c | 105 | %attr(755,root,root) %{_bindir}/cole-config |
fd680ffd | 106 | %attr(755,root,root) %{_libdir}/lib*.so |
396de7ab | 107 | %{_libdir}/lib*.la |
fd680ffd | 108 | %{_includedir}/cole |
fd680ffd | 109 | |
110 | %files static | |
111 | %defattr(644,root,root,755) | |
112 | %{_libdir}/lib*.a |