]> git.pld-linux.org Git - packages/nfs4-acl-tools.git/blob - nfs4-acl-tools.spec
- fixed development library installation, release 2
[packages/nfs4-acl-tools.git] / nfs4-acl-tools.spec
1 # TODO: shared library when fixed upstream (missing exports file)
2 Summary:        Command line ACL utilities for the Linux NFSv4 client
3 Summary(pl.UTF-8):      Narzędzia linii poleceń do ACL dla linuksowego klienta NFSv4
4 Name:           nfs4-acl-tools
5 Version:        0.3.5
6 Release:        2
7 License:        BSD
8 Group:          Applications/System
9 Source0:        http://linux-nfs.org/~bfields/nfs4-acl-tools/%{name}-%{version}.tar.gz
10 # Source0-md5:  7d69a96c4d6def3db53151646fbcde65
11 URL:            http://linux-nfs.org/
12 BuildRequires:  attr-devel
13 BuildRequires:  autoconf >= 2.50
14 BuildRequires:  automake
15 BuildRequires:  libtool >= 2:1.5
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Command line ACL utilities for the Linux NFSv4 client.
20
21 %description -l pl.UTF-8
22 Narzędzia linii poleceń do ACL dla linuksowego klienta NFSv4.
23
24 %package devel
25 Summary:        Header files and static libnfs4acl library
26 Summary(pl.UTF-8):      Pliki nagłówkowe i biblioteka statyczna libnfs4acl
27 Group:          Development/Libraries
28
29 %description devel
30 Header files and static libnfs4acl library.
31
32 %description devel -l pl.UTF-8
33 Pliki nagłówkowe i biblioteka statyczna libnfs4acl.
34
35 %prep
36 %setup -q
37
38 %build
39 %{__aclocal} -I m4
40 %{__autoconf}
41 # libexecdir is used for library installation
42 %configure \
43         --libexecdir=%{_libdir}
44 # --enable-shared (broken as of 0.3.5, missing "exports" file)
45 %{__make} \
46         LIBTOOL="libtool --tag=CC" \
47         LTLDFLAGS="-rpath %{_libdir} -static" \
48         OPTIMIZER="%{rpmcflags}"
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install install-dev \
54         DESTDIR=$RPM_BUILD_ROOT \
55         INSTALL_MAN='install -m644 $(MAN_PAGES) $(MAN_DEST)' \
56         PKG_INC_DIR=$RPM_BUILD_ROOT%{_includedir}
57
58 cp -p include/{libacl_nfs4,nfs4}.h $RPM_BUILD_ROOT%{_includedir}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc COPYING README TODO
66 %attr(755,root,root) %{_bindir}/nfs4_editfacl
67 %attr(755,root,root) %{_bindir}/nfs4_getfacl
68 %attr(755,root,root) %{_bindir}/nfs4_setfacl
69 %{_mandir}/man1/nfs4_editfacl.1*
70 %{_mandir}/man1/nfs4_getfacl.1*
71 %{_mandir}/man1/nfs4_setfacl.1*
72 %{_mandir}/man5/nfs4_acl.5*
73
74 %files devel
75 %defattr(644,root,root,755)
76 %{_libdir}/libnfs4acl.a
77 %{_includedir}/libacl_nfs4.h
78 %{_includedir}/nfs4.h
This page took 0.372471 seconds and 3 git commands to generate.