-%define major 2
-%define minor 2
-%define ver 1
Summary: Awesome ASCII-art banners generator
Summary(pl.UTF-8): Program do generowania odjazdowych napisów ASCII
Name: figlet
-Version: %{major}.%{minor}.%{ver}
-Release: 3
+Version: 2.2.4
+Release: 1
License: Free
Group: Applications/Games
-Source0: ftp://ftp.plig.org/pub/figlet/program/unix/%{name}%{major}%{minor}%{ver}.tar.gz
-# Source0-md5: 216bc6d86952003cc3db75d5c36eb4f6
-Patch0: %{name}-makefile.patch
+Source0: ftp://ftp.plig.org/pub/figlet/program/unix/%{name}-%{version}.tar.gz
+# Source0-md5: ea048d8d0b56f9c58e55514d4eb04203
URL: http://www.figlet.org/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
podpisów do listów e-mail, itp.
%prep
-%setup -q -n %{name}%{major}%{minor}%{ver}
-%patch0 -p1
+%setup -q
%build
%{__make} \
%install
rm -rf $RPM_BUILD_ROOT
+
install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/games/figlet} \
$RPM_BUILD_ROOT%{_mandir}/man6
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/*
-%doc README figfont.txt figlist figmagic showfigfonts
+%doc README figfont.txt figlist showfigfonts
%{_datadir}/games/figlet
%{_mandir}/man6/figlet.6*