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