]> git.pld-linux.org Git - packages/epic4.git/blob - epic4.spec
- make sure perl support is enabled, rel 4
[packages/epic4.git] / epic4.spec
1 Summary:        Another popular Unix IRC client
2 Summary(pl.UTF-8):      Jeszcze jeden popularny uniksowy klient IRC
3 Name:           epic4
4 Version:        2.10.6
5 Release:        4
6 License:        distributable
7 Group:          Applications/Communications
8 Source0:        ftp://ftp.epicsol.org/pub/ircii/EPIC4-PRODUCTION/%{name}-%{version}.tar.xz
9 # Source0-md5:  1934d9dea697ac7d15cb085df96e8c2f
10 Source1:        ftp://ftp.epicsol.org/pub/ircii/EPIC4-PRODUCTION/%{name}-help-20050315.tar.gz
11 # Source1-md5:  9888d1af465ca72bf9a02487264071a5
12 Source2:        epic.desktop
13 Patch0:         %{name}-DESTDIR.patch
14 Patch1:         %{name}-gethostname_is_in_libc_aka_no_libnsl.patch
15 Patch2:         %{name}-config_file_path.patch
16 Patch3:         gcc10.patch
17 URL:            http://www.epicsol.org/
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  ncurses-devel >= 5.0
21 BuildRequires:  perl-devel
22 Conflicts:      lice <= 4.2.0-5
23 Obsoletes:      epic
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.UTF-8
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         --with-ipv6 \
48         --with-perl
49 %{__make} epicdir=%{_datadir}/epic
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d  $RPM_BUILD_ROOT%{_desktopdir}
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT \
57         epicdir=%{_datadir}/epic
58
59 cp -rp help $RPM_BUILD_ROOT%{_datadir}/epic
60
61 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc UPDATES KNOWNBUGS BUG_FORM doc/color.txt doc/colors doc/TS4 doc/EPIC*
69 %attr(755,root,root) %{_bindir}/epic
70 %attr(755,root,root) %{_bindir}/epic-EPIC4*
71 %dir %{_libexecdir}/epic
72 %attr(755,root,root) %{_libexecdir}/epic/wserv4
73 %{_datadir}/epic
74 %{_mandir}/man1/epic.*
75 %{_desktopdir}/*.desktop
This page took 0.221255 seconds and 3 git commands to generate.