info: txt2html.spec

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Sat Sep 26 10:31:27 CEST 1998


Znowu drobiazg.

-- 
 __("<   Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.home.ml.org/
 \__/       GCS/M d- s+:-- a21 C+++>+++$ UL++>++++$ P+++ L++>++++$ E->++
  ^^                W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP->+ t
QRCZAK                  5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-
-------------- next part --------------
# RPM spec file for txt2html
#
# Author: Stefan Hornburg <racke.gundel.han.de>
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any
# later version.

Summary:	Convert raw text to something with a little HTML formatting
Summary(pl):	Konwersja czystego tekstu na HTML, rozpoznaj?c troch? sformatowania
Name:		txt2html
Version:	1.25
Release:	3
URL:		http://www.thehouse.org/txt2html/
Source:		http://www.thehouse.org/txt2html/%{name}-%{version}.tar.gz
Copyright:	Modified BSD
Group:		Utilities/Text
Requires:	perl >= 4
BuildRoot:	/var/tmp/%{name}-%{version}-root
BuildArchitectures: noarch

%description
My intent in writing this tool is to provide an easier way of converting
existing text documents to HTML format. txt2html can also be used to aid in
writing new HTML documents, but there are probably better ways of doing
that.

%description -l pl
Narz?dzie u?atwia konwersj? dokument?w tekstowych na HTML. txt2html mo?e te?
by? u?yty do pisania nowych dokument?w HTML, chocia? na to pewnie istniej?
lepsze sposoby.

%prep
%setup -n txt2html -q

%build

%install
install -d $RPM_BUILD_ROOT/usr/{bin,lib}
{
    echo '#!/usr/bin/perl'
    sed -e'1,10d' -e's%/usr/local/lib%/usr/lib%' txt2html.pl
} >$RPM_BUILD_ROOT/usr/bin/txt2html
install txt2html.dict $RPM_BUILD_ROOT/usr/lib/txt2html-linkdict

%files
%defattr(644, root, root, 755)
%doc changes.html sample.txt sample.html LICENSE README
%config /usr/lib/txt2html-linkdict
%attr(755, root, root) /usr/bin/txt2html

%changelog
* Fri Sep 25 1998 Marcin 'Qrczak' Kowalczyk <qrczak at knm.org.pl>
- added pl translation
- added %setup -q parameter
- replaced `mkdir -p' with more standard `install -d'
- minor clean-ups in the install script


More information about the pld-devel-pl mailing list