]> git.pld-linux.org Git - packages/nss_wrapper.git/blame - nss_wrapper.spec
- updated to 1.0.3
[packages/nss_wrapper.git] / nss_wrapper.spec
CommitLineData
0e34b3fe
JB
1Summary: NSS wrapper library
2Summary(pl.UTF-8): Biblioteka obudowująca NSS
3Name: nss_wrapper
6fc65926 4Version: 1.0.3
0e34b3fe
JB
5Release: 1
6License: BSD
7Group: Libraries
8Source0: http://www.samba.org/ftp/cwrap/%{name}-%{version}.tar.gz
6fc65926 9# Source0-md5: 5488434069267ff86bc479423d218bb7
0e34b3fe
JB
10URL: http://cwrap.org/nss_wrapper.html
11BuildRequires: cmake >= 2.8.0
12BuildRequires: rpmbuild(macros) >= 1.605
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16There are projects which provide daemons needing to be able to create,
17modify and delete unix users. Or just switch user ids to interact with
18the system e.g. a user space file server. To be able to test that you
19need the privilege to modify the passwd and groups file. With
20nss_wrapper it is possible to define your own passwd and groups file
21which will be used by software to act correctly while under test.
22
23If you have a client and server under test they normally use functions
24to resolve network names to addresses (dns) or vice versa. The
25nss_wrapper allows you to create a hosts file to setup name resolution
26for the addresses you use with socket_wrapper.
27
28%description -l pl.UTF-8
29Niektóre projekty zawierają demony potrzebujące tworzyć, modyfikować
30lub usuwać użytkowników uniksowych. Albo przełączają identyfikatory
31użytkowników, aby współpracować z systemem, np. serwerem plików w
32przestrzeni użytkownika. Aby przetestować takiego demona, wymagane są
33uprawnienia do modyfikowania plików passwd i group. Przy użyciu
34pakietu nss_wrapper można definiować własne pliki passwd i group, z
35którymi może pracować oprogramowanie w trakcie testów.
36
37Przy testowaniu klienta i serwera, normalnie korzystają one z funkcji
38rozwiązujących nazwy sieciowe na adresy (DNS) i odwrotnie. Pakiet
39nss_wrapper pozwala na tworzenie pliku hosts, aby skonfigurować
40rozwiązywanie nazw dla adresów używanych wraz z pakietem
41socket_wrapper.
42
43%prep
44%setup -q
45
46%build
47install -d build
48cd build
49%cmake ..
50
51%{__make}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} -C build install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%post -p /sbin/ldconfig
63%postun -p /sbin/ldconfig
64
65%files
66%defattr(644,root,root,755)
67%doc AUTHORS COPYING ChangeLog README TODO
68%attr(755,root,root) %{_bindir}/nss_wrapper.pl
69%attr(755,root,root) %{_libdir}/libnss_wrapper.so.*.*.*
70%attr(755,root,root) %ghost %{_libdir}/libnss_wrapper.so.0
71%attr(755,root,root) %{_libdir}/libnss_wrapper.so
72%{_pkgconfigdir}/nss_wrapper.pc
6fc65926
JB
73%{_libdir}/cmake/nss_wrapper
74%{_mandir}/man1/nss_wrapper.1*
This page took 0.108032 seconds and 4 git commands to generate.