]> git.pld-linux.org Git - packages/cancd.git/blobdiff - cancd.spec
- unified %clean section
[packages/cancd.git] / cancd.spec
index ce2fdb11aea3e97cff131d547792a7355255bae4..f1d31d1eca5b285cd87426a49dda6494bf1559fc 100644 (file)
@@ -1,7 +1,15 @@
+# TODO:
+# - fix alpha build:
+#  alpha-pld-linux-gcc -Wall -O2 -mieee  -DVERSION="\"0.1.0\""   -c -o cancd.o cancd.c
+#  cancd.c: In function `setup_signals':
+#  cancd.c:95: error: structure has no member named `sa_restorer'
+#  make: *** [cancd.o] Error 1
+
 Summary:       The CA NetConsole Daemon
+Summary(pl.UTF-8):     Demon CA NetConsole
 Name:          cancd
 Version:       0.1.0
-Release:       0.5
+Release:       2
 License:       GPL
 Group:         Applications/File
 Source0:       http://oss.oracle.com/projects/cancd/dist/files/source/%{name}-%{version}.tar.gz
@@ -9,6 +17,9 @@ Source0:       http://oss.oracle.com/projects/cancd/dist/files/source/%{name}-%{versio
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 Patch0:                %{name}-make.patch
+Patch1:                %{name}-nullterminate.patch
+Patch2:                %{name}-c_cleanup.patch
+Patch3:                %{name}-limits.patch
 URL:           http://oss.oracle.com/projects/cancd/
 BuildRequires: rpmbuild(macros) >= 1.228
 Requires(post,preun):  /sbin/chkconfig
@@ -22,15 +33,23 @@ Requires:   /sbin/chkconfig
 Requires:      rc-scripts >= 0.4.0.17
 Provides:      group(cancd)
 Provides:      user(cancd)
+ExcludeArch:   alpha
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This is the CA NetConsole Daemon, a daemon to receive output from the
 Linux netconsole driver.
 
+%description -l pl.UTF-8
+To jest demon CA NetConsole - demon odbierający wyjście z linuksowego
+sterownika netconsole (konsoli sieciowej).
+
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p0
 
 %build
 %{__make} \
@@ -47,7 +66,7 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/cancd
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/cancd
 
 %clean
-rm -rf "$RPM_BUILD_ROOT"
+rm -rf $RPM_BUILD_ROOT
 
 %pre
 %groupadd -g 162 cancd
This page took 0.191874 seconds and 4 git commands to generate.