Hi Lenny & Cookers

I created a spec file for htmldoc, a very nice program to convert
html doc files to pdf or ps (Level 1 - 3 each) as well as one ore
more indexed html file. Popular example would be the html docs
for bluefish (which are not included yet). I have an adapted spec
file for that which would require this package. The program can be
used both from the command line and from the GUI.
(BTW: A manual.book file for creating the pdf was already included 
in the bluefish archive :-))

As I'm not continually upgrading to cooker, I did not upload a
version to incoming. Included with the mail are both the adapted
spec file for bluefish and the htmldoc spec file

URL: http://www.easysw.com/htmldoc/
 
ToDo: Create icon for htmldoc, add menu entry, adapt configure.in 
      to use AM_PROG_LIBTOOL (obsoletes AC_PROG_RANLIB).

Best regards,

Reinhard Katzmann
-- 
E-Mail: [EMAIL PROTECTED]

Current Projects: Linux-Installation Mandrake 7.1 (99% finished)
                  Improvements of Driver for Tevion Tablet
                  Java-DB and -Interface for Pincity (95 % finished)
GnuPG Public Key available on request.
Summary: Multiple HTMLs to indexed HTML, PostScript and PDF converter
Name: htmldoc
Version: 1.8.8
Release: 1mdk
Copyright: GPL
Group: Applications/Publishing
Source: ftp://ftp.easysw.com/pub/htmldoc/%{version}/%{name}-%{version}-source.tar.bz2
Prefix: /usr
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
URL: http://www.easysw.com/htmldoc/
BuildPrereq: libtool, bzip2, autoconf, fltk
Obsoletes: htmldoc-nogui
Conflicts: htmldoc-nogui
Requires: fltk

%description
HTMLDOC is a program that generates indexed HTML, Adobe(R) PostScript (TM),
and PDF files from HTML "source" files that you create using your favorite HTML editor.

HTMLDOC includes a simple GUI interface to manage your HTML files and automatically
(re)generate files for viewing and printing. 

See htmldoc-docs RPM -- http://nogin.org/RPM/htmldoc-docs.html
or htmldoc website -- http://www.easysw.com/htmldoc/documentation.html 
for documentation.

%prep
%setup -q
rm -f configure

