[7076] | 1 | %bcond_with externalfuse |
---|
| 2 | |
---|
[521] | 3 | Summary: Linux NTFS userspace driver |
---|
| 4 | Summary(ja): Linux NTFS ユーザ空間ドライバ |
---|
| 5 | Name: ntfs-3g |
---|
[7076] | 6 | |
---|
[9526] | 7 | Version: 2015.3.14 |
---|
[9906] | 8 | Release: 3%{?_dist_release} |
---|
[7076] | 9 | |
---|
[9526] | 10 | License: GPLv2+ |
---|
[521] | 11 | Group: System Environment/Base |
---|
[7076] | 12 | URL: http://www.ntfs-3g.org/ |
---|
| 13 | |
---|
[7478] | 14 | Source0: http://tuxera.com/opensource/%{name}_ntfsprogs-%{version}.tgz |
---|
[521] | 15 | Source1: 20-ntfs-config-write-policy.fdi |
---|
[7076] | 16 | Patch0: ntfs-3g_ntfsprogs-2011.10.9-RC-ntfsck-unsupported-return-0.patch |
---|
| 17 | |
---|
[521] | 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 19 | |
---|
[7076] | 20 | BuildRequires: libtool |
---|
| 21 | BuildRequires: libattr-devel |
---|
| 22 | BuildRequires: libconfig-devel |
---|
| 23 | BuildRequires: libgcrypt-devel |
---|
| 24 | BuildRequires: gnutls-devel |
---|
| 25 | BuildRequires: libuuid-devel |
---|
| 26 | %if %{with externalfuse} |
---|
| 27 | BuildRequires: fuse-devel |
---|
| 28 | Requires: fuse |
---|
| 29 | %endif |
---|
| 30 | |
---|
[521] | 31 | %description |
---|
[9526] | 32 | NTFS-3G is a stable, open source, GPL licensed, POSIX, read/write NTFS |
---|
| 33 | driver for Linux and many other operating systems. It provides safe |
---|
| 34 | handling of the Windows XP, Windows Server 2003, Windows 2000, Windows |
---|
| 35 | Vista, Windows Server 2008 and Windows 7 NTFS file systems. NTFS-3G can |
---|
| 36 | create, remove, rename, move files, directories, hard links, and streams; |
---|
| 37 | it can read and write normal and transparently compressed files, including |
---|
| 38 | streams and sparse files; it can handle special files like symbolic links, |
---|
| 39 | devices, and FIFOs, ACL, extended attributes; moreover it provides full |
---|
| 40 | file access right and ownership support. |
---|
[521] | 41 | |
---|
| 42 | %package devel |
---|
| 43 | Summary: Development files and libraries for ntfs-3g |
---|
| 44 | Summary(ja): ntfs-3g の開発ファイルとライブラリ |
---|
| 45 | Group: Development/Libraries |
---|
| 46 | Requires: %{name} = %{version}-%{release} |
---|
[9526] | 47 | Requires: pkgconfig |
---|
[7076] | 48 | Provides: ntfsprogs-devel = %{version}-%{release} |
---|
| 49 | Obsoletes: ntfsprogs-devel < 2.0.0-3 |
---|
[521] | 50 | |
---|
| 51 | %description devel |
---|
| 52 | Headers and libraries for developing applications that use ntfs-3g |
---|
| 53 | functionality. |
---|
| 54 | |
---|
[7076] | 55 | %package -n ntfsprogs |
---|
| 56 | Summary: NTFS filesystem libraries and utilities |
---|
| 57 | Summary(ja): NTFS ファイルシステム用ライブラリおよびユーティリティ |
---|
| 58 | Group: System Environment/Base |
---|
| 59 | Provides: ntfsprogs-gnomevfs = %{version}-%{release} |
---|
| 60 | Obsoletes: ntfsprogs-gnomevfs < 2.0.0-3 |
---|
| 61 | |
---|
| 62 | %description -n ntfsprogs |
---|
| 63 | The ntfsprogs package currently consists of a library and utilities |
---|
| 64 | such as mkntfs, ntfscat, ntfsls, ntfsresize, and ntfsundelete |
---|
| 65 | (for a full list of included utilities see man 8 ntfsprogs after |
---|
| 66 | installation). |
---|
| 67 | |
---|
| 68 | |
---|
[521] | 69 | %prep |
---|
[7076] | 70 | %setup -q -n %{name}_ntfsprogs-%{version} |
---|
| 71 | %patch0 -p1 -b .unsupported |
---|
[521] | 72 | |
---|
| 73 | %build |
---|
[7076] | 74 | %configure --disable-static \ |
---|
| 75 | --disable-ldconfig \ |
---|
| 76 | %{?with_ externalfuse:--with-fuse=external} \ |
---|
[521] | 77 | --exec-prefix=/ \ |
---|
[9550] | 78 | --bindir=/bin \ |
---|
| 79 | --sbindir=/sbin \ |
---|
| 80 | --libdir=/%{_lib} \ |
---|
[7076] | 81 | --enable-crypto \ |
---|
[9526] | 82 | --enable-extras \ |
---|
| 83 | --enable-quarantined |
---|
| 84 | |
---|
[7076] | 85 | make %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool |
---|
[521] | 86 | |
---|
| 87 | %install |
---|
| 88 | rm -rf $RPM_BUILD_ROOT |
---|
[7076] | 89 | make DESTDIR=$RPM_BUILD_ROOT LIBTOOL=%{_bindir}/libtool install |
---|
[9550] | 90 | |
---|
[7076] | 91 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a} |
---|
[9550] | 92 | rm -f $RPM_BUILD_ROOT/%{_lib}/libntfs-3g.{la,a} |
---|
[521] | 93 | |
---|
[9550] | 94 | mkdir -p $RPM_BUILD_ROOT/sbin |
---|
[521] | 95 | |
---|
[9550] | 96 | # make the symlink an actual copy to avoid confusion |
---|
| 97 | rm -rf $RPM_BUILD_ROOT/sbin/mount.ntfs-3g |
---|
| 98 | cp -a $RPM_BUILD_ROOT/bin/ntfs-3g $RPM_BUILD_ROOT/sbin/mount.ntfs-3g |
---|
| 99 | |
---|
[521] | 100 | # make compatibility symlinks |
---|
[9550] | 101 | ln -s ntfs-3g $RPM_BUILD_ROOT/bin/ntfsmount |
---|
| 102 | ln -s mount.ntfs-3g $RPM_BUILD_ROOT/sbin/mount.ntfs-fuse |
---|
| 103 | ln -s mount.ntfs-3g $RPM_BUILD_ROOT/sbin/mount.ntfs |
---|
| 104 | ln -s ../bin/ntfsck $RPM_BUILD_ROOT/sbin/fsck.ntfs |
---|
| 105 | mkdir -p $RPM_BUILD_ROOT%{_bindir} |
---|
| 106 | ln -s /bin/ntfs-3g $RPM_BUILD_ROOT%{_bindir}/ntfs-3g |
---|
| 107 | ln -s /bin/ntfsmount $RPM_BUILD_ROOT%{_bindir}/ntfsmount |
---|
[521] | 108 | |
---|
[9550] | 109 | # Put the .pc file in the right place. |
---|
| 110 | mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ |
---|
| 111 | mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig/libntfs-3g.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ |
---|
[521] | 112 | |
---|
[9526] | 113 | # We get this on our own, thanks. |
---|
| 114 | rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/README |
---|
[7076] | 115 | |
---|
[521] | 116 | %clean |
---|
| 117 | rm -rf $RPM_BUILD_ROOT |
---|
| 118 | |
---|
| 119 | %post -p /sbin/ldconfig |
---|
| 120 | |
---|
| 121 | %postun -p /sbin/ldconfig |
---|
| 122 | |
---|
| 123 | %files |
---|
| 124 | %defattr(-,root,root,-) |
---|
| 125 | %doc AUTHORS ChangeLog COPYING CREDITS NEWS README |
---|
[9550] | 126 | /sbin/mount.ntfs |
---|
| 127 | %attr(4754,root,root) /sbin/mount.ntfs-3g |
---|
| 128 | /sbin/mount.ntfs-fuse |
---|
| 129 | /sbin/mount.lowntfs-3g |
---|
| 130 | /bin/lowntfs-3g |
---|
| 131 | /bin/ntfs-3g |
---|
| 132 | /bin/ntfs-3g.probe |
---|
| 133 | /bin/ntfs-3g.secaudit |
---|
| 134 | /bin/ntfs-3g.usermap |
---|
| 135 | /bin/ntfsmount |
---|
[521] | 136 | %{_bindir}/ntfs-3g |
---|
| 137 | %{_bindir}/ntfsmount |
---|
[9550] | 138 | /%{_lib}/libntfs-3g.so.* |
---|
[7076] | 139 | %{_mandir}/man8/mount.lowntfs-3g.* |
---|
| 140 | %{_mandir}/man8/mount.ntfs-3g.* |
---|
| 141 | %{_mandir}/man8/ntfs-3g* |
---|
[521] | 142 | |
---|
| 143 | %files devel |
---|
| 144 | %defattr(-,root,root,-) |
---|
| 145 | %{_includedir}/ntfs-3g/ |
---|
[9550] | 146 | /%{_lib}/libntfs-3g.so |
---|
[521] | 147 | %{_libdir}/pkgconfig/*.pc |
---|
| 148 | |
---|
[7076] | 149 | %files -n ntfsprogs |
---|
| 150 | %doc AUTHORS COPYING CREDITS ChangeLog NEWS README |
---|
[9550] | 151 | /bin/ntfscat |
---|
| 152 | /bin/ntfscluster |
---|
| 153 | /bin/ntfscmp |
---|
| 154 | /bin/ntfsfix |
---|
| 155 | /bin/ntfsinfo |
---|
| 156 | /bin/ntfsls |
---|
[7076] | 157 | # extras |
---|
[9550] | 158 | /bin/ntfsck |
---|
| 159 | /bin/ntfsdecrypt |
---|
| 160 | /bin/ntfsdump_logfile |
---|
| 161 | /bin/ntfsfallocate |
---|
| 162 | /bin/ntfsmftalloc |
---|
| 163 | /bin/ntfsmove |
---|
| 164 | /bin/ntfstruncate |
---|
| 165 | /bin/ntfswipe |
---|
| 166 | /sbin/fsck.ntfs |
---|
| 167 | /sbin/mkfs.ntfs |
---|
| 168 | /sbin/mkntfs |
---|
| 169 | /sbin/ntfsclone |
---|
| 170 | /sbin/ntfscp |
---|
| 171 | /sbin/ntfslabel |
---|
| 172 | /sbin/ntfsresize |
---|
| 173 | /sbin/ntfsundelete |
---|
[7076] | 174 | %{_mandir}/man8/mkntfs.8* |
---|
| 175 | %{_mandir}/man8/mkfs.ntfs.8* |
---|
| 176 | %{_mandir}/man8/ntfs[^m][^o]*.8* |
---|
[9526] | 177 | %exclude %{_mandir}/man8/ntfs-3g* |
---|
[7076] | 178 | |
---|
[521] | 179 | %changelog |
---|
[9906] | 180 | * Wed Dec 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2015.3.14-3 |
---|
| 181 | - rebuilt with gnutls-3.4.x. |
---|
| 182 | |
---|
[9550] | 183 | * Fri May 8 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2015.3.14-2 |
---|
| 184 | - reverted file location <Vine Linux:2914> |
---|
| 185 | |
---|
[9526] | 186 | * Fri Apr 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2015.3.14-1 |
---|
| 187 | - new upstream release |
---|
| 188 | - dropt hal files, since hal is very old |
---|
| 189 | |
---|
[8285] | 190 | * Sun Mar 02 2014 NAKAMURA Kenta <kenta@vinelinux.org> 2014.2.15-1 |
---|
| 191 | - new upstream release |
---|
| 192 | |
---|
[8283] | 193 | * Wed Feb 19 2014 NAKAMURA Kenta <kenta@vinelinux.org> 2013.1.13-2 |
---|
| 194 | - rebuilt with gnutls-3.2 and libgcrypt-1.6 |
---|
| 195 | |
---|
[7478] | 196 | * Tue Feb 19 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2013.1.13-1 |
---|
| 197 | - new upstream release |
---|
| 198 | |
---|
[7076] | 199 | * Mon Nov 05 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2012.1.15-1 |
---|
| 200 | - new upstream release |
---|
| 201 | - merge ntfsprogs |
---|
| 202 | - add Obsoletes and Provides ntfsprogs* |
---|
| 203 | - add BR: for ntfsprogs |
---|
| 204 | |
---|
[2782] | 205 | * Sat Feb 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2011.1.15-1 |
---|
| 206 | - new upstream release |
---|
| 207 | - fix %%files (add lowntfs-3g) |
---|
| 208 | |
---|
[521] | 209 | * Mon Jun 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2009.4.4-1 |
---|
| 210 | - new upstream release |
---|
| 211 | - use internal fuse-lite, remove BR: fuse-devel and R: fuse |
---|
| 212 | - move binaries to /bin |
---|
| 213 | - move libraries to /%%{_lib} |
---|
| 214 | - add fdi file to enable hal automounting |
---|
| 215 | |
---|
| 216 | * Sun Jan 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2009.1.1-1 |
---|
| 217 | - new upstream release |
---|
| 218 | |
---|
| 219 | * Sun Aug 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2812-1 |
---|
| 220 | - new upstream release |
---|
| 221 | |
---|
| 222 | * Fri Jul 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2712-1 |
---|
| 223 | - new upstream release |
---|
| 224 | |
---|
| 225 | * Thu Apr 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2412-1 |
---|
| 226 | - new upstream release |
---|
| 227 | |
---|
| 228 | * Tue Jun 05 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.516-0vl1 |
---|
| 229 | - initial build for Vine Linux |
---|
| 230 | |
---|
| 231 | * Tue May 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.516-1 |
---|
| 232 | - bump to 1.516 |
---|
| 233 | - fix bugzilla 232031 |
---|
| 234 | |
---|
| 235 | * Sun Apr 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.417-1 |
---|
| 236 | - bump to 1.417 |
---|
| 237 | |
---|
| 238 | * Sun Apr 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.416-1 |
---|
| 239 | - bump to 1.416 |
---|
| 240 | - drop patch0, upstreamed |
---|
| 241 | |
---|
| 242 | * Wed Apr 4 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.328-2 |
---|
| 243 | - allow non-root users to mount/umount ntfs volumes (Laszlo Dvornik) |
---|
| 244 | |
---|
| 245 | * Sat Mar 31 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.328-1 |
---|
| 246 | - bump to 1.328 |
---|
| 247 | - drop patch, use --disable-ldconfig instead |
---|
| 248 | |
---|
| 249 | * Wed Feb 21 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.0-1 |
---|
| 250 | - 1.0 release! |
---|
| 251 | |
---|
| 252 | * Fri Jan 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:0-0.9.20070118 |
---|
| 253 | - symlink to mount.ntfs |
---|
| 254 | |
---|
| 255 | * Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:0-0.8.20070118 |
---|
| 256 | - bump to 20070118 |
---|
| 257 | |
---|
| 258 | * Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:0-0.7.20070116 |
---|
| 259 | - bump to latest version for all active dists |
---|
| 260 | |
---|
| 261 | * Wed Jan 3 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.6.20070102 |
---|
| 262 | - bump to latest version (note that upstream fixed their date mistake) |
---|
| 263 | |
---|
| 264 | * Wed Nov 1 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.5.20070920 |
---|
| 265 | - add an obsoletes for ntfsprogs-fuse |
---|
| 266 | - make some convenience symlinks |
---|
| 267 | |
---|
| 268 | * Wed Oct 25 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.4.20070920 |
---|
| 269 | - add some extra Provides |
---|
| 270 | |
---|
| 271 | * Mon Oct 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.3.20070920 |
---|
| 272 | - add explicit Requires on fuse |
---|
| 273 | |
---|
| 274 | * Mon Oct 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.2.20070920 |
---|
| 275 | - fixed versioning (bumped epoch, since it now shows as older) |
---|
| 276 | - change sbin symlink to actual copy to be safe |
---|
| 277 | |
---|
| 278 | * Sun Oct 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.1.20070920-1 |
---|
| 279 | - Initial package for Fedora Extras |
---|