]> git.pld-linux.org Git - packages/xlhtml.git/blame - xlhtml.spec
- verbose lib, man files
[packages/xlhtml.git] / xlhtml.spec
CommitLineData
260f8f47 1Summary: Excel 95/97 and PowerPoint to HTML converter
c377ed5d 2Summary(pl.UTF-8): Konwerter z Excela 95/97 oraz PowerPointa do HTML
fd680ffd 3Name: xlhtml
4Version: 0.5.1
3e1d2a66 5Release: 6
906f70c0 6License: GPL v2+
fd680ffd 7Group: Applications/Text
906f70c0 8#Source0: http://downloads.sourceforge.net/chicago/%{name}.%{version}.tgz
2dd656b0 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
c377ed5d 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
c377ed5d 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
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
76rm -rf $RPM_BUILD_ROOT
77
78%{__make} install \
729c484c 79 DESTDIR=$RPM_BUILD_ROOT
fd680ffd 80
729c484c 81install cole/cole-config $RPM_BUILD_ROOT%{_bindir}
fd680ffd 82
fd680ffd 83%clean
84rm -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
This page took 0.082214 seconds and 4 git commands to generate.