]> git.pld-linux.org Git - packages/figlet.git/blobdiff - figlet.spec
- massive attack: adding Source-md5
[packages/figlet.git] / figlet.spec
index 780789fbd386a8e4b6282b5377db57481cfe4fd2..9b936ff3611f3a35b68ceae1f98a3c4edff3fe54 100644 (file)
@@ -1,15 +1,17 @@
 %define                major   2
 %define                minor   2
+%define                ver     1
 Summary:       Awesome ASCII-art banners generator
 Summary(pl):   Program do generowania odjazdowych napisów ASCII
 Name:          figlet
-Version:       %{major}.%{minor}
-Release:       3
+Version:       %{major}.%{minor}.%{ver}
+Release:       2
 License:       Free
 Group:         Applications/Games
-Source0:       ftp://ftp.plig.org/pub/figlet/program/unix/%{name}%{major}%{minor}.tar.gz
+Source0:       ftp://ftp.plig.org/pub/figlet/program/unix/%{name}%{major}%{minor}%{ver}.tar.gz
+# Source0-md5: 216bc6d86952003cc3db75d5c36eb4f6
 Patch0:                %{name}-makefile.patch
-URL:           http://st-www.cs.uiuc.edu/~chai/figlet.html
+URL:           http://www.figlet.org
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,13 +24,14 @@ du
 podpisów do listów e-mail, itp.
 
 %prep
-%setup -q -n %{name}%{major}%{minor}
+%setup -q -n %{name}%{major}%{minor}%{ver}
 %patch -p1
 
 %build
 %{__make} \
        CC=%{__cc} \
-       CFLAGS="%{rpmcflags}"
+       CFLAGS="%{rpmcflags}" \
+       DEFAULTFONTDIR=%{_datadir}/games/figlet
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -46,6 +49,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
-%doc FTP-NOTE README  figfont.txt figlist figmagic showfigfonts
+%doc README  figfont.txt figlist figmagic showfigfonts
 %{_datadir}/games/figlet
 %{_mandir}/man6/figlet.6*
This page took 0.074472 seconds and 4 git commands to generate.