X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=contrib%2Fngircd.spec;h=da0c2f7114f762988900aefe03774e14c931d1fd;hp=a1386d542163073018f19a2365350a036e6a527b;hb=25dd193e9b49b38db39cf549f94df4ba11812fe9;hpb=a5b59525985c1465ab9775313660fd0ad8d026a3 diff --git a/contrib/ngircd.spec b/contrib/ngircd.spec index a1386d54..da0c2f71 100644 --- a/contrib/ngircd.spec +++ b/contrib/ngircd.spec @@ -1,37 +1,41 @@ %define name ngircd -%define version CurrentCVS +%define version 17.1 %define release 1 %define prefix %{_prefix} -Summary: Next Generation Internet Relay Chat Daemon +Summary: A lightweight daemon for the Internet Relay Chat (IRC) Name: %{name} Version: %{version} Release: %{release} -Copyright: GPL -Group: Networking/Daemons -URL: http://arthur.ath.cx/~alex/ngircd/ +License: GPLv2+ +Group: System Environment/Daemons +URL: http://ngircd.barton.de/ Source: %{name}-%{version}.tar.gz -Packager: Sean Reifschneider -BuildRoot: /var/tmp/%{name}-root +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: zlib-devel, openssl-devel %description -ngIRCd is a free open source daemon for Internet Relay Chat (IRC), +ngIRCd is a free open source daemon for the Internet Relay Chat (IRC), developed under the GNU General Public License (GPL). It's written from scratch and is not based upon the original IRCd like many others. -Why should you use ngIRCd? Because ... +Advantages: + - no problems with servers using changing/non-static IP addresses. + - small and lean configuration file. + - free, modern and open source C code. + - still under active development. - * ... there are no problems with servers on changing or non-static IP - addresses. - * ... there is a small and lean configuration file. - * ... there is a free, modern and open source C source code. - * ... it is still under active development. +ngIRCd is compatible to the "original" ircd 2.10.3p3, so you can run +mixed networks. %prep -%setup +%setup -q %build -%configure -make +%configure \ + --with-zlib \ + --with-openssl + +make %{?_smp_mflags} %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" @@ -41,6 +45,7 @@ make ( cd usr/sbin; mv *-ngircd ngircd ) ( cd usr/share/man/man5; mv *-ngircd.conf.5 ngircd.conf.5 ) ( cd usr/share/man/man8; mv *-ngircd.8 ngircd.8 ) + rm -fr usr/share/doc/ngircd ) %clean @@ -48,7 +53,8 @@ make %files %defattr(755,root,root) -%doc AUTHORS COPYING ChangeLog INSTALL NEWS README +%doc AUTHORS COPYING ChangeLog INSTALL NEWS README doc/* %config(noreplace) /etc %{_prefix}/sbin -%attr(644,root,root) %{_prefix}/share/man/ +%{_mandir}/man5/ngircd.conf* +%{_mandir}/man8/ngircd.8*