http://linux-ntfs.sourceforge.net/snapshots/ntfsprogs-200309071734.tar.bz2
[ntfsprogs.git] / ntfsprogs.spec.in
1 %define name    @PACKAGE@
2 %define ver     @VERSION@
3 %define rel     1
4 %define prefix  /usr
5 %define bindir  /usr/bin
6 %define sbindir /usr/sbin
7 %define mandir  /usr/share/man
8
9
10 Summary         : NTFS filesystem libraries and utilities
11 Name            : %{name}
12 Version         : %{ver}
13 Release         : %{rel}
14 Source          : http://prdownloads.sf.net/linux-ntfs/ntfsprogs-%{ver}.tar.gz
15 Buildroot       : %{_tmppath}/%{name}-root
16 Packager        : Anton Altaparmakov <aia21@cantab.net>
17 License         : GPL
18 Group           : System Environment/Base
19 %description
20 The Linux-NTFS project (http://linux-ntfs.sf.net/) aims to bring full support
21 for the NTFS filesystem to the Linux operating system. Linux-NTFS currently
22 consists of a static library and utilities. This package contains the following
23 utilities:
24         NtfsFix - Attempt to fix an NTFS partition that has been damaged by the
25 Linux NTFS driver. It should be run every time after you have used the Linux
26 NTFS driver to write to an NTFS partition to prevent massive data corruption
27 from happening when Windows mounts the partition.
28 IMPORTANT: Run this only *after* unmounting the partition in Linux but *before*
29 rebooting into Windows NT/2000! See man 8 ntfsfix for details.
30         mkntfs - Format a partition with the NTFS filesystem. See man 8 mkntfs
31 for command line options.
32         ntfslabel - Display/change the label of an NTFS partition. See man 8
33 ntfslabel for details.
34         ntfsundelete - Recover deleted files from an NTFS volume.  See man 8
35 ntfsundelete for details.
36         ntfsresize - Resize an NTFS volume. See man 8 ntfsresize for details.
37
38 %package devel
39 Summary         : files required to compile software that uses libntfs
40 Group           : Development/System
41 Requires        : ntfsprogs = %{ver}-%{rel}
42 %description devel
43 This package includes the header files and libraries needed to link software
44 with libntfs.
45
46
47 %prep
48 %setup
49
50 %build
51 if [ -n "$LINGUAS" ]; then unset LINGUAS; fi
52 %configure
53 make
54
55
56 %install
57 rm -rf "$RPM_BUILD_ROOT"
58 make DESTDIR="$RPM_BUILD_ROOT" install-strip
59
60
61 %clean
62 rm -rf "$RPM_BUILD_ROOT"
63
64
65 %files
66 %defattr(-,root,root)
67 %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
68 %{bindir}/*
69 %{sbindir}/*
70 %{mandir}/*/*
71 %{prefix}/lib/*.so*
72
73
74 %files devel
75 %defattr(-,root,root)
76 %{prefix}/include/*
77 %{prefix}/lib/*.a*
78 %{prefix}/lib/*.la*
79
80 %changelog
81 * Sat Jan 18 2003 Anton Altaparmakov <aia21@cantab.net>
82 - renamed to ntfsprogs.spec.in
83 - change source tar ball name to ntfsprogs
84
85 * Tue Dec 10 2002 Anton Altaparmakov <aia21@cantab.net>
86 - added ntfsresize
87
88 * Wed Jul 18 2002 Richard Russon <ntfs@flatcap.org>
89 - added ntfsundelete
90 - change TODO names
91
92 * Wed Jul 3 2002 Anton Altaparmakov <aia21@cantab.net>
93 - update my email address
94
95 * Mon Jun 3 2002 Anton Altaparmakov <aia21@cam.ac.uk>
96 - update %doc with new TODO files
97
98 * Tue Apr 12 2002 Anton Altaparmakov <aia21@cam.ac.uk>
99 - update %description text for ntfslabel
100
101 * Tue Mar 12 2002 Anton Altaparmakov <aia21@cam.ac.uk>
102 - update %description text
103
104 * Sat Jan 26 2002 Anton Altaparmakov <aia21@cam.ac.uk>
105 - update %description text
106 - make dependencies pick the right version automatically
107
108 * Thu Jan 10 2002 Anton Altaparmakov <aia21@cam.ac.uk>
109 - add dependency on linux-ntfs to linux-ntfs-devel
110 - update %description text
111
112 * Fri Nov 09 2001 Anton Altaparmakov <aia21@cam.ac.uk>
113 - update %description text
114 - (re)enable installation of shared libraries
115
116 * Wed Aug 22 2001 Anton Altaparmakov <aia21@cam.ac.uk>
117 - update %description text
118
119 * Thu Aug 2 2001 Anton Altaparmakov <aia21@cam.ac.uk>
120 - update %description text
121
122 * Wed Jul 25 2001 Anton Altaparmakov <aia21@cam.ac.uk>
123 - include sbin install path (mkntfs now is in sbin)
124
125 * Tue Jul 24 2001 Anton Altaparmakov <aia21@cam.ac.uk>
126 - update %description text
127
128 * Mon Jun 11 2001 Anton Altaparmakov <aia21@cam.ac.uk>
129 - remove duplicate %configure options
130 - remove shared library installation as shared libraries are disabled by
131 default
132
133 * Sun Jun 10 2001 Anton Altaparmakov <aia21@cam.ac.uk>
134 - add man pages stuff
135 - update info text
136 - add new doc/ stuff
137 - modify installation to do install-strip instead of install followed by manual
138 stripping
139 - update download URL to be the fast sourceforge http download server
140
141 * Fri Feb 2 2001 Anton Altaparmakov <aia21@cam.ac.uk>
142 - started changelog
143