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
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)
18 %define filterout_ld -Wl,--as-needed
21 This package implements the CVM interface as a client
22 (cvm-testclient), and as a module (cvm-unix, cvm-pwfile).
24 %description -l pl.UTF-8
25 Pakiet implementuje interfejs CVM od strony klienta (cvm-testclient) i
26 modułów (cvm-unix, cvm-pwfile).
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
44 rm -rf $RPM_BUILD_ROOT
47 install_prefix=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc ChangeLog NEWS README TODO
55 %attr(755,root,root) %{_bindir}/*