SPECS: myclear.spec (NEW) - initial PLD release

pawelz pawelz at pld-linux.org
Sun Feb 22 23:23:29 CET 2009


Author: pawelz                       Date: Sun Feb 22 22:23:29 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

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

---- Diffs:

================================================================
Index: SPECS/myclear.spec
diff -u /dev/null SPECS/myclear.spec:1.1
--- /dev/null	Sun Feb 22 23:23:29 2009
+++ SPECS/myclear.spec	Sun Feb 22 23:23:24 2009
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+#
+%include        /usr/lib/rpm/macros.perl
+Summary:	Command for clearing to bottom of terminal instead of top
+Summary(pl.UTF-8):	Komenda czyszcząca terminal do dołu zamiast do góry
+Name:		myclear
+Version:	20030322.0
+Release:	1
+License:	BSD-like + request for feedback (see COPYING)
+Group:		Applications
+# based on http://jetmore.org/john/code/myclear
+Source0:	%{name}.pl
+URL:		http://jetmore.org/john/code/#myclear
+BuildRequires:	perl-tools-pod
+BuildRequires:	rpm-perlprov
+Suggests:	perl-perldoc
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Command for clearing to bottom of terminal instead of top.
+
+%description -l pl.UTF-8
+Komenda działająca podonie do clear, z tą różnicą, że czyści terminal
+do dołu zamiast do góry.
+
+%prep
+%setup -q -c -T
+
+cat << EOF > COPYING
+Copyright (c) 2003 John Jetmore <jj33 at pobox.com>.  All rights reserved.  This
+code freely redistributable provided my name and this copyright notice are not
+removed.  Send email to the contact address if you use this program.
+EOF
+
+%build
+pod2man %SOURCE0 > %{name}.1
+pod2text %SOURCE0 > %{name}.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+install %SOURCE0 $RPM_BUILD_ROOT%{_bindir}/%{name}
+install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1*
+%doc COPYING %{name}.txt
+
+%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  2009/02/22 22:23:24  pawelz
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list