+2002-xx-xx
+ - added a spec file for rpm support
+
2002-03-11
- readline support
- abook can be compiled with g++
options.h edit.h ldif.h abook_curses.h ui.h getname.h \
getopt.h abook_rl.h
-EXTRA_DIST = ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc
+EXTRA_DIST = ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc abook.spec
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
uninstall-local:
-rm -f $(DESTDIR)$(mandir)/man1/abook.1
-rm -f $(DESTDIR)$(mandir)/man5/abookrc.5
+
getopt.h abook_rl.h
-EXTRA_DIST = ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc
+EXTRA_DIST = ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc abook.spec
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_FILES = abook.spec
PROGRAMS = $(bin_PROGRAMS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
-Makefile.am Makefile.in NEWS THANKS TODO acconfig.h acinclude.m4 \
-aclocal.m4 config.guess config.h.in config.sub configure configure.in \
-install-sh missing mkinstalldirs
+Makefile.am Makefile.in NEWS THANKS TODO abook.spec.in acconfig.h \
+acinclude.m4 aclocal.m4 config.guess config.h.in config.sub configure \
+configure.in install-sh missing mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-rm -f config.h
maintainer-clean-hdr:
+abook.spec: $(top_builddir)/config.status abook.spec.in
+ cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
mostlyclean-binPROGRAMS:
--- /dev/null
+Summary: Text-based addressbook program
+Name: @PACKAGE@
+Version: @VERSION@
+Release: 1
+Source: http://prdownloads.sourceforge.net/abook/abook-%{version}.tar.gz
+URL: http://abook.sourceforge.net/
+License: GPL
+Group: Utilities
+BuildRoot: /var/tmp/%{name}-%{version}-buildroot
+
+%description
+Abook is a text-based addressbook program designed to
+use with mutt mail client.
+
+%prep
+%setup -q
+
+%build
+./configure --prefix="$RPM_BUILD_ROOT/usr"
+make CFLAGS="$RPM_OPT_FLAGS $CFLAGS"
+
+%install
+make install-strip
+
+%clean
+rm -rf "$RPM_BUILD_ROOT"
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS BUGS COPYING ChangeLog FAQ NEWS README THANKS TODO sample.abookrc
+/usr/bin/abook
+/usr/man/man1/abook.1*
+/usr/man/man5/abookrc.5*
+
+%changelog
+* Mon Mar 11 2002 Jaakko Heinonen <jheinonen@users.sourceforge.net>
+- Added missing files: abookrc.5, FAQ
+- Made build use RPM_OPT_FLAGS
+- Changed BuildRoot
+
+* Tue Jun 19 2001 Don Harper <duck@duckland.org>
+- Updated to version 0.4.13.
+
+* Sun Dec 31 2000 Gustavo Niemeyer <niemeyer@conectiva.com>
+- Updated to version 0.4.11.
+
+* Wed Sep 20 2000 Gustavo Niemeyer <niemeyer@conectiva.com>
+- First package.
PACKAGE=abook
-VERSION=2002-03-11
+VERSION=0.4.99.0
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"
-trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+trap 'rm -fr `echo "Makefile abook.spec config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
cat >> $CONFIG_STATUS <<EOF
-CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
+CONFIG_FILES=\${CONFIG_FILES-"Makefile abook.spec"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
dnl abook configure.in
AC_INIT(abook.c)
-AM_INIT_AUTOMAKE(abook, 2002-03-11)
+AM_INIT_AUTOMAKE(abook, 0.4.99.0)
AM_CONFIG_HEADER(config.h)
AC_CANONICAL_HOST
CFLAGS="-Wall $CFLAGS"
fi
-AC_OUTPUT(Makefile)
+AC_OUTPUT(Makefile abook.spec)