5 Summary: Userland for disk quota
7 License: BSD-4-Clause-UC and GPL-2.0
8 URL: http://sourceforge.net/projects/linuxquota/
9 Source0: %{name}-%{version}.tar.bz2
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
11 BuildRequires: pkgconfig(openssl)
12 BuildRequires: pkgconfig(ext2fs)
13 BuildRequires: pkgconfig(dbus-1)
14 BuildRequires: gettext
20 Summary: Development files for %{name}
27 %setup -q -n %{name}-%{version}
32 --with-ext2direct=yes \
33 --enable-rpcsetquota=yes
37 mkdir -p %{buildroot}/sbin
38 mkdir -p %{buildroot}%{_sysconfdir}
39 mkdir -p %{buildroot}%{_sbindir}
40 mkdir -p %{buildroot}%{_bindir}
41 mkdir -p %{buildroot}%{_mandir}/man{1,3,8}
42 make install INSTALL='install -p' ROOTDIR=%{buildroot}
47 %files -f %{name}.lang
48 %defattr(-,root,root,-)
49 %config %{_sysconfdir}/quota*
50 %config %{_sysconfdir}/*.conf
51 %attr(0755,root,root) %{_bindir}/*
52 %attr(0755,root,root) %{_sbindir}/*
53 %doc %{_mandir}/man1/*.gz
54 %doc %{_mandir}/man8/*.gz
57 %dir %{_includedir}/rpcsvc
58 %{_includedir}/rpcsvc/*
59 %doc %{_mandir}/man3/*