diff -urN diction-0.9/Makefile.in diction-0.9.1/Makefile.in --- diction-0.9/Makefile.in Sun Apr 30 23:53:44 2000 +++ diction-0.9.1/Makefile.in Fri May 12 18:44:41 2000 @@ -50,6 +50,16 @@ rm -f diction style config.cache config.h config.log config.status Makefile diction.1 diction.texi #}}} #{{{ tar -tar: distclean - (b=`pwd`; b=`basename $$b`; cd ..; tar zcvf $$b.tar.gz $$b/COPYING $$b/INSTALL $$b/Makefile.in $$b/README $$b/NEWS $$b/configure $$b/install-sh $$b/de $$b/en $$b/[a-z]*.*) + +VERSION=@VERSION@ +dirname=diction-$(VERSION) +extra_distfiles= README NEWS configure style.1 install-sh COPYING INSTALL diction.spec de en\ + config.guess config.sub +wildcarded_distfiles=*.msg *.c *.h *.in +dist: + rm -rf $(dirname) + mkdir $(dirname) + ln $(wildcarded_distfiles) $(extra_distfiles) $(dirname) + rm $(dirname)/config.h + tar vcfz $(dirname).tar.gz $(dirname) #}}} diff -urN diction-0.9/configure diction-0.9.1/configure --- diction-0.9/configure Sun Apr 30 22:26:00 2000 +++ diction-0.9.1/configure Fri May 12 18:44:30 2000 @@ -568,8 +568,8 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$host" 1>&6 -VERSION=0.9 -UPDATED='August 22, 1998' +VERSION=0.9.1 +UPDATED='May 12, 2000' if test "$prefix" = NONE then @@ -1099,7 +1099,7 @@ -eval datadir=$datadir + trap '' 1 2 15 cat > confcache <<\EOF # This file is a shell script that caches the results of configure diff -urN diction-0.9/configure.in diction-0.9.1/configure.in --- diction-0.9/configure.in Sun Apr 30 22:27:16 2000 +++ diction-0.9.1/configure.in Fri May 12 18:45:15 2000 @@ -1,8 +1,8 @@ AC_INIT(diction.c) AC_CONFIG_HEADER(config.h) AC_CANONICAL_HOST -VERSION=0.9 -UPDATED='April 30, 2000' +VERSION=0.9.1 +UPDATED='May 12, 2000' if test "$prefix" = NONE then @@ -49,5 +49,5 @@ AC_DEFINE_UNQUOTED(VERSION,"$VERSION") AC_SUBST(VERSION) AC_SUBST(UPDATED) -eval datadir=$datadir -AC_OUTPUT(Makefile diction.1 diction.texi) + +AC_OUTPUT(Makefile diction.1 diction.texi diction.spec) diff -urN diction-0.9/diction.spec diction-0.9.1/diction.spec --- diction-0.9/diction.spec Thu Jan 1 01:00:00 1970 +++ diction-0.9.1/diction.spec Fri May 12 18:42:52 2000 @@ -0,0 +1,57 @@ +%define prefix /usr + +%define RELEASE 1 +%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} + +Summary: analyze text for style +Name: diction +Version: 0.9 +Release: %rel +Copyright: GPL +Group: Text/Utilities +Source: http://www.moria.de/~michael/diction/diction-%{version}.tar.gz +BuildRoot: /var/tmp/%{name}-%{version}-root +URL: http://www.moria.de/~michael/diction/ +DocDir: %{prefix}/doc + +%description +diction [desc] + +%changelog +* Thu May 12 2000 HWN +- Initial spec file copied GGV + +%prep +%setup + +%build + +# Needed for snapshot releases. +if [ ! -f configure ]; then + CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh $ARCH_FLAGS --prefix=%{prefix} +else + CFLAGS="$RPM_OPT_FLAGS" ./configure $ARCH_FLAGS --prefix=%{prefix} +fi + +if [ "$SMP" != "" ]; then + (make "MAKE=make -k -j $SMP"; exit 0) + make +else + make +fi + +%install +rm -rf $RPM_BUILD_ROOT + +make prefix=$RPM_BUILD_ROOT%{prefix} install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) + +%doc COPYING README +%{prefix}/bin/* +%{prefix}/share/* +%{prefix}/man/* diff -urN diction-0.9/diction.spec.in diction-0.9.1/diction.spec.in --- diction-0.9/diction.spec.in Thu Jan 1 01:00:00 1970 +++ diction-0.9.1/diction.spec.in Fri May 12 18:45:30 2000 @@ -0,0 +1,57 @@ +%define prefix /usr + +%define RELEASE 1 +%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} + +Summary: analyze text for style +Name: diction +Version: @VERSION@ +Release: %rel +Copyright: GPL +Group: Text/Utilities +Source: http://www.moria.de/~michael/diction/diction-%{version}.tar.gz +BuildRoot: /var/tmp/%{name}-%{version}-root +URL: http://www.moria.de/~michael/diction/ +DocDir: %{prefix}/doc + +%description +diction [desc] + +%changelog +* Thu May 12 2000 HWN +- Initial spec file copied GGV + +%prep +%setup + +%build + +# Needed for snapshot releases. +if [ ! -f configure ]; then + CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh $ARCH_FLAGS --prefix=%{prefix} +else + CFLAGS="$RPM_OPT_FLAGS" ./configure $ARCH_FLAGS --prefix=%{prefix} +fi + +if [ "$SMP" != "" ]; then + (make "MAKE=make -k -j $SMP"; exit 0) + make +else + make +fi + +%install +rm -rf $RPM_BUILD_ROOT + +make prefix=$RPM_BUILD_ROOT%{prefix} install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) + +%doc COPYING README +%{prefix}/bin/* +%{prefix}/share/* +%{prefix}/man/*