Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > 99c08bb2d22abb7f6492b2e5b2b78152 > files > 4

epic5-0.3.5-3mdv2009.0.src.rpm

Name:           epic5
Version:        0.3.5
Release:        %mkrel 3
Epoch:          0
Summary:        (E)nhanced (P)rogrammable (I)RC-II (C)lient
Group:          Networking/IRC
License:        BSD
URL:            http://www.epicsol.org/
Source0:        ftp://ftp.epicsol.org:/pub/epic/EPIC5-ALPHA/epic5-%{version}.tar.bz2 
Source1:        ftp://ftp.epicsol.org/pub/epic/help/epic-help-current.tar.bz2
Source2:        http://amnesiac.ircii.org/ac-snap.tgz
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
#BuildRequires:  dante-devel
BuildRequires:  desktop-file-utils
BuildRequires:  ncurses-devel
BuildRequires:  openssl-devel
BuildRequires:  perl-devel
BuildRequires:  ruby-devel
BuildRequires:  tcl-devel
BuildRoot:         %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
EPIC4 is a new direction in ircII development. No longer is EPIC
100% backwards compatible with ircII, but instead we have chosen to
find those things where compatibility is undesirable, and fix them.
No gratuitous incompatibilities have been added, but lots of new
code has been added to make EPIC the best ircII client we could make.

EPIC4 is derived directly from EPIC3, which was itself derived from
IRC-II which is currently maintained by Matthew Green, and includes
in whole all the additions included in the "plus" clients by Jeremy
Nelson and all of the modifications in the "mod" clients by Jake Khuon.
EPIC is currently maintained by EPIC Software Labs (ESL), comprised of
a couple of dozen people.

%prep 
%setup -q -a 1 -T -b 0
%{_bindir}/find . -type d -name CVS | %{_bindir}/xargs -t %{__rm} -r
%{__perl} -pi -e 's|/usr/local/bin/perl5|%{__perl}|' regress/crash-irc

%build
%{configure2_5x} --with-ipv6 \
                 --with-perl \
                 --with-ruby \
                 --with-ssl \
                 --without-socks \
                 --with-tcl
%{make} wserv_exe=%{_bindir}/wserv4

%install
%{__rm} -rf %{buildroot}
%{makeinstall} libexecdir=%{buildroot}%{_bindir} sharedir=%{buildroot}%{_datadir} installhelp 
%{__chmod} 755 %{buildroot}%{_datadir}/%{name}/script/epic-crypt-gpg{,-aa}

%{__tar} -xf %{SOURCE2} -C %{buildroot}%{_datadir}/%{name}/script
%{__chmod} 644 %{buildroot}%{_datadir}/%{name}/script/amn/themes/ansiless.th

%{__mkdir_p} %{buildroot}%{_datadir}/applications
%{__cat} > %{name}.desktop << EOF
[Desktop Entry]
Name=EPIC5
Comment=(E)nhanced (P)rogrammable (I)RC-II (C)lient
Exec=epic5
Terminal=true
Type=Application
Icon=irc_section
Categories=Network;IRCClient;
EOF

%{_bindir}/desktop-file-install --vendor="mandriva" \
  --add-category="X-MandrivaLinux-Internet-Chat" \
  --dir %{buildroot}%{_datadir}/applications %{name}.desktop

%clean
%{__rm} -rf %{buildroot}

%post
%{update_desktop_database}
%if 0
%update_icon_cache hicolor
%endif

%postun
%{clean_desktop_database}
%if 0
%clean_icon_cache hicolor
%endif

%files
%defattr(0644,root,root,0755)
%doc BUG_FORM COPYRIGHT FILES INSTALL KNOWNBUGS README README-CRYPTO UPDATES VOTES doc/* contrib regress
%attr(0755,root,root) %{_bindir}/%{name}
%attr(0755,root,root) %{_bindir}/%{name}-%{version}
%attr(0755,root,root) %{_bindir}/epic5-wserv4
%{_datadir}/applications/mandriva-%{name}.desktop
%{_mandir}/man1/%{name}.1*
%{_datadir}/%{name}


%changelog
* Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 0:0.3.5-3mdv2009.0
+ Revision: 244929
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Sat Nov 10 2007 David Walluck <walluck@mandriva.org> 0:0.3.5-1mdv2008.1
+ Revision: 107318
- 0.3.5

* Mon Sep 10 2007 David Walluck <walluck@mandriva.org> 0:0.3.4-4mdv2008.0
+ Revision: 83969
- bump release
- ship the amnesiac snapshot for this epic version

* Mon Sep 10 2007 David Walluck <walluck@mandriva.org> 0:0.3.4-3mdv2008.0
+ Revision: 83960
- include hook bugfix from hop
- update amnesiac to 1.5r2
- do not force removal of CVS dirs
- remove Application category from desktop menu
- set vendor for desktop menu
- fix amnesiac perms to be world readable

* Fri Sep 07 2007 Anssi Hannula <anssi@mandriva.org> 0:0.3.4-2mdv2008.0
+ Revision: 82012
- rebuild for new soname of tcl

* Thu Sep 06 2007 Nicolas Vigier <nvigier@mandriva.com> 0:0.3.4-1mdv2008.0
+ Revision: 81078
- new version

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated'


* Sun Feb 04 2007 David Walluck <walluck@mandriva.org> 0.3.2-1mdv2007.0
+ Revision: 116124
- 0.3.2

* Fri Oct 27 2006 David Walluck <walluck@mandriva.org> 0:0.3.1-3mdv2007.1
+ Revision: 72938
- include amnesiac 1.4r2

* Fri Oct 27 2006 David Walluck <walluck@mandriva.org> 0:0.3.1-2mdv2007.1
+ Revision: 72921
- fix summary, description, and menu summary

* Fri Oct 27 2006 David Walluck <walluck@mandriva.org> 0:0.3.1-1mdv2007.0
+ Revision: 72913
- Import epic5

* Thu Oct 26 2006 David Walluck <walluck@mandriva.org> 0:0.3.1-1mdv2007.1
- release