]> git.pld-linux.org Git - packages/epic4.git/blob - epic4.spec
perl 5.38.0 rebuild
[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:        6
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 Patch4:         perl-config.patch
18 URL:            http://www.epicsol.org/
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  ncurses-devel >= 5.0
22 BuildRequires:  perl-devel
23 Conflicts:      lice <= 4.2.0-5
24 Obsoletes:      epic
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.UTF-8
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 %patch4 -p1
44
45 %build
46 %{__aclocal}
47 %{__autoconf}
48 %configure \
49         --with-ipv6 \
50         --with-perl
51 %{__make} epicdir=%{_datadir}/epic
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d  $RPM_BUILD_ROOT%{_desktopdir}
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT \
59         epicdir=%{_datadir}/epic
60
61 cp -rp help $RPM_BUILD_ROOT%{_datadir}/epic
62
63 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc UPDATES KNOWNBUGS BUG_FORM doc/color.txt doc/colors doc/TS4 doc/EPIC*
71 %attr(755,root,root) %{_bindir}/epic
72 %attr(755,root,root) %{_bindir}/epic-EPIC4*
73 %dir %{_libexecdir}/epic
74 %attr(755,root,root) %{_libexecdir}/epic/wserv4
75 %{_datadir}/epic
76 %{_mandir}/man1/epic.*
77 %{_desktopdir}/*.desktop
This page took 0.120785 seconds and 4 git commands to generate.