source: projects/specs/trunk/n/ntfsprogs/ntfsprogs-vl.spec @ 2196

Revision 2196, 6.6 KB checked in by iwamoto, 13 years ago (diff)

ntfsprogs: new upstream release

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