Merge branch 'master' into el6
This commit is contained in:
commit
82c2a67d40
38
znc.spec
38
znc.spec
|
@ -3,7 +3,7 @@ Name: znc
|
|||
Version: 0.096
|
||||
#Release: 2.svn2101%{?dist}
|
||||
#Release: 0.1.rc1%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2 with exceptions
|
||||
Group: System Environment/Daemons
|
||||
URL: http://znc.sf.net/
|
||||
|
@ -19,7 +19,7 @@ BuildRequires: perl gcc-c++
|
|||
BuildRequires: openssl-devel >= 0.9.8
|
||||
BuildRequires: cyrus-sasl-devel
|
||||
BuildRequires: c-ares-devel
|
||||
BuildRequires: perl(ExtUtils::Embed) swig
|
||||
BuildRequires: perl(ExtUtils::Embed) swig tcl-devel
|
||||
|
||||
%description
|
||||
ZNC is an IRC bouncer with many advanced features like detaching,
|
||||
|
@ -44,6 +44,24 @@ Requires: %{name} = %{version}-%{release}
|
|||
%description extra
|
||||
Extra modules for ZNC
|
||||
|
||||
%package modtcl
|
||||
Summary: TCL module for ZNC
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: tcl
|
||||
|
||||
%description modtcl
|
||||
TCL module for ZNC
|
||||
|
||||
%package modperl
|
||||
Summary: perl module for ZNC
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: perl
|
||||
|
||||
%description modperl
|
||||
perl module for ZNC
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%__perl -pi.add_release -e 's|(?<="ZNC \%1\.3f)|-%{release}|' znc.cpp
|
||||
|
@ -52,7 +70,7 @@ chmod -x modules/q.cpp
|
|||
%build
|
||||
%configure \
|
||||
--with-module-prefix=%{_libdir}/znc \
|
||||
--enable-ipv6 --enable-extra --enable-sasl --enable-perl
|
||||
--enable-ipv6 --enable-extra --enable-sasl --enable-perl --enable-tcl
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
@ -87,8 +105,6 @@ chmod -x modules/q.cpp
|
|||
%{_libdir}/znc/keepnick.so
|
||||
%{_libdir}/znc/kickrejoin.so
|
||||
%{_libdir}/znc/lastseen.so
|
||||
%{_libdir}/znc/modperl/
|
||||
%{_libdir}/znc/modperl.so
|
||||
%{_libdir}/znc/nickserv.so
|
||||
%{_libdir}/znc/notes.so
|
||||
%{_libdir}/znc/partyline.so
|
||||
|
@ -135,7 +151,19 @@ chmod -x modules/q.cpp
|
|||
%{_libdir}/znc/send_raw.so
|
||||
%{_libdir}/znc/shell.so
|
||||
|
||||
%files modtcl
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/znc/modtcl.so
|
||||
|
||||
%files modperl
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/znc/modperl/
|
||||
%{_libdir}/znc/modperl.so
|
||||
|
||||
%changelog
|
||||
* Sun Nov 7 2010 Nick Bebout <nb@fedoraproject.org> - 0.096-2
|
||||
- Build TCL module, move modperl and modtcl to separate subpackages
|
||||
|
||||
* Sat Nov 6 2010 Nick Bebout <nb@fedoraproject.org> - 0.096-1
|
||||
- Update to znc 0.096
|
||||
|
||||
|
|
Loading…
Reference in New Issue