SPECS: btrfs-progs.spec (NEW) - initial
arekm
arekm at pld-linux.org
Wed Jan 14 19:49:31 CET 2009
Author: arekm Date: Wed Jan 14 18:49:31 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
btrfs-progs.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/btrfs-progs.spec
diff -u /dev/null SPECS/btrfs-progs.spec:1.1
--- /dev/null Wed Jan 14 19:49:31 2009
+++ SPECS/btrfs-progs.spec Wed Jan 14 19:49:26 2009
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+Summary: Utilities belonging to the btrfs filesystem
+Name: btrfs-progs
+Version: 0.17
+Release: 1
+License: GPL v2
+Group: Applications/System
+Source0: http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/%{name}-%{version}.tar.bz2
+# Source0-md5: 88d1fde8ecf237fc210510911ba06786
+URL: http://btrfs.wiki.kernel.org/
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake
+BuildRequires: libuuid-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _sbindir /sbin
+
+%description
+Btrfs is a new copy on write filesystem for Linux aimed at
+implementing advanced features while focusing on fault tolerance,
+repair and easy administration.
+
+%prep
+%setup -q
+
+sed -i -e 's#gcc#%{__cc}#g' Makefile
+
+%build
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcppflags} %{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
+
+%{__make} install \
+ bindir=%{_sbindir} \
+ DESTDIR=$RPM_BUILD_ROOT
+
+ln -sf btrfsck $RPM_BUILD_ROOT%{_sbindir}/fsck.btrfs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc INSTALL
+%attr(755,root,root) %{_sbindir}/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/01/14 18:49:26 arekm
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list