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