From cf34fdbebd33add5036a9b1a86d1cccd721e3b66 Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Mon, 25 Nov 2013 15:49:09 -0800 Subject: [PATCH] Update to 4.01. Change-Id: Ib5ccd050799280a59e261090e1352feb998c4e4c Signed-off-by: Ossama Othman --- .gbs.conf | 3 +++ packaging/quota.changes | 14 ++++++++++++ packaging/quota.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 .gbs.conf create mode 100644 packaging/quota.changes create mode 100644 packaging/quota.spec 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 1.0_branch@f1ab0ae +- Update to 4.01. + +* Wed May 30 03:17:39 UTC 2012 - Lin Yang - 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 - 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/* -- 2.7.4