File: cvm-0.11.spec

package info (click to toggle)
cvm 0.11-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 492 kB
  • ctags: 215
  • sloc: ansic: 1,777; makefile: 48; sh: 12
file content (47 lines) | stat: -rw-r--r-- 935 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Name: cvm
Summary: Credential Validation Modules
Version: 0.11
Release: 1
Copyright: GPL
Group: Utilities/System
Source: http://untroubled.org/cvm/cvm-0.11.tar.gz
BuildRoot: %{_tmppath}/cvm-buildroot
BuildRequires: mysql-devel
BuildRequires: postgresql-devel
URL: http://untroubled.org/cvm/
Packager: Bruce Guenter <bruceg@em.ca>

%description
This package implements the CVM interface as a client (testcvmclient)
and as a module (cvm_unix).

%prep
%setup

%build
echo gcc "%{optflags}" >conf-cc
echo gcc -s >conf-ld
echo %{_bindir} >conf-bin
make

%install
rm -fr %{buildroot}
rm -f *.o conf_bin.c
echo %{buildroot}%{_bindir} >conf-bin
make installer instcheck

mkdir -p %{buildroot}%{_bindir}
./installer
./instcheck

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc COPYING NEWS README *.html
%{_bindir}/cvm-benchclient
%{_bindir}/cvm-checkpassword
%{_bindir}/cvm-pwfile*
%{_bindir}/cvm-testclient
%{_bindir}/cvm-unix*