ntfs-3g/ntfsprogs.spec.in
2003-11-07 18:25:26 +00:00

172 lines
4.7 KiB
RPMSpec

%define name @PACKAGE@
%define ver @VERSION@
%define rel 1
%define prefix /usr
%define bindir /usr/bin
%define sbindir /usr/sbin
%define mandir /usr/share/man
Summary : NTFS filesystem libraries and utilities
Name : %{name}
Version : %{ver}
Release : %{rel}
Source : http://prdownloads.sf.net/linux-ntfs/ntfsprogs-%{ver}.tar.gz
Buildroot : %{_tmppath}/%{name}-root
Packager : Anton Altaparmakov <aia21@cantab.net>
License : GPL
Group : System Environment/Base
%description
The Linux-NTFS project (http://linux-ntfs.sf.net/) aims to bring full support
for the NTFS filesystem to the Linux operating system. Linux-NTFS currently
consists of a static library and utilities such as mkntfs, ntfscat, ntfsls,
ntfsresize, and ntfsundelete (for a full list of included utilities see man
8 ntfsprogs after installation).
%package gnomevfs
Summary : NTFS GNOME virtual filesystem module
Group : System Environment/Base
Requires : ntfsprogs = %{ver}-%{rel}
BuildRequires : glib2-devel
Requires : glib2
BuildRequires : gnome-vfs2-devel
Requires : gnome-vfs2
%description gnomevfs
This package contains the NTFS GNOME virtual filesystem (VFS) module which
allows GNOME VFS clients to seamlessly utilize the NTFS library.
%package devel
Summary : files required to compile software that uses libntfs
Group : Development/System
Requires : ntfsprogs = %{ver}-%{rel}
%description devel
This package includes the header files and libraries needed to link software
with libntfs.
%prep
%setup
%build
if [ -n "$LINGUAS" ]; then unset LINGUAS; fi
%configure --enable-gnome-vfs
make
%install
rm -rf "$RPM_BUILD_ROOT"
make DESTDIR="$RPM_BUILD_ROOT" install-strip
%clean
rm -rf "$RPM_BUILD_ROOT"
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%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
%{bindir}/*
%{sbindir}/*
%{mandir}/man8/mkntfs.8*
%{mandir}/man8/ntfs*.8*
%{_libdir}/libntfs.*so*
%files gnomevfs
%defattr(-,root,root)
%{mandir}/man8/libntfs-gnomevfs.8*
%{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.*so*
%{_sysconfdir}/gnome-vfs-2.0/modules/libntfs.conf
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/libntfs.*a*
%{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.*a*
%changelog
* Thu Nov 6 2003 Anton Altaparmakov <aia21@cantab.net>
- update description (it was getting too long)
- merge libntfs-gnomevfs
* Fri Oct 19 2003 Richard Russon <ntfs@flatcap.org>
- added the new utility ntfscat
* Tue Sep 30 2003 Anton Altaparmakov <aia21@cantab.net>
- added the new utilities, ntfsclone, ntfscluster, ntfsinfo, ntfsls.
* Sat Jan 18 2003 Anton Altaparmakov <aia21@cantab.net>
- renamed to ntfsprogs.spec.in
- change source tar ball name to ntfsprogs
* Tue Dec 10 2002 Anton Altaparmakov <aia21@cantab.net>
- added ntfsresize
* Wed Jul 18 2002 Richard Russon <ntfs@flatcap.org>
- added ntfsundelete
- change TODO names
* Wed Jul 3 2002 Anton Altaparmakov <aia21@cantab.net>
- update my email address
* Mon Jun 3 2002 Anton Altaparmakov <aia21@cam.ac.uk>
- update %doc with new TODO files
* Tue Apr 12 2002 Anton Altaparmakov <aia21@cam.ac.uk>
- update %description text for ntfslabel
* Tue Mar 12 2002 Anton Altaparmakov <aia21@cam.ac.uk>
- update %description text
* Sat Jan 26 2002 Anton Altaparmakov <aia21@cam.ac.uk>
- update %description text
- make dependencies pick the right version automatically
* Thu Jan 10 2002 Anton Altaparmakov <aia21@cam.ac.uk>
- add dependency on linux-ntfs to linux-ntfs-devel
- update %description text
* Fri Nov 09 2001 Anton Altaparmakov <aia21@cam.ac.uk>
- update %description text
- (re)enable installation of shared libraries
* Wed Aug 22 2001 Anton Altaparmakov <aia21@cam.ac.uk>
- update %description text
* Thu Aug 2 2001 Anton Altaparmakov <aia21@cam.ac.uk>
- update %description text
* Wed Jul 25 2001 Anton Altaparmakov <aia21@cam.ac.uk>
- include sbin install path (mkntfs now is in sbin)
* Tue Jul 24 2001 Anton Altaparmakov <aia21@cam.ac.uk>
- update %description text
* Mon Jun 11 2001 Anton Altaparmakov <aia21@cam.ac.uk>
- remove duplicate %configure options
- remove shared library installation as shared libraries are disabled by
default
* Sun Jun 10 2001 Anton Altaparmakov <aia21@cam.ac.uk>
- add man pages stuff
- update info text
- add new doc/ stuff
- modify installation to do install-strip instead of install followed by manual
stripping
- update download URL to be the fast sourceforge http download server
* Fri Feb 2 2001 Anton Altaparmakov <aia21@cam.ac.uk>
- started changelog