summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorYang Lin <lin.a.yang@intel.com>2012-05-30 19:43:21 +0800
committerYang Lin <lin.a.yang@intel.com>2012-05-30 19:43:21 +0800
commit8c82de96cd23e4823a2d29eb2de2295c0866b0c9 (patch)
tree4c255e87442eb17f710f1674e13303ff56be0c7a /packaging
downloadquota-8c82de96cd23e4823a2d29eb2de2295c0866b0c9.tar.gz
quota-8c82de96cd23e4823a2d29eb2de2295c0866b0c9.tar.bz2
quota-8c82de96cd23e4823a2d29eb2de2295c0866b0c9.zip
Initial commit to Gerrittizen/20120530.11.0_branch1.0
Diffstat (limited to 'packaging')
-rw-r--r--packaging/quota-4.0.pre1.tar0
-rw-r--r--packaging/quota-4.0.pre1.tar.bz2bin0 -> 269469 bytes
-rw-r--r--packaging/quota.changes11
-rw-r--r--packaging/quota.spec62
4 files changed, 73 insertions, 0 deletions
diff --git a/packaging/quota-4.0.pre1.tar b/packaging/quota-4.0.pre1.tar
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/packaging/quota-4.0.pre1.tar
diff --git a/packaging/quota-4.0.pre1.tar.bz2 b/packaging/quota-4.0.pre1.tar.bz2
new file mode 100644
index 0000000..da0ae84
--- /dev/null
+++ b/packaging/quota-4.0.pre1.tar.bz2
Binary files differ
diff --git a/packaging/quota.changes b/packaging/quota.changes
new file mode 100644
index 0000000..324df17
--- /dev/null
+++ b/packaging/quota.changes
@@ -0,0 +1,11 @@
+* 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..47aad39
--- /dev/null
+++ b/packaging/quota.spec
@@ -0,0 +1,62 @@
+Name: quota
+Version: 4.0.pre1
+%define _version 4.00-pre1
+Release: 1
+Summary: Userland for disk quota
+Group: System/Base
+License: BSD, GPLv2, LGPLv2.1
+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: Development/Libraries
+
+%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}/{man1,man3,man8}
+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}/*
+%attr(0644,root,root) %{_mandir}/man1/*.gz
+%attr(0644,root,root) %{_mandir}/man2/*.gz
+%attr(0644,root,root) %{_mandir}/man3/*.gz
+%attr(0644,root,root) %{_mandir}/man8/*.gz
+
+%files devel
+%dir %{_includedir}/rpcsvc
+%{_includedir}/rpcsvc/*
+%attr(0644,root,root) %{_mandir}/man3/*
+