Author: glen                         Date: Tue Feb 20 21:45:37 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, smb else finish this

---- Files affected:
SPECS:
   aufs.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/aufs.spec
diff -u /dev/null SPECS/aufs.spec:1.1
--- /dev/null   Tue Feb 20 22:45:37 2007
+++ SPECS/aufs.spec     Tue Feb 20 22:45:32 2007
@@ -0,0 +1,139 @@
+# $Revision$, $Date$
+# Conditional build:
+%bcond_without dist_kernel     # allow non-distribution kernel
+%bcond_without kernel          # don't build kernel modules
+%bcond_without up              # don't build UP module
+%bcond_without smp             # don't build SMP module
+%bcond_without userspace       # don't build userspace programs
+%bcond_with    verbose         # verbose build (V=1)
+
+%if %{without kernel}
+%undefine      with_dist_kernel
+%endif
+
+%define                _rel    0.1
+Summary:       Aufs - Another Unionfs
+Name:          aufs
+Version:       0
+Release:       %{_rel}
+License:       GPL v2
+Group:         Base/Kernel
+Source0:       %{name}-20070220.tar.bz2
+# Source0-md5: 81bc264f83a3cdd579e0bffcbf5f0d74
+URL:           http://aufs.sourceforge.net/
+%if %{with kernel}
+%{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 
3:2.6.14}
+BuildRequires: rpmbuild(macros) >= 1.330
+%endif
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+In the early days, aufs was entirely re-designed and re-implemented
+Unionfs. After many original ideas, approaches, improvements and
+implementations, it becomes totally different from Unionfs while
+keeping the basic features. Unionfs is being developed by Professor
+Erez Zadok at Stony Brook University and his team. If you don't know
+Unionfs, I recommend you to try and know it before using aufs. Some
+terminology in aufs follows Unionfs's.
+
+%package -n kernel%{_alt_kernel}-fs-aufs
+Summary:       Linux driver for aufs
+Summary(pl.UTF-8):     Sterownik dla Linuksa do aufs
+Release:       [EMAIL PROTECTED]
+Group:         Base/Kernel
+Requires(post,postun): /sbin/depmod
+%if %{with dist_kernel}
+%requires_releq_kernel_up
+Requires(postun):      %releq_kernel_up
+%endif
+
+%description -n kernel%{_alt_kernel}-fs-aufs
+This is driver for aufs for Linux.
+
+This package contains Linux module.
+
+%description -n kernel%{_alt_kernel}-fs-aufs -l pl.UTF-8
+Sterownik dla Linuksa do aufs.
+
+Ten pakiet zawiera moduł jądra Linuksa.
+
+%package -n kernel%{_alt_kernel}-smp-fs-aufs
+Summary:       Linux SMP driver for aufs
+Summary(pl.UTF-8):     Sterownik dla Linuksa SMP do aufs
+Release:       [EMAIL PROTECTED]
+Group:         Base/Kernel
+Requires(post,postun): /sbin/depmod
+%if %{with dist_kernel}
+%requires_releq_kernel_smp
+Requires(postun):      %releq_kernel_smp
+%endif
+
+%description -n kernel%{_alt_kernel}-smp-fs-aufs
+This is driver for aufs for Linux.
+
+This package contains Linux SMP module.
+
+%description -n kernel%{_alt_kernel}-smp-fs-aufs -l pl.UTF-8
+Sterownik dla Linuksa do aufs.
+
+Ten pakiet zawiera moduł jądra Linuksa SMP.
+
+%prep
+%setup -qn %{name}
+
+%build
+%if %{with kernel}
+%build_kernel_modules -m aufs
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with kernel}
+%install_kernel_modules -m aufs -d fs
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -n kernel%{_alt_kernel}-fs-aufs
+%depmod %{_kernel_ver}
+
+%postun        -n kernel%{_alt_kernel}-fs-aufs
+%depmod %{_kernel_ver}
+
+%post  -n kernel%{_alt_kernel}-smp-fs-aufs
+%depmod %{_kernel_ver}smp
+
+%postun        -n kernel%{_alt_kernel}-smp-fs-aufs
+%depmod %{_kernel_ver}smp
+
+%if %{with kernel}
+%if %{with up} || %{without dist_kernel}
+%files -n kernel%{_alt_kernel}-fs-aufs
+%defattr(644,root,root,755)
+/lib/modules/%{_kernel_ver}/fs/*.ko*
+%endif
+
+%if %{with smp} && %{with dist_kernel}
+%files -n kernel%{_alt_kernel}-smp-fs-aufs
+%defattr(644,root,root,755)
+/lib/modules/%{_kernel_ver}smp/fs/*.ko*
+%endif
+%endif
+
+%if %{with userspace}
+%files
+%defattr(644,root,root,755)
+%doc README History
+%endif
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/02/20 21:45:32  glen
+- new, smb else finish this
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to