diff options
| author | Ask Bjørn Hansen <ask@develooper.com> | 2009-01-12 23:31:18 -0800 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2009-01-13 11:01:09 +0100 |
| commit | 8f46681bc86162936ffdf56d7f534221ba20fbf5 (patch) | |
| tree | 7d5a24250cb6f0162b97e00e80c8ae8bebec9abd /contrib/ngircd.spec | |
| parent | 1c7b9dbe931ecbb0f355ab66c9b422f7e6001058 (diff) | |
| download | ngircd-8f46681bc86162936ffdf56d7f534221ba20fbf5.tar.gz ngircd-8f46681bc86162936ffdf56d7f534221ba20fbf5.zip | |
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>
Diffstat (limited to 'contrib/ngircd.spec')
| -rw-r--r-- | contrib/ngircd.spec | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/contrib/ngircd.spec b/contrib/ngircd.spec index be6a9c0c..dc3dfd80 100644 --- a/contrib/ngircd.spec +++ b/contrib/ngircd.spec @@ -7,12 +7,12 @@ 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 <jafo-rpms@tummy.com> -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 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. %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" @@ -42,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 @@ -49,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 -%{_prefix}/share/man/ +%{_mandir}/man5/ngircd.conf* +%{_mandir}/man8/ngircd.8* |