]> git.pld-linux.org Git - packages/htmldoc.git/blob - htmldoc.spec
- new %%doc
[packages/htmldoc.git] / htmldoc.spec
1 Summary:        HTML processing program
2 Summary(pl):    Program przetwarzaj±cy HTML
3 Name:           htmldoc
4 Version:        1.8.19
5 Release:        2
6 License:        GPL
7 Group:          Applications/Publishing
8 Source0:        ftp://ftp.easysw.com/pub/%{name}/%{version}/%{name}-%{version}-source.tar.bz2
9 URL:            http://www.easysw.com/htmldoc/
10 BuildRequires:  XFree86-devel
11 BuildRequires:  autoconf
12 BuildRequires:  fltk-devel
13 BuildRequires:  libjpeg-devel
14 BuildRequires:  libpng-devel
15 BuildRequires:  openssl-devel
16 BuildRequires:  zlib-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix         /usr/X11R6
20 %define         _mandir         %{_prefix}/man
21
22 %description
23 HTML processing program that generates HTML, PostScript, and PDF files
24 with a table of contents.
25
26 %description -l pl
27 Program przetwarzaj±cy HTML, który generuje pliki HTML, PostScript i
28 PDF ze spisem tre¶ci.
29
30 %prep
31 %setup -q
32
33 %build
34 aclocal
35 %{__autoconf}
36 if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
37         CPPFLAGS="`pkg-config libpng12 --cflags`";
38 fi
39 %configure CXXFLAGS="$CPPFLAGS"
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 %{__make} install \
45         datadir=$RPM_BUILD_ROOT%{_datadir} \
46         mandir=$RPM_BUILD_ROOT%{_mandir} \
47         bindir=$RPM_BUILD_ROOT%{_bindir}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc CHANGES.txt README.txt doc/htmldoc.html doc/htmldoc.png doc/htmldoc-fig*.png
55 %attr(755,root,root) %{_bindir}/*
56 %{_mandir}/man1/*
57 %{_datadir}/htmldoc
This page took 0.037618 seconds and 3 git commands to generate.