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