]> git.pld-linux.org Git - packages/BitchX.git/blob - BitchX.spec
329b6e9defed18885c72546f7a59b2ecce834458
[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:        1.0c15
5 Release:        2       
6 Source0:        ftp://ftp.bitchx.com/pub/BitchX/source/%{name}-%{version}.tar.gz
7 Source1:        BitchX-config.h
8 Source2:        ircII.servers
9 Copyright:      GPL
10 Group:          Applications/Networking
11 Group(pl):      Aplikacje/Sieciowe
12 Patch0:         %{name}-configure.patch
13 Patch1:         %{name}-pld.patch
14 Patch2:         %{name}-antiroot.patch
15 URL:            http://www.bitchx.com/
16 BuildRoot:      /tmp/%{name}-%{version}-root
17  
18 %description 
19 BitchX is a popular ANSI color ircII client by panasync. It
20 incorporates various features that would normally require a
21 script. It's interface is more colorful and cleaner than ircII.
22
23 %description -l pl 
24 BitchX jest popularnym klientem ircII. Jego interfejs jest bardziej 
25 kolorowy i przejrzysty ni¿ interfejs standardowego kilienta ircII.
26
27 %prep
28 %setup -q -n %{name}
29 %patch0 -p1
30 %patch1 -p1
31 %patch2 -p1
32
33 %build
34 cp -f %{SOURCE1} include/config.h
35
36 autoconf
37
38 CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -w -I/usr/include/ncurses" LDFLAGS="-s" \
39 %configure
40
41 make all 
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 install -d $RPM_BUILD_ROOT/usr/{bin,share/BitchX/{script,translation,help}}
47 install -d $RPM_BUILD_ROOT/{%{_mandir}/man1,etc/irc}
48
49 strip source/BitchX
50 strip source/wserv
51 strip source/scr-bx
52
53 install %{SOURCE2} $RPM_BUILD_ROOT/etc/irc
54 install doc/BitchX.1.gz $RPM_BUILD_ROOT%{_mandir}/man1
55
56 install source/BitchX $RPM_BUILD_ROOT%{_bindir}
57 install source/wserv $RPM_BUILD_ROOT%{_bindir}/wserv-bx
58 install source/scr-bx $RPM_BUILD_ROOT%{_bindir}
59 #install install-bitchx $RPM_BUILD_ROOT%{_bindir}
60
61 install BitchX.help $RPM_BUILD_ROOT%{_datadir}/BitchX
62
63 cp -a bitchx-docs/* $RPM_BUILD_ROOT%{_datadir}/BitchX/help
64 cp -a translation $RPM_BUILD_ROOT%{_datadir}/BitchX
65 rm -rf $RPM_BUILD_ROOT%{_datadir}/BitchX/help/CVS
66
67 gzip -9nf  doc/* BitchX.quit BitchX.reasons || :
68 #\
69         #$RPM_BUILD_ROOT%{_mandir}/man1/* || :
70
71 #changes
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755) 
78 #changes.gz
79 %doc doc/* BitchX* 
80
81 %attr(755,root,root) %{_bindir}/*
82
83 %{_datadir}/BitchX
84
85 #%config(noreplace) %verify(not md5 size mtime) /etc/irc/*
86 #%{_mandir}/man1/*
This page took 0.023527 seconds and 2 git commands to generate.