]> git.pld-linux.org Git - packages/epic4.git/blob - epic4.spec
73015960f7b824a27ec17973dcb56104909e1354
[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:        1.0.1
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-PRODUCTION/%{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-20010418.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 aclocal
45 autoconf
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d  $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT \
55         epicdir=%{_datadir}/epic
56
57 cp -rp help $RPM_BUILD_ROOT%{_datadir}/epic
58
59 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
60
61 gzip -9nf UPDATES KNOWNBUGS BUG_FORM doc/color.txt \
62         doc/colors doc/TS4 doc/IP*
63
64 find $RPM_BUILD_ROOT%{_datadir}/epic -type f -exec gzip -9nf {} \;
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc *.gz doc/*.gz
72 %attr(755,root,root) %{_bindir}/*
73 %{_datadir}/epic
74 %{_mandir}/man1/epic.*
75 %{_applnkdir}/Network/Communications/*
This page took 0.070796 seconds and 3 git commands to generate.