]> git.pld-linux.org Git - packages/xlhtml.git/blame - xlhtml.spec
- converted to UTF-8
[packages/xlhtml.git] / xlhtml.spec
CommitLineData
260f8f47 1Summary: Excel 95/97 and PowerPoint to HTML converter
ce187b91 2Summary(pl.UTF-8): Konwerter z Excela 95/97 oraz PowerPointa do HTML
fd680ffd 3Name: xlhtml
4Version: 0.5.1
c7d57128 5Release: 5
fd680ffd 6License: GPL
7Group: Applications/Text
2dd656b0 8#Source0: http://dl.sourceforge.net/chicago/%{name}.%{version}.tgz
9Source0: %{name}.%{version}.tgz
10# Source0-md5: deeb108545e1848fce5dcb8d84d8a48e
729c484c 11Patch0: %{name}-shared.patch
c7d57128 12Patch1: %{name}-colors.patch
fd680ffd 13URL: http://chicago.sourceforge.net/xlhtml/
fd680ffd 14BuildRequires: autoconf
15BuildRequires: automake
16BuildRequires: libtool
729c484c 17Obsoletes: xlHtml
fd680ffd 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
260f8f47 21The xlhtml program will take an Excel 95, or 97 file as input and
22convert it to HTML. The output is via standard out so it can be
fd680ffd 23re-directed to files or piped to filters or used as a gateway to the
24internet. pptHtml program converts PowerPoint files to HTML.
25
ce187b91
JR
26%description -l pl.UTF-8
27Program xlhtml przyjmuje na wejście pliki Excela 95 lub 97 i
28konwertuje je do HTML, wyrzucając na standardowe wyjście - które może
29być przekierowane do innego filtru. Program pptHtml konwertuje pliki
fd680ffd 30PowerPointa do HTML.
31
32%package devel
260f8f47 33Summary: Excel 95/97 to HTML converter development resources
ce187b91 34Summary(pl.UTF-8): Zasoby programistyczne xlhtml
fd680ffd 35Group: Applications/Text
c7d57128 36Requires: %{name} = %{version}-%{release}
729c484c 37Obsoletes: xlHtml-devel
fd680ffd 38
39%description devel
260f8f47 40Excel 95/97 to HTML converter development resources.
fd680ffd 41
ce187b91 42%description devel -l pl.UTF-8
fd680ffd 43Zasoby programistyczne konwertera Excela 95/97 do HTML.
44
45%package static
260f8f47 46Summary: Excel 95/97 to HTML converter static libraries
ce187b91 47Summary(pl.UTF-8): Statyczne biblioteki xlhtml
fd680ffd 48Group: Applications/Text
c7d57128 49Requires: %{name}-devel = %{version}-%{release}
729c484c 50Obsoletes: xlHtml-static
fd680ffd 51
52%description static
260f8f47 53Excel 95/97 to HTML converter static libraries.
fd680ffd 54
ce187b91 55%description static -l pl.UTF-8
fd680ffd 56Statyczne 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
73rm -rf $RPM_BUILD_ROOT
74
75%{__make} install \
729c484c 76 DESTDIR=$RPM_BUILD_ROOT
fd680ffd 77
729c484c 78install 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
83rm -rf xlhtml/contrib/CVS
84
fd680ffd 85%clean
86rm -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
This page took 0.078219 seconds and 4 git commands to generate.