]> git.pld-linux.org Git - packages/epic4.git/blob - epic4.spec
added ipv6 patch
[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.9
6 Release:        1
7 Copyright:      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:         http://www.misiek.eu.org/ipv6/epic4-0.9.9-ipv6-20001003.patch.gz
17 URL:            http://www.epicsol.org/
18 BuildRequires:  autoconf
19 BuildRequires:  ncurses-devel >= 5.0
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Obsoletes:      epic
22
23 %define         _libexecdir     %{_bindir}
24
25 %description
26 EPIC is the (E)nhanced (P)rogrammable (I)RC-II (C)lient. It is a
27 program used to connect to IRC servers around the globe so that the
28 user can "chat" with others.
29
30 %description -l pl
31 EPIC to rozsz(E)rzony (P)rogramowalny kl(I)ent IR(C)-II. Jest to
32 program wykorzystywany do ³±czenia siê z serwerami IRC na ca³ym
33 ¶wiecie umo¿liwiaj±c porozumiewanie siê z innymi.
34
35 %prep 
36 %setup -q -a 1
37 %patch0 -p1
38 %patch1 -p1
39 %patch2 -p1
40
41 %build
42 autoconf
43 %configure
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d  $RPM_BUILD_ROOT%{_applnkdir}/Network/IRC
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 cp -rp help $RPM_BUILD_ROOT%{_datadir}/epic
54
55 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Network/IRC
56
57 gzip -9nf UPDATES KNOWNBUGS BUG_FORM doc/color.txt \
58         doc/colors doc/TS4
59
60 find $RPM_BUILD_ROOT%{_datadir}/epic -type f -exec gzip -9nf {} \;
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc {UPDATES,KNOWNBUGS,BUG_FORM,doc/color.txt,doc/colors,doc/TS4}.gz
68 %attr(755,root,root) %{_bindir}/*
69 %{_datadir}/epic
70 %{_mandir}/man1/epic.*
71 %{_applnkdir}/Network/IRC/*
This page took 0.057142 seconds and 3 git commands to generate.