]> git.pld-linux.org Git - packages/cvm.git/blob - cvm.spec
- updated to 0.95
[packages/cvm.git] / cvm.spec
1 # TODO:
2 # - separate -devel package
3 # - think how to fix --as-needed this time
4 Summary:        Credential Validation Modules
5 Summary(pl.UTF-8):      Moduły uwierzytelniające CVM
6 Name:           cvm
7 Version:        0.95
8 Release:        0.1
9 License:        GPL
10 Group:          Development/Libraries
11 Source0:        http://untroubled.org/cvm/%{name}-%{version}.tar.gz
12 # Source0-md5:  3b9e3fa33ee0d84069e60181249c9499
13 URL:            http://untroubled.org/cvm/
14 BuildRequires:  bglibs-devel
15 BuildRequires:  libtool
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         filterout_ld    -Wl,--as-needed
19
20 %description
21 This package implements the CVM interface as a client
22 (cvm-testclient), and as a module (cvm-unix, cvm-pwfile).
23
24 %description -l pl.UTF-8
25 Pakiet implementuje interfejs CVM od strony klienta (cvm-testclient) i
26 modułów (cvm-unix, cvm-pwfile).
27
28 %prep
29 %setup -q
30
31 %build
32 echo '%{__cc} %{rpmcflags} -Wall -I%{_includedir}/bglibs' > conf-cc
33 echo '%{__cc} %{rpmldflags} -L%{_libdir}/bglibs' > conf-ld
34 echo '%{_includedir}/bglibs' > conf-bgincs
35 echo '%{_libdir}/bglibs' > conf-bglibs
36 echo '%{_prefix}' > conf-home
37 echo '%{_bindir}' > conf-bin
38 echo '%{_includedir}' > conf-include
39 echo '%{_libdir}' > conf-lib
40
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         install_prefix=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc ChangeLog NEWS README TODO
55 %attr(755,root,root) %{_bindir}/*
56 # FIXME: errogenous!
57 %{_libdir}/*
58 %{_includedir}/*
This page took 0.05977 seconds and 3 git commands to generate.