diff options
author | pawelz | 2009-02-22 22:23:24 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 6374f6f5d0d9cdeefbcbbef7709ff5700b4fc300 (patch) | |
tree | 7675aa7e0c6c60be288528fe8a292f5079373bda | |
parent | 7c07d990692e5182f37cfbad4ba79ada5cb5eac6 (diff) | |
download | myclear-6374f6f5d0d9cdeefbcbbef7709ff5700b4fc300.zip myclear-6374f6f5d0d9cdeefbcbbef7709ff5700b4fc300.tar.gz |
- initial PLD releaseauto/ti/myclear-20030322_0-1auto/th/myclear-20030322_0-1
Changed files:
myclear.spec -> 1.1
-rw-r--r-- | myclear.spec | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/myclear.spec b/myclear.spec new file mode 100644 index 0000000..ee0dc58 --- /dev/null +++ b/myclear.spec @@ -0,0 +1,53 @@ +# +%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@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 |