INFO: ftp2html.spec

Wojciech "Sas" Cieciwa cieciwa at alpha.zarz.agh.edu.pl
Thu Nov 26 12:22:14 CET 1998


Witam,

Kolejna zabawka :)
_MOŻE_ być przydatna :))


Pozdrawiam.
					Sas.

P.S. 
"Kompilować" jako 'noarch' - nie pamiętam jak to się robi aby to było
automatyczne.
=============================================================================
  UNIX System Administrator, POLAND
      _/_/_/_/ _/_/_/_/  _/_/_/_/     Wojciech 'Sas' Cieciwa
     _/       _/    _/  _/                   
    _/_/_/_/ _/_/_/_/  _/_/_/_/     cieciwa at alpha.zarz.agh.edu.pl
         _/ _/    _/        _/     sas at uci.agh.edu.pl                 
  _/_/_/_/ _/    _/  _/_/_/_/                 
		http://www2.zarz.agh.edu.pl/~cieciwa

-------------- next part --------------
Summary: ftp2html
Summary(pl): ftp2html - 
Name: ftp2html
Version:1.00
Release:1
Copyright:GLP
Group:Utilities
Source:%name-%version.tar.gz
Buildroot: /tmp/%{name}-%{version}-root


%description
ftp2html is a simple Perl script to convert a listing of an FTP directory
to HTML format. The result is a webpage that contains ftp://... links,
which you can hang into your WWW site or leave in the FTP site for folks who
like to ftp via their browser. Chances are that you're viewing an FTP 
listing in a table format that was generated using ftp2html.

%description -l pl
Skrypt w Perl-u tworzący stronę w HTML-u z podanego źródła (ftp)

%prep
%setup -q
%build

%install
install -d $RPM_BUILD_ROOT/usr/bin
echo "#!/usr/bin/perl" > $RPM_BUILD_ROOT/usr/bin/ftp2html
cat ftp2html >> $RPM_BUILD_ROOT/usr/bin/ftp2html

%clean
#rm -rf $RPM_BUILD_ROOT
#rm -rf $RPM_BUILD_DIR/%name-%version

%files
%defattr(644, root, root, 755)
%doc ftp2html.README
%attr(755, root, root)/usr/bin/ftp2html

%changelog
*Thu Nov 26  1998 Wojciech "Sas" Cięciwa <cieciwa at alpha.zarz.agh.edu.pl>
- build RPM,
- fixing %install.


More information about the pld-devel-pl mailing list