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