Browse Source

* btrfs-progs: new package for Vine Linux

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1871 ec354946-7b23-47d6-9f5a-488ba84defc7
shaolin 13 years ago
parent
commit
ce4c2a3612
1 changed files with 159 additions and 0 deletions
  1. 159 0
      b/btrfs-progs/btrfs-progs-vl.spec

+ 159 - 0
b/btrfs-progs/btrfs-progs-vl.spec

@@ -0,0 +1,159 @@
+Name:           btrfs-progs
+Version:        0.19
+Release:        1%{?_dist_release}
+Summary:        Userspace programs for btrfs
+Summary(ja):    btrfs ファイルシステム用ユーザスペースプログラム集
+
+Group:          System Environment/Base
+License:        GPLv2
+URL:            http://btrfs.wiki.kernel.org/index.php/Main_Page
+Source0:        http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/%{name}-%{version}.tar.bz2
+Patch0: btrfs-progs-fix-labels.patch
+Patch1: btrfs-progs-build-everything.patch
+Patch2: btrfs-progs-valgrind.patch
+Patch3: btrfs-progs-fix-return-value.patch
+Patch4: btrfs-progs-build-fixes.patch
+Patch5: btrfs-progs-upstream.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  e2fsprogs-devel, libuuid-devel, zlib-devel, libacl-devel
+
+%define _root_sbindir /sbin
+
+
+%description
+The btrfs-progs package provides all the userpsace programs needed to create,
+check, modify and correct any inconsistencies in the btrfs filesystem.
+
+%description -l ja
+btrfs-progs パッケージには、btrfs ファイルシステムを作成、チェック、
+変更、不整合の修正などを行うためのユーザスペースプログラムが収録されています。
+
+
+%prep
+%setup -q
+%patch0 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch1 -p1
+
+
+%build
+make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
+make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} LDFLAGS="-lcom_err" convert
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make mandir=%{_mandir} bindir=%{_root_sbindir} install DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING INSTALL
+%{_root_sbindir}/btrfsctl
+%{_root_sbindir}/btrfsck
+%{_root_sbindir}/mkfs.btrfs
+%{_root_sbindir}/btrfs-debug-tree
+%{_root_sbindir}/btrfs-image
+%{_root_sbindir}/btrfs-show
+%{_root_sbindir}/btrfs-vol
+%{_root_sbindir}/btrfs-convert
+%{_root_sbindir}/btrfstune
+%{_root_sbindir}/btrfs
+%{_root_sbindir}/btrfs-map-logical
+%{_mandir}/man8/btrfs-image.8.gz
+%{_mandir}/man8/btrfs-show.8.gz
+%{_mandir}/man8/btrfsck.8.gz
+%{_mandir}/man8/btrfsctl.8.gz
+%{_mandir}/man8/mkfs.btrfs.8.gz
+%{_mandir}/man8/btrfs.8.gz
+
+
+%changelog
+* Wed Sep 22 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.19-1
+- initial package for Vine Linux
+
+* Wed Mar 24 2010 Josef Bacik <josef@toxicpanda.com> 0.19-12
+- bring btrfs-progs uptodate with upstream so we can use the new kernel
+  features, such as the default subvol stuff and snapshot listing.
+
+* Thu Mar 11 2010 Josef Bacik <josef@toxicpanda.com> 0.19-11
+- fix convert build for DSO linking stuff
+
+* Thu Mar 11 2010 Josef Bacik <josef@toxicpanda.com> 0.19-10
+- add btrfs-progs-ustream.patch so we are aligned with upstream
+
+* Tue Feb 2 2010 Josef Bacik <josef@toxicpanda.com> 0.19-9
+- fix btrfsck so it builds on newer glibcs
+
+* Tue Feb 2 2010 Josef Bacik <josef@toxicpanda.com> 0.19-8
+- fix btrfsctl to return 0 on success and 1 on failure
+
+* Tue Aug 25 2009 Josef Bacik <josef@toxicpanda.com> 0.19-7
+- add btrfs-progs-valgrind.patch to fix memory leaks and segfaults
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Jul 15 2009 Josef Bacik <josef@toxicpanda.com> 0.19-5
+- add e2fsprogs-devel back to BuildRequires since its needed for the converter
+
+* Wed Jul 15 2009 Josef Bacik <josef@toxicpanda.com> 0.19-4
+- change BuildRequires for e2fsprogs-devel to libuuid-devel
+
+* Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-3
+- added man pages to the files list and made sure they were installed properly
+
+* Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-2
+- add a patch for the Makefile to make it build everything again
+
+* Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-1
+- update to v0.19 of btrfs-progs for new format
+
+* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-3
+- updated label patch
+
+* Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-2
+- add a patch to handle having /'s in labels
+
+* Sat Jan 17 2009 Josef Bacik <josef@toxicpanda.com> 0.18-1
+- updated to 0.18 because of the ioctl change in 2.6.29-rc2
+
+* Fri Jan 16 2009 Marek Mahut <mmahut@fedoraproject.org> 0.17-4
+- RHBZ#480219 btrfs-convert is missing
+
+* Mon Jan 12 2009 Josef Bacik <josef@toxicpanda.com> 0.17-2
+- fixed wrong sources upload
+
+* Mon Jan 12 2009 Josef Bacik <josef@toxicpanda.com> 0.17
+- Upstream release 0.17
+
+* Sat Jan 10 2009 Kyle McMartin <kyle@redhat.com> 0.16.git1-1
+- Upstream git sync from -g72359e8 (needed for kernel...)
+
+* Sat Jan 10 2009 Marek Mahut <mmahut@fedoraproject.org> 0.16-1
+- Upstream release 0.16
+
+* Mon Jun 25 2008 Josef Bacik <josef@toxicpanda.com> 0.15-4
+-use fedoras normal CFLAGS
+
+* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-3
+-Actually defined _root_sbindir
+-Fixed the make install line so it would install to the proper dir
+
+* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-2
+-Removed a . at the end of the description
+-Fixed the copyright to be GPLv2 since GPL doesn't work anymore
+
+* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-1
+-Initial build