[packages/myclear] Rel 2
arekm
arekm at pld-linux.org
Fri May 8 23:10:05 CEST 2026
commit fea022633a84cd1149961ea13a322ff8fbefe3d4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri May 8 23:09:55 2026 +0200
Rel 2
myclear-pod-fix.patch | 8 ++++++++
myclear.spec | 12 ++++++++----
2 files changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/myclear.spec b/myclear.spec
index 54ed73c..7852a60 100644
--- a/myclear.spec
+++ b/myclear.spec
@@ -3,11 +3,12 @@ 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
+Release: 2
License: BSD-like + request for feedback (see COPYING)
Group: Applications
# based on http://jetmore.org/john/code/myclear
Source0: %{name}.pl
+Patch0: %{name}-pod-fix.patch
URL: http://jetmore.org/john/code/#myclear
BuildRequires: perl-tools-pod
BuildRequires: rpm-perlprov
@@ -31,15 +32,18 @@ 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
+cp %{SOURCE0} %{name}.pl
+%patch -P 0 -p1
+
%build
-pod2man %{SOURCE0} > %{name}.1
-pod2text %{SOURCE0} > %{name}.txt
+pod2man %{name}.pl > %{name}.1
+pod2text %{name}.pl > %{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}.pl $RPM_BUILD_ROOT%{_bindir}/%{name}
install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
%clean
diff --git a/myclear-pod-fix.patch b/myclear-pod-fix.patch
new file mode 100644
index 0000000..9474a5f
--- /dev/null
+++ b/myclear-pod-fix.patch
@@ -0,0 +1,8 @@
+--- a/myclear.pl 2003-03-22 00:00:00.000000000 +0000
++++ b/myclear.pl 2003-03-22 00:00:00.000000000 +0000
+@@ -99,4 +99,4 @@
+
+ =head1 CONTACT
+
+-=item proj-myclear at jetmore.net
++proj-myclear at jetmore.net
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/myclear.git/commitdiff/fea022633a84cd1149961ea13a322ff8fbefe3d4
More information about the pld-cvs-commit
mailing list