Update ngircd.spec file
- Change Copyright to License - Update URL - Make BuildRoot use %{_tmppath} macro - Add basic BuildRequires - Compile with zlib and openssl - Install all docs in standard document location Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
This commit is contained in:
parent
1c7b9dbe93
commit
8f46681bc8
|
@ -7,12 +7,12 @@ Summary: A lightweight daemon for the Internet Relay Chat (IRC)
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}
|
Release: %{release}
|
||||||
Copyright: GPL
|
License: GPLv2+
|
||||||
Group: Networking/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://arthur.ath.cx/~alex/ngircd/
|
URL: http://ngircd.barton.de/
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
Packager: Sean Reifschneider <jafo-rpms@tummy.com>
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRoot: /var/tmp/%{name}-root
|
BuildRequires: zlib-devel, openssl-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ngIRCd is a free open source daemon for the Internet Relay Chat (IRC),
|
ngIRCd is a free open source daemon for the Internet Relay Chat (IRC),
|
||||||
|
@ -29,10 +29,13 @@ ngIRCd is compatible to the "original" ircd 2.10.3p3, so you can run
|
||||||
mixed networks.
|
mixed networks.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup -q
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure \
|
||||||
make
|
--with-zlib \
|
||||||
|
--with-openssl
|
||||||
|
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
|
||||||
|
@ -42,6 +45,7 @@ make
|
||||||
( cd usr/sbin; mv *-ngircd ngircd )
|
( cd usr/sbin; mv *-ngircd ngircd )
|
||||||
( cd usr/share/man/man5; mv *-ngircd.conf.5 ngircd.conf.5 )
|
( cd usr/share/man/man5; mv *-ngircd.conf.5 ngircd.conf.5 )
|
||||||
( cd usr/share/man/man8; mv *-ngircd.8 ngircd.8 )
|
( cd usr/share/man/man8; mv *-ngircd.8 ngircd.8 )
|
||||||
|
rm -fr usr/share/doc/ngircd
|
||||||
)
|
)
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
@ -49,7 +53,8 @@ make
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(755,root,root)
|
%defattr(755,root,root)
|
||||||
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
|
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README doc/*
|
||||||
%config(noreplace) /etc
|
%config(noreplace) /etc
|
||||||
%{_prefix}/sbin
|
%{_prefix}/sbin
|
||||||
%{_prefix}/share/man/
|
%{_mandir}/man5/ngircd.conf*
|
||||||
|
%{_mandir}/man8/ngircd.8*
|
||||||
|
|
Loading…
Reference in New Issue