[521] | 1 | %define name ntfsprogs |
---|
[2196] | 2 | %define ver 2.0.0 |
---|
[521] | 3 | %define rel 1%{?_dist_release} |
---|
| 4 | |
---|
| 5 | Summary: NTFS filesystem libraries and utilities |
---|
| 6 | Summary(ja): NTFS ファイルシステム用ライブラリおよびユーティリティ |
---|
| 7 | Name: %{name} |
---|
| 8 | Version: %{ver} |
---|
| 9 | Release: %{rel} |
---|
[2196] | 10 | Source: http://prdownloads.sf.net/linux-ntfs/ntfsprogs-%{ver}.tar.bz2 |
---|
| 11 | Patch0: ntfsprogs-2.0.0-build-extras-by-default.patch |
---|
| 12 | Patch1: ntfsprogs-2.0.0-mbonly-info.patch |
---|
| 13 | Patch2: ntfsprogs-2.0.0-check_volume.patch |
---|
| 14 | Patch3: ntfsprogs-2.0.0-undelete-segfault-fix.patch |
---|
| 15 | Patch4: ntfsprogs-2.0.0-avoid_crash_on_failed_readall_attr.patch |
---|
| 16 | Patch5: ntfsprogs-2.0.0-implicit-DSO-libgcrypt.patch |
---|
| 17 | |
---|
| 18 | BuildRequires: libuuid-devel |
---|
[521] | 19 | Buildroot: %{_tmppath}/%{name}-root |
---|
| 20 | License: GPL |
---|
| 21 | Group: System Environment/Base |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | The Linux-NTFS project (http://www.linux-ntfs.org/) aims to bring full support |
---|
| 25 | for the NTFS filesystem to the Linux operating system. The ntfsprogs package |
---|
| 26 | currently consists of a static library and utilities such as mkntfs, ntfscat, |
---|
| 27 | ntfsls, ntfsresize, and ntfsundelete (for a full list of included utilities |
---|
| 28 | see man 8 ntfsprogs after installation). |
---|
| 29 | |
---|
| 30 | %package gnomevfs |
---|
| 31 | Summary: NTFS GNOME virtual filesystem module |
---|
| 32 | Group: System Environment/Base |
---|
| 33 | Requires: ntfsprogs = %{ver}-%{rel} |
---|
| 34 | Requires: glib2 gnome-vfs2 |
---|
| 35 | BuildRequires: glib2-devel gnome-vfs2-devel |
---|
| 36 | |
---|
| 37 | %description gnomevfs |
---|
| 38 | This package contains the NTFS GNOME virtual filesystem (VFS) module which |
---|
| 39 | allows 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 |
---|
| 55 | Summary: files required to compile software that uses libntfs |
---|
| 56 | Group: Development/Libraries |
---|
| 57 | Requires: ntfsprogs = %{ver}-%{rel} |
---|
| 58 | |
---|
| 59 | %description devel |
---|
| 60 | This package includes the header files and libraries needed to link software |
---|
| 61 | with libntfs. |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %prep |
---|
| 65 | %setup |
---|
[2196] | 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 |
---|
[521] | 72 | |
---|
| 73 | %build |
---|
[2196] | 74 | autoreconf -if |
---|
[521] | 75 | if [ -n "$LINGUAS" ]; then unset LINGUAS; fi |
---|
[2196] | 76 | %configure --enable-gnome-vfs --disable-static |
---|
| 77 | make %{?_smp_mflags} |
---|
[521] | 78 | |
---|
| 79 | %install |
---|
| 80 | rm -rf "$RPM_BUILD_ROOT" |
---|
| 81 | make DESTDIR="$RPM_BUILD_ROOT" install-strip |
---|
| 82 | |
---|
| 83 | ## remove unuse files |
---|
| 84 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 85 | rm -rf $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.la |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | %clean |
---|
| 89 | rm -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 |
---|
[2196] | 95 | # %{_bindir}/ntfs[^m][^o]* |
---|
| 96 | %{_bindir}/* |
---|
[521] | 97 | %{_sbindir}/* |
---|
| 98 | /sbin/mkfs.ntfs |
---|
| 99 | %{_mandir}/man8/mkntfs.8* |
---|
| 100 | %{_mandir}/man8/mkfs.ntfs.8* |
---|
| 101 | %{_mandir}/man8/ntfs[^m][^o]*.8* |
---|
[2196] | 102 | %{_mandir}/man8/libntfs* |
---|
[521] | 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}/* |
---|
[2196] | 114 | # %{_libdir}/libntfs.*a* |
---|
| 115 | # %{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.*a* |
---|
[521] | 116 | |
---|
| 117 | %changelog |
---|
[2196] | 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 | |
---|
[521] | 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 |
---|
| 199 | default |
---|
| 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 |
---|
| 206 | stripping |
---|
| 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 | |
---|