]> git.pld-linux.org Git - packages/uid_wrapper.git/blob - uid_wrapper.spec
- updated to 1.3.0
[packages/uid_wrapper.git] / uid_wrapper.spec
1 Summary:        UID wrapper library
2 Summary(pl.UTF-8):      Biblioteka obudowująca UID
3 Name:           uid_wrapper
4 Version:        1.3.0
5 Release:        1
6 License:        GPL v3+
7 Group:          Libraries
8 Source0:        https://www.samba.org/ftp/cwrap/%{name}-%{version}.tar.gz
9 # Source0-md5:  0a27738fadf3cff0dbaa86061c27df3d
10 URL:            https://cwrap.org/uid_wrapper.html
11 BuildRequires:  cmake >= 3.5.0
12 BuildRequires:  rpmbuild(macros) >= 1.605
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Privilege separation - some projects like a file server need privilege
17 separation to be able to switch to the connnection user and do file
18 operations. uid_wrapper convincingly lies to the application letting
19 it believe it is operating as root and even switching between uids and
20 gids as needed.
21
22 %description -l pl.UTF-8
23 Rozdzielenie uprawnień - niektóre projekty, takie jak serwer plików,
24 wymagają rozdzielenia uprawnień, aby przełączać się na użytkownika
25 połączenia i wykonywać operacje na plikach. uid_wrapper dla wygody
26 okłamuje aplikację, pozwalając jej wierzyć, że działa jako root, nawet
27 gdy wymagane jest przełączanie między różnymi uidami i gidami.
28
29 %prep
30 %setup -q
31
32 %build
33 install -d build
34 cd build
35 %cmake ..
36
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} -C build install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post   -p /sbin/ldconfig
49 %postun -p /sbin/ldconfig
50
51 %files
52 %defattr(644,root,root,755)
53 %doc AUTHORS CHANGELOG README.md TODO
54 %attr(755,root,root) %{_libdir}/libuid_wrapper.so.*.*.*
55 %attr(755,root,root) %ghost %{_libdir}/libuid_wrapper.so.0
56 %attr(755,root,root) %{_libdir}/libuid_wrapper.so
57 %{_pkgconfigdir}/uid_wrapper.pc
58 %{_libdir}/cmake/uid_wrapper
59 %{_mandir}/man1/uid_wrapper.1*
This page took 0.106392 seconds and 4 git commands to generate.