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