SPECS: t2t.spec (NEW) - initial

twittner twittner at pld-linux.org
Tue Jan 29 17:03:55 CET 2008


Author: twittner                     Date: Tue Jan 29 16:03:55 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   t2t.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/t2t.spec
diff -u /dev/null SPECS/t2t.spec:1.1
--- /dev/null	Tue Jan 29 17:03:55 2008
+++ SPECS/t2t.spec	Tue Jan 29 17:03:50 2008
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.perl
+Summary:	Any delimited text to HTML table converter
+#Summary(pl.UTF-8):	-
+Name:		t2t
+Version:	6.0
+Release:	1
+License:	LGPL
+Group:		Development/Languages/Perl
+Source0:	http://www.scholnick.net/t2t/%{name}-%{version}.tar.gz
+URL:		http://www.scholnick.net/t2t/
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+t2t can convert any delimited text file to an HTML table. It supports
+all attributes for the various table-related tags. It can read its
+input either from stdin, a file, or a whole directory. when t2t is
+passed in a directory, it will process all the files (except those
+with either .html or .htm extension), and all the files in all the
+sub-directories. It works on any system with Perl.
+
+#description -l pl.UTF-8
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{perl_vendorlib}/T2t
+install T2t/* $RPM_BUILD_ROOT%{perl_vendorlib}/T2t
+install -D t2t.pl $RPM_BUILD_ROOT%{_bindir}/t2t
+install -D t2t.1 $RPM_BUILD_ROOT%{_mandir}/man1/t2t.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc readme.html t2t.rc
+%attr(755,root,root) %{_bindir}/t2t
+%dir %{perl_vendorlib}/T2t
+%{perl_vendorlib}/T2t/*.pm
+%{_mandir}/man1/*.1*
+
+%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
+$Log$
+Revision 1.1  2008-01-29 16:03:50  twittner
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list