diff options
-rw-r--r-- | .gbs.conf | 3 | ||||
-rw-r--r-- | packaging/quota.changes | 14 | ||||
-rw-r--r-- | packaging/quota.spec | 59 |
3 files changed, 76 insertions, 0 deletions
diff --git a/.gbs.conf b/.gbs.conf new file mode 100644 index 0000000..fa9fdc5 --- /dev/null +++ b/.gbs.conf @@ -0,0 +1,3 @@ +[general] +upstream_branch = upstream +upstream_tag = ${upstreamversion} diff --git a/packaging/quota.changes b/packaging/quota.changes new file mode 100644 index 0000000..e819578 --- /dev/null +++ b/packaging/quota.changes @@ -0,0 +1,14 @@ +* Mon Nov 25 2013 Ossama Othman <ossama.othman@intel.com> 1.0_branch@f1ab0ae +- Update to 4.01. + +* Wed May 30 03:17:39 UTC 2012 - Lin Yang <lin.a.yang@intel.con> - 4.0.pre1 +- Initial commit to Gerrit + +* Tue Apr 10 23:14:30 UTC 2012 - tracy.graydon@intel.com +- Directly apply the stripping fix patch changes and ditch the patch. + +* Tue Apr 10 00:54:53 UTC 2012 - tracy.graydon@intel.com +- Stole Auke's initial packaging and added the quota-3.06-no-stripping.patch + +* Thu Jul 28 2011 Auke Kok <auke-jan.h.kok@intel.com> - 4.0~pre1 +- Initial packaging, mostly from Bernd Wachter. diff --git a/packaging/quota.spec b/packaging/quota.spec new file mode 100644 index 0000000..72d5bf3 --- /dev/null +++ b/packaging/quota.spec @@ -0,0 +1,59 @@ +Name: quota +Version: 4.01 +%define _version 4.01 +Release: 1 +Summary: Userland for disk quota +Group: Base/Service +License: BSD-4-Clause-UC and GPL-2.0 +URL: http://sourceforge.net/projects/linuxquota/ +Source0: %{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(ext2fs) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: gettext + +%description +%{summary}. + +%package devel +Summary: Development files for %{name} +Group: Base/Service + +%description devel +%{summary}. + +%prep +%setup -q -n %{name}-%{version} + +%build +%configure \ + --enable-netlink=no \ + --with-ext2direct=yes \ + --enable-rpcsetquota=yes +make %{?_smp_mflags} + +%install +mkdir -p %{buildroot}/sbin +mkdir -p %{buildroot}%{_sysconfdir} +mkdir -p %{buildroot}%{_sbindir} +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_mandir}/man{1,3,8} +make install INSTALL='install -p' ROOTDIR=%{buildroot} + + +%find_lang %{name} + +%files -f %{name}.lang +%defattr(-,root,root,-) +%config %{_sysconfdir}/quota* +%config %{_sysconfdir}/*.conf +%attr(0755,root,root) %{_bindir}/* +%attr(0755,root,root) %{_sbindir}/* +%doc %{_mandir}/man1/*.gz +%doc %{_mandir}/man8/*.gz + +%files devel +%dir %{_includedir}/rpcsvc +%{_includedir}/rpcsvc/* +%doc %{_mandir}/man3/* |