%build
autoconf
%configure
make 

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README.txt COPYING.txt CHANGES.txt doc
%{_datadir}/htmldoc/*
%{_bindir}/*
%{_mandir}/man1/*
# Not needed, already in doc directory
#%{_datadir}/doc

%changelog
* Wed Aug 23 2000 Reinhard Katzmann <[EMAIL PROTECTED]> 1.8.8-1mdk
- Update to 1.8.8
- Removed docs package (too many redundant docs)
- Mandrake optimations :-)

* Sat Jan  8 2000 Alexey Nogin <[EMAIL PROTECTED]>
[htmldoc-1.8.4-2]
- This package should be build with fltk GUI. The package that
  does not have any GUI is now called htmldoc-nogui.
- Documentation is now in a separate htmldoc-docs RPM  

* Fri Nov 19 1999 Alexey Nogin <[EMAIL PROTECTED]>
[htmldoc-1.8-1]
- Upgraded to htmldoc-1.8
- Updated URLs.
- Added a patch that allows htmldoc to build without fltk being present.

* Tue Oct 26 1999 Alexey Nogin <[EMAIL PROTECTED]>
[htmldoc-1.7-2]
- Fixed a small problem that made <PRE> tag do strange things in PS&PDF modes

* Mon Oct 25 1999 Alexey Nogin <[EMAIL PROTECTED]>
[htmldoc-1.7-1]
- Created a SPEC file from scratch

%define name bluefish
%define version 0.5
%define release 2mdk
%define _menudir /usr/lib/menu

Summary: the best WYSIWYG GPLized html editor
Name: %{name}
Version: %{version}
Release: %{release}
Source: http://bluefish.openoffice.nl/download/%{name}-%{version}.tar.bz2
Source1: bluefish.xpm
Source2: bluefish_menuentry
URL: http://bluefish.openoffice.nl
Copyright: GPL
Group: Editors
BuildRequires: htmldoc >= 1.8.8
BuildRoot: %{_tmppath}/%{name}-buildroot

%description
Bluefish is a programmer's HTML editor, designed to save the experienced webmaster 
some keystrokes. 
It features a multiple file editor, multiple toolbars, custom menus, image and 
thumbnail dialogs, 
open from the web, HTML validation and lots of wizards. It is in continuous 
development, but it's 
already one of the best WYSIWYG HTML editors. 
                                                                                       
        
%prep
%setup -q

./configure --prefix=%{_prefix} --without-install-location \
        --disable-bluefish-datadir 

%build

%make
                                                                                
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/

make prefix=$RPM_BUILD_ROOT%{_prefix} \
        install pixmapsdir=$RPM_BUILD_ROOT%{_datadir}/pixmaps \
                pkgdatadir=$RPM_BUILD_ROOT%{_libdir}/bluefish 

mkdir -p $RPM_BUILD_ROOT%{_libdir}/bluefish
install -c -m 644 ./data/php3_functions $RPM_BUILD_ROOT%{_libdir}/bluefish/
install -c -m 644 ./data/ssi_functions $RPM_BUILD_ROOT%{_libdir}/bluefish/
install -c -m 644 ./data/rxml_functions $RPM_BUILD_ROOT%{_libdir}/bluefish/

mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/
install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/

mkdir -p $RPM_BUILD_ROOT%{_menudir}
install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_menudir}/bluefish

install -m 644 man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/

# Until htmldoc has a --nogui option the GUI will popup
# forcing you to press "generate" and "close" :-((((((
cd manual
htmldoc manual.book

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_menus
                
%postun
%clean_menus


%files
%defattr(-,root,root,0755)
%doc README BUGS AUTHORS ChangeLog NEWS TODO manual
%{_bindir}/*
%{_menudir}/*
%{_mandir}/man1/*
%{_libdir}/bluefish
%{_datadir}/icons/*
%{_datadir}/pixmaps/*
%{_datadir}/locale/*

%changelog
* Fri Aug 25 2000 Reinhard Katzmann <[EMAIL PROTECTED]> 0.5-2mdk
- added some datadirs
- added manual for bluefish
- Advice: remove _menudir macro for current rpm
- added pdf doc from htmldocs using htmldoc :-)

* Thu Aug 24 2000 Geoffrey Lee <[EMAIL PROTECTED]> 0.5-1mdk
- _menudir.
- update menus and clean menus macro.
- a very new and shiny version.

* Tue Aug 22 2000 Lenny Cartier <[EMAIL PROTECTED]> 0.4-2mdk
- BM
- macros

* Tue May 16 2000 Lenny Cartier <[EMAIL PROTECTED]> 0.4-1mdk
- fix install of pixmaps
- used srpm provided by Geoffrey Lee <[EMAIL PROTECTED]>

* Fri Apr 28 2000 Geoffrey Lee <[EMAIL PROTECTED]> 0.3.6-2mdk
- minor change to description, the best html editor is cat and ^D ;-)
- URL for it
- add url for source
- change location of file, stuff shouldn't go in /usr/local

* Wed Apr 26 2000 Daouda Lo <[EMAIL PROTECTED]> 0.3.6-1mdk
- release.
- SMP build check.
- package should be relocatable
- add menu entry with icon.

* Tue Apr 25 2000 Lenny Cartier <[EMAIL PROTECTED]> 0.3.2-2mdk 
- fix group

* Tue Sep  7 1999 Daouda LO <[EMAIL PROTECTED]> 0.3.2-1mdk
- First spec file for Mandrake distribution.
-Mandrake Adaptations

PGP signature

Reply via email to