SPECS: perl2html.spec (NEW) - new package, prepared&tested by Mar...
bartowl
bartowl at pld-linux.org
Mon Mar 27 14:13:38 CEST 2006
Author: bartowl Date: Mon Mar 27 12:13:38 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new package, prepared&tested by Marcin Biczan <bibiak at magma-net.pl>
---- Files affected:
SPECS:
perl2html.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl2html.spec
diff -u /dev/null SPECS/perl2html.spec:1.1
--- /dev/null Mon Mar 27 14:13:38 2006
+++ SPECS/perl2html.spec Mon Mar 27 14:13:33 2006
@@ -0,0 +1,68 @@
+# $Revision$
+#
+# Conditional build:
+#
+Summary: perl2html - converts perl files to HTML
+Summary(pl): perl2html - konwerter źródeł perl na HTML
+Name: perl2html
+Version: 0.9.2
+Release: 0.1
+Epoch: 0
+License: GPL
+Group: Applications/Text
+Source0: http://user.cs.tu-berlin.de/~schintke/x2html/%{name}-%{version}.tar.gz
+# Source0-md5: 4b17cd3336227a788b53c080df314890
+URL: http://user.cs.tu-berlin.de/~schintke/x2html/index.html
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+Requires: flex
+Provides: perl2html
+Conflicts: perl-Pod-Tree
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+perl2html highlights perl-language sources like emacs does. Output is in
+HTML format. Also works as CGI to convert files on the fly.
+
+%description -l pl
+perl2html podświetla składnię źródeł perl podobnie jak emacs. Wyjście jest
+w formacie HTML. Działa także jako CGI konwertując pliki w locie.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/usr/bin/
+install -d $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}
+install -d $RPM_BUILD_ROOT/usr/share/man/man1/
+install -c -m 644 perl2html.1 $RPM_BUILD_ROOT/usr/share/man/man1/perl2html.1
+install -c -m 644 AUTHORS $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}
+install -c -m 644 COPYING $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}
+install -c -m 644 NEWS $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}
+install -c -m 644 README $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}
+install -c -m 755 perl2html $RPM_BUILD_ROOT/usr/bin
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING NEWS README
+%{_mandir}/man1/perl2html.*
+%attr(755,root,root) %{_bindir}/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
================================================================
More information about the pld-cvs-commit
mailing list