]>
Commit | Line | Data |
---|---|---|
dfe9f35a | 1 | # TODO: |
2 | # - separate -devel package | |
3 | # - think how to fix --as-needed this time | |
4 | Summary: Credential Validation Modules | |
04fefc56 | 5 | Summary(pl.UTF-8): Moduły uwierzytelniające CVM |
dfe9f35a | 6 | Name: cvm |
7 | Version: 0.82 | |
8 | Release: 0.1 | |
9 | License: GPL | |
10 | Group: Development/Libraries | |
11 | Source0: http://untroubled.org/cvm/%{name}-%{version}.tar.gz | |
12 | # Source0-md5: c8ce29c3b0ec932ae2d8c0c0eb94915a | |
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 | |
0ed26bfa JB |
21 | This package implements the CVM interface as a client |
22 | (cvm-testclient), and as a module (cvm-unix, cvm-pwfile). | |
dfe9f35a | 23 | |
c0e6a3cd | 24 | %description -l pl.UTF-8 |
65b63475 | 25 | Pakiet implementuje interfejs CVM od strony klienta (cvm-testclient) i |
c0e6a3cd | 26 | modułów (cvm-unix, cvm-pwfile). |
dfe9f35a | 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 | |
0ed26bfa JB |
45 | |
46 | %{__make} install \ | |
47 | install_prefix=$RPM_BUILD_ROOT | |
dfe9f35a | 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}/* | |
0ed26bfa | 56 | # FIXME: errogenous! |
dfe9f35a | 57 | %{_libdir}/* |
58 | %{_includedir}/* |