]> git.pld-linux.org Git - packages/bootparamd.git/commitdiff
- release 6, bootparamd-0_17-6
authorkloczek <kloczek@pld-linux.org>
Wed, 8 Nov 2000 00:54:01 +0000 (00:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added install_man_fix,
- use %%{__cc} macro instead directly gcc,
- use new rpm automation,
- added man pages level 5.

Changed files:
    bootparamd.spec -> 1.12

bootparamd.spec

index 605891dc176a9aa91775c0c8c2482ebdd9d0f076..039aef76be98a54aa55d4bd6944fc872216925ce 100644 (file)
@@ -1,12 +1,14 @@
 Summary:       A server process which provides boot information to diskless clients
 Name:          bootparamd
 Version:       0.17
-Release:       1
+Release:       6
 License:       BSD
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Source0:       ftp://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-%{name}-%{version}.tar.gz
-Source1:       bootparamd.init
+Source1:       %{name}.init
+Patch0:                %{name}-install_man_fix.patch
 Prereq:                /sbin/chkconfig
 Requires:      portmap
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,10 +26,11 @@ clients and servers which need that boot server code.
 
 %prep
 %setup -q -n netkit-bootparamd-%{version}
+%patch -p1
 
 %build
-./configure --with-c-compiler=gcc
-%{__make} CFLAGS="$RPM_OPT_FLAGS"
+./configure --with-c-compiler=%{__cc}
+%{__make} CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -40,8 +43,6 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man8} \
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/bootparamd
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -66,4 +67,4 @@ fi
 %attr(754,root,root) /etc/rc.d/init.d/bootparamd
 %attr(755,root,root) %{_sbindir}/rpc.bootparamd
 %attr(755,root,root) %{_bindir}/callbootd
-%{_mandir}/man8/*
+%{_mandir}/man[58]/*
This page took 0.086936 seconds and 4 git commands to generate.