Re-enable modperl and modpython
This commit is contained in:
parent
ebf1137280
commit
7559684903
50
znc.spec
50
znc.spec
|
@ -9,7 +9,7 @@ Summary: An advanced IRC bouncer
|
|||
Name: znc
|
||||
Version: 0.200
|
||||
#Release: 0.1.20110801git%{?dist}
|
||||
Release: 0.2.rc1%{?dist}
|
||||
Release: 0.3.rc1%{?dist}
|
||||
#Release: 1%{?dist}
|
||||
License: GPLv2 with exceptions
|
||||
Group: System Environment/Daemons
|
||||
|
@ -31,7 +31,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|||
BuildRequires: perl gcc-c++
|
||||
BuildRequires: openssl-devel >= 0.9.8
|
||||
BuildRequires: cyrus-sasl-devel
|
||||
BuildRequires: c-ares-devel automake
|
||||
BuildRequires: c-ares-devel automake python3-devel
|
||||
BuildRequires: perl(ExtUtils::Embed) swig tcl-devel
|
||||
%if %{use_systemd}
|
||||
BuildRequires: systemd-units
|
||||
|
@ -76,15 +76,24 @@ Requires: tcl
|
|||
%description modtcl
|
||||
TCL module for ZNC
|
||||
|
||||
#%package modperl
|
||||
#Summary: perl module for ZNC
|
||||
#Group: Development/Libraries
|
||||
#Requires: %{name} = %{version}-%{release}
|
||||
#Requires: perl
|
||||
#Provides: perl(ZNC::Module) = %{version}-%{release}
|
||||
%package modperl
|
||||
Summary: perl module for ZNC
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: perl
|
||||
Provides: perl(ZNC::Module) = %{version}-%{release}
|
||||
|
||||
#%description modperl
|
||||
#perl module for ZNC
|
||||
%description modperl
|
||||
perl module for ZNC
|
||||
|
||||
%package modpython
|
||||
Summary: python3 module for ZNC
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: python3
|
||||
|
||||
%description modpython
|
||||
python3 module for ZNC
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}-rc1
|
||||
|
@ -96,7 +105,7 @@ chmod -x modules/q.cpp
|
|||
./autogen.sh
|
||||
%configure \
|
||||
--with-module-prefix=%{_libdir}/znc \
|
||||
--enable-ipv6 --enable-extra --enable-sasl --disable-perl --enable-tcl
|
||||
--enable-ipv6 --enable-extra --enable-sasl --enable-python --enable-perl --enable-tcl
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%pre
|
||||
|
@ -226,13 +235,22 @@ fi
|
|||
%defattr(-,root,root)
|
||||
%{_libdir}/znc/modtcl.so
|
||||
|
||||
#%files modperl
|
||||
#%defattr(-,root,root)
|
||||
#%{_libdir}/znc/modperl/
|
||||
#%{_libdir}/znc/modperl.so
|
||||
#%{_libdir}/znc/perleval.pm
|
||||
%files modperl
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/znc/modperl/
|
||||
%{_libdir}/znc/modperl.so
|
||||
%{_libdir}/znc/perleval.pm
|
||||
|
||||
%files modpython
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/znc/modpython/
|
||||
%{_libdir}/znc/modpython.so
|
||||
|
||||
%changelog
|
||||
* Sun Aug 14 2011 Nick Bebout <nb@fedoraproject.org> - 0.200-0.3.rc1
|
||||
- Re-add modpython, it somehow got disabled accidentally
|
||||
- Also re-add modperl, it works now
|
||||
|
||||
* Sun Aug 14 2011 Nick Bebout <nb@fedoraproject.org> - 0.200-0.2.rc1
|
||||
- Create /home/znc upon install
|
||||
|
||||
|
|
Loading…
Reference in New Issue