diff options
| author | Mistivia <i@mistivia.com> | 2025-11-02 15:29:28 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-11-02 15:29:28 +0800 |
| commit | 9f42c2d5f911cb4e215d7873221e642ce7df4d61 (patch) | |
| tree | 6dac90a889a7402a9556d3d1bcc5cb53cdb9f123 /deprecated-ngircd/contrib/ngircd.spec | |
| parent | fb2d9de539b660a261af19b1cbcceb7ee7980cb1 (diff) | |
deprecate webircdateway and ngircd
Diffstat (limited to 'deprecated-ngircd/contrib/ngircd.spec')
| -rw-r--r-- | deprecated-ngircd/contrib/ngircd.spec | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/deprecated-ngircd/contrib/ngircd.spec b/deprecated-ngircd/contrib/ngircd.spec new file mode 100644 index 0000000..3d4eefc --- /dev/null +++ b/deprecated-ngircd/contrib/ngircd.spec @@ -0,0 +1,57 @@ +%define name ngircd +%define version 27 +%define release 1 +%define prefix %{_prefix} + +Summary: A lightweight daemon for the Internet Relay Chat (IRC) +Name: %{name} +Version: %{version} +Release: %{release} +License: GPLv2+ +Group: System Environment/Daemons +URL: http://ngircd.barton.de/ +Source: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: zlib-devel, openssl-devel + +%description +ngIRCd is a free, portable and lightweight Internet Relay Chat server for small +or private networks, developed under the GNU General Public License (GPL). + +The server is quite easy to configure, can handle dynamic IP addresses, and +optionally supports IDENT, IPv6 connections, SSL-protected links, and PAM for +user authentication as well as character set conversion for legacy clients. The +server has been written from scratch and is not based on the forefather, the +daemon of IRCNet. + + +%prep +%setup -q +%build +%configure \ + --with-zlib \ + --with-openssl + +make %{?_smp_mflags} + +%install +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" +%makeinstall +( + cd "$RPM_BUILD_ROOT" + ( 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 +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" + +%files +%defattr(755,root,root) +%doc AUTHORS.md COPYING ChangeLog INSTALL.md NEWS README.md doc/* +%config(noreplace) /etc +%{_prefix}/sbin +%{_mandir}/man5/ngircd.conf* +%{_mandir}/man8/ngircd.8* |
