mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
updated by Robert Scheck
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3178 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
6f67475c3b
commit
2563e6201f
@ -1,27 +1,25 @@
|
|||||||
# $Revision: 1.13 $, $Date: 2002/05/01 22:52:51 $
|
# $Revision: 1.14 $, $Date: 2003/11/17 20:43:05 $
|
||||||
Name: irssi
|
Name: irssi
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Release: 1
|
Release: 1
|
||||||
Vendor: Timo Sirainen <cras@irssi.org>
|
Vendor: Timo Sirainen <cras@irssi.org>
|
||||||
Summary: Irssi is a IRC client
|
Summary: Irssi is a IRC client
|
||||||
Copyright: GPL
|
License: GPL
|
||||||
Group: Applications/Communications
|
Group: Applications/Communications
|
||||||
URL: http://irssi.org/
|
URL: http://www.irssi.org/
|
||||||
Source0: http://irssi.org/irssi/files/%{name}-%{version}.tar.gz
|
Source0: http://www.irssi.org/files/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: glib-devel
|
BuildRequires: glib-devel >= 1.2.0, ncurses-devel
|
||||||
BuildRequires: ncurses-devel
|
|
||||||
BuildRoot: /tmp/%{name}-%{version}-root
|
BuildRoot: /tmp/%{name}-%{version}-root
|
||||||
|
|
||||||
%define _sysconfdir /etc
|
%define _sysconfdir /etc
|
||||||
%define configure { CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; ./configure %{_target_platform} --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} --infodir=%{_infodir} }
|
%define configure { CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; ./configure %{_target_platform} --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} --infodir=%{_infodir} }
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Irssi is a modular IRC client that currently has only text
|
Irssi is a modular IRC client that currently has only text mode user
|
||||||
mode user interface, but 80-90% of the code isn't text mode specific
|
interface, but 80-90% of the code isn't text mode specific so other UI
|
||||||
so other UI could be created pretty easily. Also, Irssi isn't really
|
could be created pretty easily. Also, Irssi isn't really even IRC
|
||||||
even IRC specific anymore, there's already a working SILC module
|
specific anymore, there's already a working SILC module available.
|
||||||
available. Support for other protocols like ICQ could be create some day
|
Support for other protocols like ICQ could be created some day too.
|
||||||
too.
|
|
||||||
|
|
||||||
More information can be found at http://irssi.org/.
|
More information can be found at http://irssi.org/.
|
||||||
|
|
||||||
@ -29,45 +27,48 @@ More information can be found at http://irssi.org/.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export NOCONFIGURE=x
|
|
||||||
./autogen.sh
|
|
||||||
%configure \
|
%configure \
|
||||||
--with-imlib \
|
--with-plugins \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
--with-textui \
|
--with-textui \
|
||||||
--with-socks \
|
--with-imlib \
|
||||||
--with-bot \
|
--with-bot \
|
||||||
|
--with-socks \
|
||||||
--with-proxy \
|
--with-proxy \
|
||||||
--with-perl=yes \
|
--with-perl="yes" \
|
||||||
--with-ncurses
|
--with-ncurses
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
make DESTDIR=$RPM_BUILD_ROOT PREFIX=$RPM_BUILD_ROOT/usr install
|
make DESTDIR=${RPM_BUILD_ROOT} PREFIX=${RPM_BUILD_ROOT}%{_prefix} PERL_INSTALL_ROOT=${RPM_BUILD_ROOT} install
|
||||||
mv $RPM_BUILD_ROOT/%{_datadir}/doc/irssi $RPM_BUILD_ROOT/%{_datadir}/doc/irssi-%version
|
strip ${RPM_BUILD_ROOT}%{_bindir}/*
|
||||||
strip $RPM_BUILD_ROOT/%{_bindir}/*
|
strip ${RPM_BUILD_ROOT}%{_libdir}/irssi/modules/lib*.so*
|
||||||
strip $RPM_BUILD_ROOT/%{_libdir}/irssi/modules/lib*.so*
|
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/perl5/5.6.0/i386-linux/perllocal.pod
|
rm -f ${RPM_BUILD_ROOT}%{_libdir}/irssi/modules/*.{a,la} \
|
||||||
|
${RPM_BUILD_ROOT}%{perl_archlib}/auto/Irssi/.packlist \
|
||||||
|
${RPM_BUILD_ROOT}%{perl_archlib}/auto/Irssi/*/.packlist \
|
||||||
|
${RPM_BUILD_ROOT}%{perl_archlib}/perllocal.pod
|
||||||
|
rm -rf ${RPM_BUILD_ROOT}%{_docdir}/irssi/
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
rm -rf ${RPM_BUILD_DIR}/%{name}-%{version}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr (644,root,root,755)
|
%defattr(-, root, root, 0755)
|
||||||
%doc %{_datadir}/doc/irssi-%version/
|
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
||||||
|
%doc docs/*.txt docs/*.html
|
||||||
%attr(755,root,root) %{_bindir}/*
|
%doc %{_mandir}/man1/*
|
||||||
|
%config(noreplace) %{_sysconfdir}/*
|
||||||
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/irssi*
|
%{_bindir}/*
|
||||||
|
%{_libdir}/irssi/
|
||||||
%dir %{_libdir}
|
%{perl_archlib}
|
||||||
%attr(755,root,root) %{_libdir}/irssi
|
%{_datadir}/irssi/
|
||||||
%attr(755,root,root) %{_libdir}/perl5
|
|
||||||
|
|
||||||
%dir %{_datadir}/irssi
|
|
||||||
%attr(755,root,root) %{_datadir}/irssi/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 17 2003 Robert Scheck <irssi@robert-scheck.de>
|
||||||
|
Fixed many things for better rebuilding and a good package
|
||||||
|
|
||||||
* Fri Aug 17 2001 - Joose Vettenranta <joose@iki.fi>
|
* Fri Aug 17 2001 - Joose Vettenranta <joose@iki.fi>
|
||||||
Created new spec file from spec file founded in irssi-0.7.98.3
|
Created new spec file from spec file founded in irssi-0.7.98.3
|
||||||
|
Loading…
Reference in New Issue
Block a user