source: projects/specs/branches/6/n/ntfsprogs/ntfsprogs-vl.spec @ 2278

Revision 2278, 6.8 KB checked in by Takemikaduchi, 13 years ago (diff)

pyparted:rebuild with parted-2.3, others:add BuildRequires?

Line 
1%define name    ntfsprogs
2%define ver     2.0.0
3%define rel     2%{?_dist_release}
4
5Summary: NTFS filesystem libraries and utilities
6Summary(ja): NTFS ファイルシステム用ライブラリおよびユーティリティ
7Name:      %{name}
8Version:   %{ver}
9Release:   %{rel}
10Source:    http://prdownloads.sf.net/linux-ntfs/ntfsprogs-%{ver}.tar.bz2
11Patch0:         ntfsprogs-2.0.0-build-extras-by-default.patch
12Patch1:         ntfsprogs-2.0.0-mbonly-info.patch
13Patch2:         ntfsprogs-2.0.0-check_volume.patch
14Patch3:         ntfsprogs-2.0.0-undelete-segfault-fix.patch
15Patch4:         ntfsprogs-2.0.0-avoid_crash_on_failed_readall_attr.patch
16Patch5:         ntfsprogs-2.0.0-implicit-DSO-libgcrypt.patch
17
18BuildRequires: libuuid-devel
19BuildRequires: libgcrypt-devel
20Buildroot: %{_tmppath}/%{name}-root
21License:   GPL
22Group:     System Environment/Base
23
24%description
25The Linux-NTFS project (http://www.linux-ntfs.org/) aims to bring full support
26for the NTFS filesystem to the Linux operating system.  The ntfsprogs package
27currently consists of a static library and utilities such as mkntfs, ntfscat,
28ntfsls, ntfsresize, and ntfsundelete (for a full list of included utilities
29see man 8 ntfsprogs after installation).
30
31%package gnomevfs
32Summary: NTFS GNOME virtual filesystem module
33Group: System Environment/Base
34Requires: ntfsprogs = %{ver}-%{rel}
35Requires: glib2 gnome-vfs2
36BuildRequires: glib2-devel gnome-vfs2-devel
37
38%description gnomevfs
39This package contains the NTFS GNOME virtual filesystem (VFS) module which
40allows GNOME VFS clients to seamlessly utilize the NTFS library (libntfs).
41
42#%package fuse
43#Summary: NTFS FUSE module (ntfsmount)
44#Group: System Environment/Base
45#Requires: ntfsprogs = %{ver}-%{rel}
46#Requires: fuse >= 2.3.0
47#
48#%description fuse
49#This package contains the ntfsmount utility which is an NTFS filesystem in
50#userspace (FUSE) module allowing users to mount an ntfs filesystem from
51#userspace and accessing it using the functionality provided by the NTFS
52#library (libntfs).
53
54
55%package devel
56Summary: files required to compile software that uses libntfs
57Group: Development/Libraries
58Requires: ntfsprogs = %{ver}-%{rel}
59
60%description devel
61This package includes the header files and libraries needed to link software
62with libntfs.
63
64
65%prep
66%setup
67%patch0 -p1
68%patch1 -p1
69%patch2 -p1 -b .check_volume
70%patch3 -p1 -b .undelete-segfault-fix
71%patch4 -p1 -b .avoid_crash_on_failed_readall_attr
72%patch5 -p1 -b .DSO
73
74%build
75autoreconf -if
76if [ -n "$LINGUAS" ]; then unset LINGUAS; fi
77%configure --enable-gnome-vfs --disable-static
78make %{?_smp_mflags}
79
80%install
81rm -rf "$RPM_BUILD_ROOT"
82make DESTDIR="$RPM_BUILD_ROOT" install-strip
83
84## remove unuse files
85rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
86rm -rf $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.la
87
88
89%clean
90rm -rf "$RPM_BUILD_ROOT"
91
92
93%files
94%defattr(-,root,root)
95%doc AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README TODO.include TODO.libntfs TODO.ntfsprogs doc/CodingStyle doc/attribute_definitions doc/attributes.txt doc/compression.txt doc/tunable_settings doc/template.c doc/template.h doc/system_files.txt doc/system_security_descriptors.txt
96# %{_bindir}/ntfs[^m][^o]*
97%{_bindir}/*
98%{_sbindir}/*
99/sbin/mkfs.ntfs
100%{_mandir}/man8/mkntfs.8*
101%{_mandir}/man8/mkfs.ntfs.8*
102%{_mandir}/man8/ntfs[^m][^o]*.8*
103%{_mandir}/man8/libntfs*
104%{_libdir}/libntfs.*so*
105
106%files gnomevfs
107%defattr(-,root,root)
108%{_mandir}/man8/libntfs-gnomevfs.8*
109%{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.*so*
110%config %{_sysconfdir}/gnome-vfs-2.0/modules/libntfs.conf
111
112%files devel
113%defattr(-,root,root)
114%{_includedir}/*
115# %{_libdir}/libntfs.*a*
116# %{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.*a*
117
118%changelog
119* Sat Dec 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.0-2
120- add BuildRequires: libgcrypt-devel
121
122* Wed Nov 10 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.0-1
123- new upstream release
124- remove *.a files from -devel pkg
125- fix files list
126
127* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.13.0-1vl5
128- applied new versioning policy, spec in utf-8
129- removed *.la
130
131* Sat Apr 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.13.0-0vl1
132- added gnomevfs module
133- updated to 1.13.0
134  * Fri Oct 7 2005 Anton Altaparmakov <aia21@cantab.net>
135  - Fix the file distribution after new binaries have been added as they were
136    ending up in the wrong rpms.
137  * Mon Aug 15 2005 Szabolcs Szakacsits <szaka@sienet.hu>
138  - Add mkfs.ntfs.
139  * Wed Mar 10 2004 Anton Altaparmakov <aia21@cantab.net>
140  - Cleanup descriptions ready for 1.9.0 release.
141  * Mon Jan 19 2004 Anton Altaparmakov <aia21@cantab.net>
142  - Add %config to tell rpm that libntfs.conf is a config file.
143  * Thu Nov 6 2003 Anton Altaparmakov <aia21@cantab.net>
144  - merge libntfs-gnomevfs
145  * Fri Oct 19 2003 Richard Russon <ntfs@flatcap.org>
146  - added the new utility ntfscat
147  * Tue Sep 30 2003 Anton Altaparmakov <aia21@cantab.net>
148  - added the new utilities, ntfsclone, ntfscluster, ntfsinfo, ntfsls.
149
150* Thu Jul 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.1-0vl1
151- initial build for Vine Linux
152
153* Sat Jan 18 2003 Anton Altaparmakov <aia21@cantab.net>
154- renamed to ntfsprogs.spec.in
155- change source tar ball name to ntfsprogs
156
157* Tue Dec 10 2002 Anton Altaparmakov <aia21@cantab.net>
158- added ntfsresize
159
160* Wed Jul 18 2002 Richard Russon <ntfs@flatcap.org>
161- added ntfsundelete
162- change TODO names
163
164* Wed Jul 3 2002 Anton Altaparmakov <aia21@cantab.net>
165- update my email address
166
167* Mon Jun 3 2002 Anton Altaparmakov <aia21@cam.ac.uk>
168- update %doc with new TODO files
169
170* Tue Apr 12 2002 Anton Altaparmakov <aia21@cam.ac.uk>
171- update %description text for ntfslabel
172
173* Tue Mar 12 2002 Anton Altaparmakov <aia21@cam.ac.uk>
174- update %description text
175
176* Sat Jan 26 2002 Anton Altaparmakov <aia21@cam.ac.uk>
177- update %description text
178- make dependencies pick the right version automatically
179
180* Thu Jan 10 2002 Anton Altaparmakov <aia21@cam.ac.uk>
181- add dependency on linux-ntfs to linux-ntfs-devel
182- update %description text
183
184* Fri Nov 09 2001 Anton Altaparmakov <aia21@cam.ac.uk>
185- update %description text
186- (re)enable installation of shared libraries
187
188* Wed Aug 22 2001 Anton Altaparmakov <aia21@cam.ac.uk>
189- update %description text
190
191* Thu Aug 2 2001 Anton Altaparmakov <aia21@cam.ac.uk>
192- update %description text
193
194* Wed Jul 25 2001 Anton Altaparmakov <aia21@cam.ac.uk>
195- include sbin install path (mkntfs now is in sbin)
196
197* Tue Jul 24 2001 Anton Altaparmakov <aia21@cam.ac.uk>
198- update %description text
199
200* Mon Jun 11 2001 Anton Altaparmakov <aia21@cam.ac.uk>
201- remove duplicate %configure options
202- remove shared library installation as shared libraries are disabled by
203default
204
205* Sun Jun 10 2001 Anton Altaparmakov <aia21@cam.ac.uk>
206- add man pages stuff
207- update info text
208- add new doc/ stuff
209- modify installation to do install-strip instead of install followed by manual
210stripping
211- update download URL to be the fast sourceforge http download server
212
213* Fri Feb 2 2001 Anton Altaparmakov <aia21@cam.ac.uk>
214- started changelog
215
Note: See TracBrowser for help on using the repository browser.