]> git.pld-linux.org Git - packages/epic4.git/blob - epic4.spec
e08a8d60f5cd044a6915d77a393b263c2a1b4e2c
[packages/epic4.git] / epic4.spec
1 %define help_version 4pre2.003
2 Summary:        Another popular Unix IRC client
3 Summary(pl):    Jeszcze jeden popularny Unixowy klient IRC
4 Name:           epic4
5 Version:        0.9.16
6 Release:        1
7 License:        Distributable
8 Group:          Applications/Communications
9 Group(de):      Applikationen/Kommunikation
10 Group(pl):      Aplikacje/Komunikacja
11 Source0:        ftp://ftp.epicsol.org/pub/ircii/EPIC4-BETA/%{name}-%{version}.tar.bz2
12 Source1:        ftp://ftp.epicsol.org/pub/ircii/EPIC4-BETA/%{name}pre2-help.tar.gz
13 Source2:        epic.desktop
14 Patch0:         epic-DESTDIR.patch
15 Patch1:         %{name}-gethostname_is_in_libc_aka_no_libnsl.patch
16 Patch2:         %{name}-config_file_path.patch
17 Patch3:         http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/%{name}-%{version}-ipv6-20010217.patch.gz
18 URL:            http://www.epicsol.org/
19 BuildRequires:  autoconf
20 BuildRequires:  ncurses-devel >= 5.0
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Obsoletes:      epic
23
24 %define         _libexecdir     %{_bindir}
25
26 %description
27 EPIC is the (E)nhanced (P)rogrammable (I)RC-II (C)lient. It is a
28 program used to connect to IRC servers around the globe so that the
29 user can "chat" with others.
30
31 %description -l pl
32 EPIC to rozsz(E)rzony (P)rogramowalny kl(I)ent IR(C)-II. Jest to
33 program wykorzystywany do ³±czenia siê z serwerami IRC na ca³ym
34 ¶wiecie umo¿liwiaj±c porozumiewanie siê z innymi.
35
36 %prep 
37 %setup -q -a 1
38 %patch0 -p1
39 %patch1 -p1
40 %patch2 -p1
41 %patch3 -p1
42
43 %build
44 autoconf
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d  $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT \
54         epicdir=%{_datadir}/epic
55
56 cp -rp help $RPM_BUILD_ROOT%{_datadir}/epic
57
58 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
59
60 gzip -9nf UPDATES KNOWNBUGS BUG_FORM doc/color.txt \
61         doc/colors doc/TS4 doc/IP*
62
63 find $RPM_BUILD_ROOT%{_datadir}/epic -type f -exec gzip -9nf {} \;
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc *.gz doc/*.gz
71 %attr(755,root,root) %{_bindir}/*
72 %{_datadir}/epic
73 %{_mandir}/man1/epic.*
74 %{_applnkdir}/Network/Communications/*
This page took 0.067798 seconds and 2 git commands to generate.