]>
Commit | Line | Data |
---|---|---|
260f8f47 | 1 | Summary: Excel 95/97 and PowerPoint to HTML converter |
c377ed5d | 2 | Summary(pl.UTF-8): Konwerter z Excela 95/97 oraz PowerPointa do HTML |
fd680ffd | 3 | Name: xlhtml |
4 | Version: 0.5.1 | |
3e1d2a66 | 5 | Release: 6 |
906f70c0 | 6 | License: GPL v2+ |
fd680ffd | 7 | Group: Applications/Text |
906f70c0 | 8 | #Source0: http://downloads.sourceforge.net/chicago/%{name}.%{version}.tgz |
2dd656b0 | 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 |
c377ed5d | 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 |
c377ed5d | 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 | |
906f70c0 JB |
63 | %{__rm} -r xlhtml/contrib/CVS |
64 | ||
fd680ffd | 65 | %build |
66 | %{__libtoolize} | |
c0d91917 | 67 | %{__aclocal} |
fd680ffd | 68 | %{__autoconf} |
906f70c0 | 69 | %{__autoheader} |
fd680ffd | 70 | %{__automake} |
71 | %configure | |
72 | ||
73 | %{__make} | |
74 | ||
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %{__make} install \ | |
729c484c | 79 | DESTDIR=$RPM_BUILD_ROOT |
fd680ffd | 80 | |
729c484c | 81 | install cole/cole-config $RPM_BUILD_ROOT%{_bindir} |
fd680ffd | 82 | |
fd680ffd | 83 | %clean |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %post -p /sbin/ldconfig | |
87 | %postun -p /sbin/ldconfig | |
88 | ||
89 | %files | |
90 | %defattr(644,root,root,755) | |
260f8f47 | 91 | %doc xlhtml/contrib xlhtml/{README,THANKS,TODO} |
fd680ffd | 92 | %attr(755,root,root) %{_bindir}/nsopen |
93 | %attr(755,root,root) %{_bindir}/nsxlview | |
94 | %attr(755,root,root) %{_bindir}/nspptview | |
1d09411a | 95 | %attr(755,root,root) %{_bindir}/xlhtml |
96 | %attr(755,root,root) %{_bindir}/ppthtml | |
906f70c0 JB |
97 | %attr(755,root,root) %{_libdir}/libcole.so.*.*.* |
98 | %attr(755,root,root) %ghost %{_libdir}/libcole.so.2 | |
99 | %{_mandir}/man1/ppthtml.1* | |
100 | %{_mandir}/man1/xlhtml.1* | |
fd680ffd | 101 | |
102 | %files devel | |
103 | %defattr(644,root,root,755) | |
260f8f47 | 104 | %doc xlhtml/ChangeLog |
729c484c | 105 | %attr(755,root,root) %{_bindir}/cole-config |
906f70c0 JB |
106 | %attr(755,root,root) %{_libdir}/libcole.so |
107 | %{_libdir}/libcole.la | |
fd680ffd | 108 | %{_includedir}/cole |
fd680ffd | 109 | |
110 | %files static | |
111 | %defattr(644,root,root,755) | |
906f70c0 | 112 | %{_libdir}/libcole.a |