rpms/ntfsprogs/devel ntfsprogs.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tom Callaway (spot) fedora-extras-commits at redhat.com
Sun Oct 22 03:28:28 UTC 2006


Author: spot

Update of /cvs/extras/rpms/ntfsprogs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30666/devel

Modified Files:
	.cvsignore sources 
Added Files:
	ntfsprogs.spec 
Log Message:
auto-import ntfsprogs-1.13.1-3.fc6 on branch devel from ntfsprogs-1.13.1-3.fc6.src.rpm


--- NEW FILE ntfsprogs.spec ---
Name:		ntfsprogs
Version:	1.13.1
Release:	3%{?dist}
Summary:	NTFS filesystem libraries and utilities
Source0:	http://download.sf.net/linux-ntfs/%{name}-%{version}.tar.gz
License:	GPL
URL:		http://www.linux-ntfs.org/
Group:		System Environment/Base
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	glib2-devel, gnome-vfs2-devel, libtool
BuildRequires:	libgcrypt-devel, gnutls-devel

%description
The Linux-NTFS project (http://www.linux-ntfs.org/) aims to bring full support
for the NTFS filesystem to the Linux operating system.  The ntfsprogs package
currently consists of a 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:	%{name} = %{version}-%{release}
Requires:	glib2, 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 (libntfs).

%package devel
Summary:	Headers and libraries for libntfs
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}

%description devel
This package includes the header files and libraries needed to link software
with the NTFS library (libntfs).

%prep
%setup -q

%build
# If we need to enable the fuse module, we'd change this.
# The ntfs-3g stuff is better than what is here currently, so we'll let people use it.
%configure --enable-gnome-vfs --disable-fuse-module --disable-static --enable-test --enable-crypto
make LIBTOOL=/usr/bin/libtool %{?_smp_mflags}
make LIBTOOL=/usr/bin/libtool %{?_smp_mflags} extra

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
# the extra files have to be manually installed
install -m0755 ntfsprogs/ntfsdump_logfile $RPM_BUILD_ROOT%{_bindir}
install -m0755 ntfsprogs/ntfswipe $RPM_BUILD_ROOT%{_bindir}
install -m0755 ntfsprogs/ntfstruncate $RPM_BUILD_ROOT%{_bindir}
install -m0755 ntfsprogs/ntfsmove $RPM_BUILD_ROOT%{_bindir}
install -m0755 ntfsprogs/ntfsmftalloc $RPM_BUILD_ROOT%{_bindir}
install -m0755 ntfsprogs/ntfsdecrypt $RPM_BUILD_ROOT%{_bindir}

# We're not including ntfsmount, so we don't need the manpages
rm -rf $RPM_BUILD_ROOT%{_mandir}/man8/ntfsmount*

# Libtool files go bye bye
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
rm -rf $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.la

# Clear up symlink confusion by making a copy
rm -rf $RPM_BUILD_ROOT/sbin/mkfs.ntfs
cp -a $RPM_BUILD_ROOT%{_sbindir}/mkntfs $RPM_BUILD_ROOT/sbin/mkfs.ntfs

# runlist isn't really useful
rm -rf $RPM_BUILD_ROOT%{_bindir}/runlist

# Also, these static libs aren't really useful.
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
rm -rf $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.a

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING CREDITS ChangeLog NEWS README TODO.include TODO.libntfs TODO.ntfsprogs 
%doc doc/attribute_definitions doc/attributes.txt doc/compression.txt doc/tunable_settings 
%doc doc/system_files.txt doc/system_security_descriptors.txt
%{_bindir}/*
%{_sbindir}/*
/sbin/mkfs.ntfs
%{_mandir}/man8/mkntfs.8*
%{_mandir}/man8/mkfs.ntfs.8*
%{_mandir}/man8/ntfs[^m][^o]*.8*
%{_libdir}/libntfs.*so.*

%files gnomevfs
%defattr(-,root,root,-)
%{_mandir}/man8/libntfs-gnomevfs.8*
%{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.so*
%config(noreplace) %{_sysconfdir}/gnome-vfs-2.0/modules/libntfs.conf

%files devel
%defattr(-,root,root,-)
%doc doc/CodingStyle doc/template.h doc/template.c
%{_includedir}/*
%{_libdir}/libntfs.so
%{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.so.*

%changelog
* Sat Oct 21 2006 Tom "spot" Callaway <tcallawa at redhat.com> 1.13.1-3
- really fix rpath
- nuke static libs
- build the "extra" files and install them
- get rid of "runlist"

* Sat Oct 21 2006 Tom "spot" Callaway <tcallawa at redhat.com> 1.13.1-2
- enable crypto
- enable test suite
- use system libtool to eliminate rpath for lib64

* Fri Oct 20 2006 Tom "spot" Callaway <tcallawa at redhat.com> 1.13.1-1
- initial release for Fedora, deuglify upstream spec


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ntfsprogs/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	22 Oct 2006 03:27:13 -0000	1.1
+++ .cvsignore	22 Oct 2006 03:27:58 -0000	1.2
@@ -0,0 +1 @@
+ntfsprogs-1.13.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ntfsprogs/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	22 Oct 2006 03:27:13 -0000	1.1
+++ sources	22 Oct 2006 03:27:58 -0000	1.2
@@ -0,0 +1 @@
+23160eb8d34abe3d2a88cd6d054faa47  ntfsprogs-1.13.1.tar.gz




More information about the scm-commits mailing list