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