modperl can't be built on el5
This commit is contained in:
parent
b55909941a
commit
cdb56272da
21
znc.spec
21
znc.spec
|
@ -15,11 +15,11 @@ Source0: http://people.znc.in/~psychon/znc/releases/znc-0.098-alpha1.tar.
|
|||
# git archive --prefix=znc/ HEAD | xz > ../znc-0.097.tar.xz
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRequires: perl gcc-c++
|
||||
BuildRequires: gcc-c++ perl
|
||||
BuildRequires: openssl-devel >= 0.9.8
|
||||
BuildRequires: cyrus-sasl-devel
|
||||
BuildRequires: c-ares-devel automake
|
||||
BuildRequires: perl(ExtUtils::Embed) swig tcl-devel
|
||||
BuildRequires: tcl-devel
|
||||
|
||||
%description
|
||||
ZNC is an IRC bouncer with many advanced features like detaching,
|
||||
|
@ -53,15 +53,6 @@ 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
|
||||
%setup -q -n %{name}-%{version}-alpha1
|
||||
|
@ -71,7 +62,7 @@ chmod -x modules/q.cpp
|
|||
%build
|
||||
%configure \
|
||||
--with-module-prefix=%{_libdir}/znc \
|
||||
--enable-ipv6 --enable-extra --enable-sasl --enable-perl --enable-tcl
|
||||
--enable-ipv6 --enable-extra --enable-sasl --disable-perl --enable-tcl
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
@ -156,12 +147,6 @@ chmod -x modules/q.cpp
|
|||
%defattr(-,root,root)
|
||||
%{_libdir}/znc/modtcl.so
|
||||
|
||||
%files modperl
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/znc/modperl/
|
||||
%{_libdir}/znc/modperl.so
|
||||
%{_libdir}/znc/perleval.pm
|
||||
|
||||
%changelog
|
||||
* Wed Feb 23 2011 Nick Bebout <nb@fedoraproject.org> - 0.098-0.1.alpha1
|
||||
- Update to znc 0.098-alpha1
|
||||
|
|
Loading…
Reference in New Issue