source: projects/specs/branches/6/b/btrfs-progs/btrfs-progs-vl.spec @ 1871

Revision 1871, 5.2 KB checked in by shaolin, 14 years ago (diff)
  • btrfs-progs: new package for Vine Linux
Line 
1Name:           btrfs-progs
2Version:        0.19
3Release:        1%{?_dist_release}
4Summary:        Userspace programs for btrfs
5Summary(ja):    btrfs ファイルシステム用ユーザスペースプログラム集
6
7Group:          System Environment/Base
8License:        GPLv2
9URL:            http://btrfs.wiki.kernel.org/index.php/Main_Page
10Source0:        http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/%{name}-%{version}.tar.bz2
11Patch0: btrfs-progs-fix-labels.patch
12Patch1: btrfs-progs-build-everything.patch
13Patch2: btrfs-progs-valgrind.patch
14Patch3: btrfs-progs-fix-return-value.patch
15Patch4: btrfs-progs-build-fixes.patch
16Patch5: btrfs-progs-upstream.patch
17BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18
19BuildRequires:  e2fsprogs-devel, libuuid-devel, zlib-devel, libacl-devel
20
21%define _root_sbindir /sbin
22
23
24%description
25The btrfs-progs package provides all the userpsace programs needed to create,
26check, modify and correct any inconsistencies in the btrfs filesystem.
27
28%description -l ja
29btrfs-progs パッケージには、btrfs ファイルシステムを作成、チェック、
30変更、不整合の修正などを行うためのユーザスペースプログラムが収録されています。
31
32
33%prep
34%setup -q
35%patch0 -p1
36%patch2 -p1
37%patch3 -p1
38%patch4 -p1
39%patch5 -p1
40%patch1 -p1
41
42
43%build
44make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
45make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} LDFLAGS="-lcom_err" convert
46
47
48%install
49rm -rf $RPM_BUILD_ROOT
50make mandir=%{_mandir} bindir=%{_root_sbindir} install DESTDIR=$RPM_BUILD_ROOT
51
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56
57%files
58%defattr(-,root,root,-)
59%doc COPYING INSTALL
60%{_root_sbindir}/btrfsctl
61%{_root_sbindir}/btrfsck
62%{_root_sbindir}/mkfs.btrfs
63%{_root_sbindir}/btrfs-debug-tree
64%{_root_sbindir}/btrfs-image
65%{_root_sbindir}/btrfs-show
66%{_root_sbindir}/btrfs-vol
67%{_root_sbindir}/btrfs-convert
68%{_root_sbindir}/btrfstune
69%{_root_sbindir}/btrfs
70%{_root_sbindir}/btrfs-map-logical
71%{_mandir}/man8/btrfs-image.8.gz
72%{_mandir}/man8/btrfs-show.8.gz
73%{_mandir}/man8/btrfsck.8.gz
74%{_mandir}/man8/btrfsctl.8.gz
75%{_mandir}/man8/mkfs.btrfs.8.gz
76%{_mandir}/man8/btrfs.8.gz
77
78
79%changelog
80* Wed Sep 22 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.19-1
81- initial package for Vine Linux
82
83* Wed Mar 24 2010 Josef Bacik <josef@toxicpanda.com> 0.19-12
84- bring btrfs-progs uptodate with upstream so we can use the new kernel
85  features, such as the default subvol stuff and snapshot listing.
86
87* Thu Mar 11 2010 Josef Bacik <josef@toxicpanda.com> 0.19-11
88- fix convert build for DSO linking stuff
89
90* Thu Mar 11 2010 Josef Bacik <josef@toxicpanda.com> 0.19-10
91- add btrfs-progs-ustream.patch so we are aligned with upstream
92
93* Tue Feb 2 2010 Josef Bacik <josef@toxicpanda.com> 0.19-9
94- fix btrfsck so it builds on newer glibcs
95
96* Tue Feb 2 2010 Josef Bacik <josef@toxicpanda.com> 0.19-8
97- fix btrfsctl to return 0 on success and 1 on failure
98
99* Tue Aug 25 2009 Josef Bacik <josef@toxicpanda.com> 0.19-7
100- add btrfs-progs-valgrind.patch to fix memory leaks and segfaults
101
102* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-6
103- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
104
105* Wed Jul 15 2009 Josef Bacik <josef@toxicpanda.com> 0.19-5
106- add e2fsprogs-devel back to BuildRequires since its needed for the converter
107
108* Wed Jul 15 2009 Josef Bacik <josef@toxicpanda.com> 0.19-4
109- change BuildRequires for e2fsprogs-devel to libuuid-devel
110
111* Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-3
112- added man pages to the files list and made sure they were installed properly
113
114* Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-2
115- add a patch for the Makefile to make it build everything again
116
117* Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-1
118- update to v0.19 of btrfs-progs for new format
119
120* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-4
121- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
122
123* Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-3
124- updated label patch
125
126* Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-2
127- add a patch to handle having /'s in labels
128
129* Sat Jan 17 2009 Josef Bacik <josef@toxicpanda.com> 0.18-1
130- updated to 0.18 because of the ioctl change in 2.6.29-rc2
131
132* Fri Jan 16 2009 Marek Mahut <mmahut@fedoraproject.org> 0.17-4
133- RHBZ#480219 btrfs-convert is missing
134
135* Mon Jan 12 2009 Josef Bacik <josef@toxicpanda.com> 0.17-2
136- fixed wrong sources upload
137
138* Mon Jan 12 2009 Josef Bacik <josef@toxicpanda.com> 0.17
139- Upstream release 0.17
140
141* Sat Jan 10 2009 Kyle McMartin <kyle@redhat.com> 0.16.git1-1
142- Upstream git sync from -g72359e8 (needed for kernel...)
143
144* Sat Jan 10 2009 Marek Mahut <mmahut@fedoraproject.org> 0.16-1
145- Upstream release 0.16
146
147* Mon Jun 25 2008 Josef Bacik <josef@toxicpanda.com> 0.15-4
148-use fedoras normal CFLAGS
149
150* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-3
151-Actually defined _root_sbindir
152-Fixed the make install line so it would install to the proper dir
153
154* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-2
155-Removed a . at the end of the description
156-Fixed the copyright to be GPLv2 since GPL doesn't work anymore
157
158* Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-1
159-Initial build
Note: See TracBrowser for help on using the repository browser.