73f52af7b8cbc3e55a364a67581d13652152d5d2
[packages/figlet.git] / figlet.spec
1 %define         major   2
2 %define         minor   2
3 %define         ver     1
4 Summary:        Awesome ASCII-art banners generator
5 Summary(pl):    Program do generowania odjazdowych napisów ASCII
6 Name:           figlet
7 Version:        %{major}.%{minor}.%{ver}
8 Release:        1
9 License:        Free
10 Group:          Applications/Games
11 Source0:        ftp://ftp.plig.org/pub/figlet/program/unix/%{name}%{major}%{minor}%{ver}.tar.gz
12 Patch0:         %{name}-makefile.patch
13 URL:            http://st-www.cs.uiuc.edu/~chai/figlet.html
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Program for generating ASCII-art-like banners by using plenty of
18 fonts. It can be used for generating logos, e-mail signatures, etc.
19
20 %description -l pl
21 Program do generacji napisów ze znaków semigraficznych przy u¿yciu
22 du¿ego wyboru czcionek. Mo¿e byæ wykorzystany do tworzenia logo,
23 podpisów do listów e-mail, itp.
24
25 %prep
26 %setup -q -n %{name}%{major}%{minor}%{ver}
27 %patch -p1
28
29 %build
30 %{__make} \
31         CC=%{__cc} \
32         CFLAGS="%{rpmcflags}"
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/games/figlet} \
37         $RPM_BUILD_ROOT%{_mandir}/man6
38
39 install figlet chkfont $RPM_BUILD_ROOT%{_bindir}
40 install figlet.6 $RPM_BUILD_ROOT%{_mandir}/man6
41
42 cp -f fonts/* $RPM_BUILD_ROOT%{_datadir}/games/figlet
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %attr(755,root,root) %{_bindir}/*
50 %doc README  figfont.txt figlist figmagic showfigfonts
51 %{_datadir}/games/figlet
52 %{_mandir}/man6/figlet.6*
This page took 0.050225 seconds and 2 git commands to generate.