]> git.pld-linux.org Git - packages/epic4.git/blobdiff - epic4.spec
- very simple autoconf fix
[packages/epic4.git] / epic4.spec
index 682cfb5214b6d3cdf32895e234edbbf0291b13c9..5f5e8c97f750798b2531d621ce6f1fa161e471f0 100644 (file)
@@ -1,73 +1,74 @@
 %define help_version 4pre2.003
 Summary:       Another popular Unix IRC client
 Summary(pl):   Jeszcze jeden popularny Unixowy klient IRC
-Name:          epic
-Version:       4pre2.004
-Release:       1
-Copyright:     Distributable
+Name:          epic4
+Version:       1.0.1
+Release:       2
+License:       distributable
 Group:         Applications/Communications
+Group(de):     Applikationen/Kommunikation
 Group(pl):     Aplikacje/Komunikacja
-Source0:       ftp://ftp.epicsol.org/pub/ircii/EPIC4-ALPHA/%{name}%{version}-19990618.tar.gz
-Source1:       ftp://ftp.epicsol.org/pub/ircii/EPIC4-ALPHA/ircii-EPIC4pre2.003-help.tar.gz
-Source2:       epic.wmconfig
+Source0:       ftp://ftp.epicsol.org/pub/ircii/EPIC4-PRODUCTION/%{name}-%{version}.tar.bz2
+Source1:       ftp://ftp.epicsol.org/pub/ircii/EPIC4-BETA/%{name}pre2-help.tar.gz
+Source2:       epic.desktop
+Patch0:                epic-DESTDIR.patch
+Patch1:                %{name}-gethostname_is_in_libc_aka_no_libnsl.patch
+Patch2:                %{name}-config_file_path.patch
+#Patch3:       http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/%{name}-%{version}-ipv6-20010418.patch.gz
 URL:           http://www.epicsol.org/
-Patch:         epic4-make.patch
-Buildroot:     /tmp/%{name}-%{version}-root
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: ncurses-devel >= 5.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Obsoletes:     epic
+
+%define                _libexecdir     %{_bindir}
 
 %description
-EPIC is the (E)nhanced (P)rogrammable (I)RC-II (C)lient.  It
-is a program used to connect to IRC servers around the globe
-so that the user can ``chat'' with others.
+EPIC is the (E)nhanced (P)rogrammable (I)RC-II (C)lient. It is a
+program used to connect to IRC servers around the globe so that the
+user can "chat" with others.
 
 %description -l pl
-EPIC to rozsz(E)rzony (P)rogramowalny kl(I)ent IR(C)-II. Jest
-to program wykorzystywany do ³±czenia siê z serwerami IRC
-na ca³ym ¶wiecie umo¿liwiaj±c porozumiewanie siê ze sob±.
+EPIC to rozsz(E)rzony (P)rogramowalny kl(I)ent IR(C)-II. Jest to
+program wykorzystywany do ³±czenia siê z serwerami IRC na ca³ym
+¶wiecie umo¿liwiaj±c porozumiewanie siê z innymi.
 
 %prep 
-%setup -q -n ircii-EPIC%{version}
+%setup -q -a 1
 %patch0 -p1
-gzip -dc %{SOURCE1} | tar -xf -
+%patch1 -p1
+%patch2 -p1
+#%patch3 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s \
-./configure --prefix=%{_prefix} \
-           --libexecdir=%{_bindir} \
-           --mandir=%{_mandir}
-make
+#aclocal
+#autoconf
+%configure2_13
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d  $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       epicdir=%{_datadir}/epic
 
-make prefix=$RPM_BUILD_ROOT%{_prefix} mandir=$RPM_BUILD_ROOT%{_mandir} \
-     libexecdir=$RPM_BUILD_ROOT%{_bindir} install
 cp -rp help $RPM_BUILD_ROOT%{_datadir}/epic
-install -d  $RPM_BUILD_ROOT%{_mandir}/man1
-install -d  $RPM_BUILD_ROOT/etc/X11/wmconfig
-install     $RPM_SOURCE_DIR/epic.wmconfig    $RPM_BUILD_ROOT/etc/X11/wmconfig/epic
 
-gzip -9nf   $RPM_BUILD_ROOT%{_mandir}/man1/* UPDATES KNOWNBUGS BUG_FORM doc/color.txt \
-            doc/colors doc/TS4
-find       $RPM_BUILD_ROOT%{_datadir}/epic -type f -exec gzip -9nf {} \;
+install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
+
+gzip -9nf UPDATES KNOWNBUGS BUG_FORM doc/color.txt \
+       doc/colors doc/TS4 doc/EPIC*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {UPDATES,KNOWNBUGS,BUG_FORM,doc/color.txt,doc/colors,doc/TS4}.gz
+%doc *.gz doc/*.gz
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/epic
 %{_mandir}/man1/epic.*
-/etc/X11/wmconfig/epic
-
-%changelog
-* Mon Jul 05 1999 PLD Team <pld-list@pld.org.pl>
-
-$Log: epic4.spec,v $
-Revision 1.2  1999-07-09 16:21:42  kloczek
-
-- added line on top spec file with cvs tags ($Revision:$ and $Date:$).
-
-Revision 1.1  1999/07/07 14:51:20  misiek
-irc client
+%{_applnkdir}/Network/Communications/*
This page took 0.095886 seconds and 4 git commands to generate.