]> git.pld-linux.org Git - packages/BitchX.git/blob - BitchX.spec
af11dc8b3fe465eca2b3290cd38b5c3d7ae0110f
[packages/BitchX.git] / BitchX.spec
1 Summary:        Improved color IRC client with built-in scripts
2 Summary(pl):    Ulepszony, kolorowy klient IRC z wbudowanymi skryptami
3 Name:           BitchX
4 Version:        75p3
5 Release:        1
6 Source0:        ftp://ftp.bitchx.com/pub/BitchX/source/ircii-pana-%{version}.tar.gz
7 Source1:        ircII.servers
8 Source2:        ftp://ftp.acronet.net/pub/ircii/epic3.004-help.tar.gz
9 Source3:        bitchx.1
10 Copyright:      GPL
11 Group:          Applications/Communications
12 Group(pl):      Aplikacje/Komunikacja
13 Patch0:         %{name}-75.patch
14 Patch1:         %{name}-pld.patch
15 Patch2:         %{name}-75.iso2.patch
16 Patch3:         %{name}-tcl.patch
17 Patch4:         %{name}-script.patch
18 Patch5:         BitchX-config.patch
19 URL:            ftp://ftp.bitchx.com/pub/BitchX/source/
20 BuildRoot:      /tmp/%{name}-%{version}-root
21  
22 %description 
23 BitchX is a popular ANSI color ircII client by panasync. It
24 incorporates various features that would normally require a
25 script. It's interface is more colorful and cleaner than ircII.
26
27 %description -l pl 
28 BitchX jest popularnym klientem ircII. Jego interfejs jest bardziej 
29 kolorowy i przej¿ysty ni¿ interfejs standardowego kilienta ircII.
30
31 %prep
32 %setup -q -n %{name}
33 %patch0 -p1
34 %patch1 -p1
35 %patch2 -p1
36 %patch3 -p1
37 %patch4 -p1
38 %patch5 -p0
39
40 %build
41 gzip -dc %{SOURCE2} | tar -xf -
42
43 CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -w" LDFLAGS="-s" \
44 ./configure %{_target_platform} \
45         --prefix=%{_prefix}
46 make all 
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 install -d $RPM_BUILD_ROOT/usr/{bin,share/BitchX/{script,translation,help}}
52 install -d $RPM_BUILD_ROOT/{%{_mandir}/man1,etc/irc}
53
54 strip source/BitchX
55 strip source/wserv
56 strip source/scr-bx
57
58 install %{SOURCE1} $RPM_BUILD_ROOT/etc/irc
59 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/man1
60 echo .so bitchx.1 > $RPM_BUILD_ROOT%{_mandir}/man1/BitchX.1
61
62 install source/BitchX $RPM_BUILD_ROOT%{_bindir}
63 install source/wserv $RPM_BUILD_ROOT%{_bindir}/wserv-bx
64 install source/scr-bx $RPM_BUILD_ROOT%{_bindir}
65 install install-bitchx $RPM_BUILD_ROOT%{_bindir}
66
67 install BitchX.help $RPM_BUILD_ROOT%{_datadir}/BitchX
68 cp -a help $RPM_BUILD_ROOT%{_datadir}/BitchX
69
70 gzip -9nf Changes doc/* BitchX.quit BitchX.reasons \
71         $RPM_BUILD_ROOT%{_mandir}/man1/* || :
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755) 
78 %doc Changes.gz doc/* BitchX* 
79
80 %attr(755,root,root) %{_bindir}/*
81
82 %{_datadir}/BitchX
83
84 %config(noreplace) %verify(not md5 size mtime) /etc/irc/*
85 %{_mandir}/man1/*
This page took 0.218821 seconds and 3 git commands to generate.