Changes by: antona
Update of /cvsroot/linux-ntfs/linux-ntfs
In directory usw-pr-cvs1:/tmp/cvs-serv6403
Modified Files:
Makefile.am Makefile.in config.h.in configure configure.in
stamp-h.in
Added Files:
acconfig.h autogen.sh linux-ntfs.spec.in
Removed Files:
config.log
Log Message:
More files.
--- NEW FILE ---
#undef DEBUG
--- NEW FILE ---
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
DIE=0
if test x$srcdir = x; then
srcdir=.
fi
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`autoconf' installed to compile Linux-NTFS."
echo "Download the appropriate package for your distribution,"
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE=1
}
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
(libtool --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`libtool' installed to compile Linux-NTFS."
echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
}
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`automake' installed to compile Linux-NTFS."
echo "Get ftp://ftp.gnu.org/pub/gnu/automake/automake-1.3.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
NO_AUTOMAKE=yes
}
# if no automake, don't bother testing for aclocal
test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: Missing \`aclocal'. The version of \`automake'"
echo "installed doesn't appear recent enough."
echo "Get ftp://ftp.gnu.org/pub/gnu/automake/automake-1.3.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
if test "$DIE" -eq 1; then
exit 1
fi
if test -z "$*"; then
echo "**Warning**: I am going to run \`configure' with no arguments."
echo "If you wish to pass any to it, please specify them on the"
echo \`$0\'" command line."
echo
fi
case $CC in
xlc )
am_opt=--include-deps;;
esac
for coin in `find $srcdir -name configure.in -print`
do
dr=`dirname $coin`
if test -f $dr/NO-AUTO-GEN; then
echo skipping $dr -- flagged as no auto-gen
else
echo processing $dr
macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $coin`
( cd $dr
macrosdir=`find . -name macros -print`
aclocalinclude="$ACLOCAL_FLAGS"
for k in $macrodirs; do
if test -d $k; then
aclocalinclude="$aclocalinclude -I $k"
fi
done
if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
if test -z "$NO_LIBTOOLIZE" ; then
echo "Running libtoolize..."
libtoolize --force --copy
fi
fi
echo "Running aclocal $aclocalinclude ..."
aclocal $aclocalinclude || {
echo
echo "**Error**: aclocal failed. This may mean that you have not"
echo "installed all of the packages you need, or you may need to"
echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\""
echo "for the prefix where you installed the packages whose"
echo "macros were not found"
exit 1
}
if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
echo "Running autoheader..."
autoheader || { echo "**Error**: autoheader failed."; exit 1; }
fi
echo "Running automake --gnu $am_opt ..."
automake --add-missing --gnu $am_opt ||
{ echo "**Error**: automake failed."; exit 1; }
echo "Running autoconf ..."
autoconf || { echo "**Error**: autoconf failed."; exit 1; }
) || exit 1
fi
done
conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
if test x$NOCONFIGURE = x; then
echo Running $srcdir/configure $conf_flags "$@" ...
$srcdir/configure $conf_flags "$@" \
&& echo Now type \`make\' to compile $PKG_NAME || exit 1
else
echo Skipping configure process.
fi
--- NEW FILE ---
%define name @PACKAGE@
%define ver @VERSION@
%define rel 1
%define prefix /usr
%define bindir /usr/bin
#%define mandir /usr/share/man
Summary : NTFS filesystem libraries and utilities
Name : %{name}
Version : %{ver}
Release : %{rel}
Source : ftp://linux-ntfs.sourceforge.net/pub/linux-ntfs/linux-ntfs-%{ver}.tar.gz
Buildroot : %{_tmppath}/%{name}-root
Packager : Anton Altaparmakov <ai...@ca...>
Copyright : GPL
Group : Applications/System
%description
The Linux-NTFS project aims to bring full support for the NTFS filesystem to
the Linux operating system. Linux-NTFS currently consists of a library and
utilities. This package contains the library and the following utilities:
NtfsFix v0.0.2 - Attempt to fix an NTFS parition that has been damaged
by the Linux NTFS driver. It should be run every time after you have used the
Linux NTFS driver to write to an NTFS partition to prevent massive data
corruption from happening when Windows mounts the partition.
IMPORTANT: Run this only *after* unmounting the partition in Linux but *before*
rebooting into Windows NT/2000!
NtfsDump_LogFile v0.0.1 - Interpret and display information about the
journal ($LogFile) of an NTFS volume.
%package devel
Summary : files required to compile software that uses libntfs
Group : Development/System
%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 --prefix=%{prefix} --bindir=%{bindir}
make
%install
rm -rf "$RPM_BUILD_ROOT"
make DESTDIR="$RPM_BUILD_ROOT" install
strip "${RPM_BUILD_ROOT}%{bindir}"/ntfsfix
strip "${RPM_BUILD_ROOT}%{bindir}"/ntfsdump_logfile
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README TODO.ntfsfix TODO.include doc/CodingStyle doc/attribute_definitions doc/attributes.txt doc/tunable_settings doc/template.c doc/template.h
%{bindir}/*
#%{mandir}/*/*
%{prefix}/lib/*.so*
%files devel
%defattr(-,root,root)
%{prefix}/include/*
%{prefix}/lib/*.a*
%{prefix}/lib/*.la*
%changelog
* Fri Feb 2 2001 Anton Altaparmakov <ai...@ca...>
- started changelog
Index: Makefile.am
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Makefile.am 2001/02/02 01:28:46 1.2
--- Makefile.am 2001/02/03 02:03:35 1.3
***************
*** 3,8 ****
EXTRA_DIST = AUTHORS CREDITS COPYING TODO.include TODO.ntfsfix ChangeLog \
! INSTALL NEWS README
AUTOMAKE_OPTIONS = gnu
--- 3,11 ----
EXTRA_DIST = AUTHORS CREDITS COPYING TODO.include TODO.ntfsfix ChangeLog \
! INSTALL NEWS README autogen.sh linux-ntfs.spec.in
AUTOMAKE_OPTIONS = gnu
+
+ dist-hook: linux-ntfs.spec
+ cp linux-ntfs.spec $(distdir)
Index: Makefile.in
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/Makefile.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Makefile.in 2001/02/02 00:16:18 1.1
--- Makefile.in 2001/02/03 02:03:35 1.2
***************
*** 83,89 ****
all_libraries = @all_libraries@
! SUBDIRS = libntfs ntfstools
! EXTRA_DIST = AUTHORS CREDITS COPYING TODO.include TODO.ntfsfix ChangeLog INSTALL NEWS README
--- 83,89 ----
all_libraries = @all_libraries@
! SUBDIRS = doc include libntfs ntfstools
! EXTRA_DIST = AUTHORS CREDITS COPYING TODO.include TODO.ntfsfix ChangeLog INSTALL NEWS README autogen.sh linux-ntfs.spec.in
***************
*** 92,100 ****
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
! CONFIG_CLEAN_FILES =
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
! Makefile.am Makefile.in NEWS aclocal.m4 config.guess config.h.in \
! config.sub configure configure.in install-sh ltconfig ltmain.sh missing \
! mkinstalldirs
--- 92,100 ----
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
! CONFIG_CLEAN_FILES = linux-ntfs.spec
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
! Makefile.am Makefile.in NEWS acconfig.h aclocal.m4 config.guess \
! config.h.in config.sub configure configure.in install-sh \
! linux-ntfs.spec.in ltconfig ltmain.sh missing mkinstalldirs
***************
*** 135,139 ****
$(MAKE) $(srcdir)/stamp-h.in; \
else :; fi
! $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOHEADER)
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
--- 135,139 ----
$(MAKE) $(srcdir)/stamp-h.in; \
else :; fi
! $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
cd $(top_srcdir) && $(AUTOHEADER)
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
***************
*** 147,150 ****
--- 147,152 ----
maintainer-clean-hdr:
+ linux-ntfs.spec: $(top_builddir)/config.status linux-ntfs.spec.in
+ cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
# This directory's subdirectories are mostly independent; you can cd
***************
*** 300,303 ****
--- 302,306 ----
fi; \
done
+ $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
info-am:
info: info-recursive
***************
*** 374,377 ****
--- 377,383 ----
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+
+ dist-hook: linux-ntfs.spec
+ cp linux-ntfs.spec $(distdir)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
Index: config.h.in
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/config.h.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** config.h.in 2001/02/02 00:16:18 1.1
--- config.h.in 2001/02/03 02:03:35 1.2
***************
*** 13,16 ****
--- 13,18 ----
#undef STDC_HEADERS
+ #undef DEBUG
+
/* Define if you have the strdup function. */
#undef HAVE_STRDUP
Index: configure
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/configure,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** configure 2001/02/02 00:16:18 1.1
--- configure 2001/02/03 02:03:35 1.2
***************
*** 17,20 ****
--- 17,22 ----
ac_default_prefix=/usr/local
ac_help="$ac_help
+ --enable-debug enable debugging"
+ ac_help="$ac_help
--enable-shared[=PKGS] build shared libraries [default=yes]"
ac_help="$ac_help
***************
*** 584,588 ****
[...971 lines suppressed...]
Makefile
+ doc/Makefile
+ include/Makefile
libntfs/Makefile
ntfstools/Makefile
+ linux-ntfs.spec
config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
***************
*** 2522,2527 ****
--- 2544,2552 ----
CONFIG_FILES=\${CONFIG_FILES-"Makefile
+ doc/Makefile
+ include/Makefile
libntfs/Makefile
ntfstools/Makefile
+ linux-ntfs.spec
"}
EOF
Index: configure.in
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/configure.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** configure.in 2001/02/02 00:16:18 1.1
--- configure.in 2001/02/03 02:03:35 1.2
***************
*** 3,10 ****
AC_CANONICAL_SYSTEM
! AM_INIT_AUTOMAKE(Linux-NTFS,0.0.1)
AM_MAINTAINER_MODE
AC_PREFIX_DEFAULT(/usr/local)
if test "x$prefix" = "xNONE"; then
--- 3,12 ----
AC_CANONICAL_SYSTEM
! AM_INIT_AUTOMAKE(linux-ntfs,0.0.1)
AM_MAINTAINER_MODE
+ AM_CONFIG_HEADER(config.h)
+
AC_PREFIX_DEFAULT(/usr/local)
if test "x$prefix" = "xNONE"; then
***************
*** 13,17 ****
fi
! AM_CONFIG_HEADER(config.h)
dnl Checks for programs.
--- 15,27 ----
fi
! dnl Command-line options.
!
! AC_ARG_ENABLE(debug,
! [ --enable-debug enable debugging], ,
! enable_debug=no
! )
! if test x$enable_debug = xyes; then
! AC_DEFINE(DEBUG)
! fi
dnl Checks for programs.
***************
*** 68,73 ****
--- 78,86 ----
AC_OUTPUT([
Makefile
+ doc/Makefile
+ include/Makefile
libntfs/Makefile
ntfstools/Makefile
+ linux-ntfs.spec
])
Index: stamp-h.in
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/stamp-h.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** stamp-h.in 2001/02/02 00:16:18 1.1
--- stamp-h.in 2001/02/03 02:03:35 1.2
***************
*** 0 ****
--- 1 ----
+ timestamp
--- config.log DELETED ---
|