Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
tools
>
znc
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
znc.spec
@@ -7,7 +7,15 @@ Source: http://dl.sf.net/sourceforge/znc/znc-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -BuildRequires: gcc-c++ perl perl(ExtUtils::Embed) cyrus-sasl-devel openssl-devel +BuildRequires: gcc-c++ perl perl(ExtUtils::Embed) cyrus-sasl-devel openssl-devel tcl-devel + +%if 0%{?suse_version} +BuildRequires: pkg-config +%endif + +%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version} +BuildRequires: pkgconfig +%endif %description ZNC is an IRC bounce with many advanced features like detaching, @@ -16,7 +24,7 @@ %package devel -Summary: Header files, libraries and development documentation for %{name}. +Summary: Header files, libraries and development documentation for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig @@ -34,7 +42,11 @@ %build %configure \ - --with-module-prefix="%{_libdir}/znc" + --with-module-prefix="%{_libdir}/znc" \ + --enable-sasl \ + --enable-tcl \ + --with-tcl=%{_libdir} \ + --enable-extra make @@ -49,7 +61,7 @@ %files %defattr(-, root, root, 0755) -%doc AUTHORS LICENSE README znc.conf +%doc AUTHORS LICENSE README %doc %{_mandir}/man1/znc.1* %{_bindir}/znc %{_datadir}/znc/