]> git.pld-linux.org Git - packages/xlhtml.git/blob - xlhtml.spec
- verbose lib, man files
[packages/xlhtml.git] / xlhtml.spec
1 Summary:        Excel 95/97 and PowerPoint to HTML converter
2 Summary(pl.UTF-8):      Konwerter z Excela 95/97 oraz PowerPointa do HTML
3 Name:           xlhtml
4 Version:        0.5.1
5 Release:        6
6 License:        GPL v2+
7 Group:          Applications/Text
8 #Source0:       http://downloads.sourceforge.net/chicago/%{name}.%{version}.tgz
9 Source0:        %{name}.%{version}.tgz
10 # Source0-md5:  deeb108545e1848fce5dcb8d84d8a48e
11 Patch0:         %{name}-shared.patch
12 Patch1:         %{name}-colors.patch
13 URL:            http://chicago.sourceforge.net/xlhtml/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 Obsoletes:      xlHtml
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
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
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
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
30 PowerPointa do HTML.
31
32 %package devel
33 Summary:        Excel 95/97 to HTML converter development resources
34 Summary(pl.UTF-8):      Zasoby programistyczne xlhtml
35 Group:          Applications/Text
36 Requires:       %{name} = %{version}-%{release}
37 Obsoletes:      xlHtml-devel
38
39 %description devel
40 Excel 95/97 to HTML converter development resources.
41
42 %description devel -l pl.UTF-8
43 Zasoby programistyczne konwertera Excela 95/97 do HTML.
44
45 %package static
46 Summary:        Excel 95/97 to HTML converter static libraries
47 Summary(pl.UTF-8):      Statyczne biblioteki xlhtml
48 Group:          Applications/Text
49 Requires:       %{name}-devel = %{version}-%{release}
50 Obsoletes:      xlHtml-static
51
52 %description static
53 Excel 95/97 to HTML converter static libraries.
54
55 %description static -l pl.UTF-8
56 Statyczne biblioteki konwertera Excela 95/97 do HTML.
57
58 %prep
59 %setup -q -n %{name}
60 %patch0 -p1
61 %patch1 -p1
62
63 %{__rm} -r xlhtml/contrib/CVS
64
65 %build
66 %{__libtoolize}
67 %{__aclocal}
68 %{__autoconf}
69 %{__autoheader}
70 %{__automake}
71 %configure
72
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 install cole/cole-config $RPM_BUILD_ROOT%{_bindir}
82
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)
91 %doc xlhtml/contrib xlhtml/{README,THANKS,TODO}
92 %attr(755,root,root) %{_bindir}/nsopen
93 %attr(755,root,root) %{_bindir}/nsxlview
94 %attr(755,root,root) %{_bindir}/nspptview
95 %attr(755,root,root) %{_bindir}/xlhtml
96 %attr(755,root,root) %{_bindir}/ppthtml
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*
101
102 %files devel
103 %defattr(644,root,root,755)
104 %doc xlhtml/ChangeLog
105 %attr(755,root,root) %{_bindir}/cole-config
106 %attr(755,root,root) %{_libdir}/libcole.so
107 %{_libdir}/libcole.la
108 %{_includedir}/cole
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/libcole.a
This page took 0.061578 seconds and 3 git commands to generate.