diff -ubNr dotconf-1.0.7/ChangeLog dotconf-1.0.8/ChangeLog --- dotconf-1.0.7/ChangeLog Sat Dec 29 18:35:40 2001 +++ dotconf-1.0.8/ChangeLog Tue Jan 15 10:43:54 2002 @@ -1,3 +1,6 @@ +[2002 01 15] [v1.0.8] + - Benjamin Lee sent in a dotconf.spec to create RPMs. + [2001 12 29] - win32 cleanups, by Robert Buck diff -ubNr dotconf-1.0.7/Makefile.am dotconf-1.0.8/Makefile.am --- dotconf-1.0.7/Makefile.am Tue Aug 28 09:15:44 2001 +++ dotconf-1.0.8/Makefile.am Tue Jan 15 10:54:23 2002 @@ -6,7 +6,7 @@ m4datadir = $(datadir)/aclocal m4data_DATA = dotconf.m4 -EXTRA_DIST = bootstrap.sh $(m4data_DATA) dotconf_all.dsw dotconf_all.dsp +EXTRA_DIST = bootstrap.sh $(m4data_DATA) dotconf_all.dsw dotconf_all.dsp dotconf.spec dist-hook: cp -r $(top_srcdir)/examples $(top_distdir)/ diff -ubNr dotconf-1.0.7/Makefile.in dotconf-1.0.8/Makefile.in --- dotconf-1.0.7/Makefile.in Sat Dec 29 19:02:05 2001 +++ dotconf-1.0.8/Makefile.in Tue Jan 15 11:11:21 2002 @@ -92,11 +92,11 @@ m4datadir = $(datadir)/aclocal m4data_DATA = dotconf.m4 -EXTRA_DIST = bootstrap.sh $(m4data_DATA) dotconf_all.dsw dotconf_all.dsp +EXTRA_DIST = bootstrap.sh $(m4data_DATA) dotconf_all.dsw dotconf_all.dsp dotconf.spec ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = dotconf-config +CONFIG_CLEAN_FILES = dotconf-config dotconf.spec SCRIPTS = $(bin_SCRIPTS) DATA = $(m4data_DATA) @@ -104,7 +104,8 @@ DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ Makefile.am Makefile.in NEWS acconfig.h acinclude.m4 aclocal.m4 \ config.guess config.h.in config.sub configure configure.in \ -dotconf-config.in install-sh ltmain.sh missing mkinstalldirs +dotconf-config.in dotconf.spec.in install-sh ltmain.sh missing \ +mkinstalldirs DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) @@ -156,6 +157,8 @@ maintainer-clean-hdr: dotconf-config: $(top_builddir)/config.status dotconf-config.in + cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status +dotconf.spec: $(top_builddir)/config.status dotconf.spec.in cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status install-binSCRIPTS: $(bin_SCRIPTS) diff -ubNr dotconf-1.0.7/README dotconf-1.0.8/README --- dotconf-1.0.7/README Sat Dec 29 19:02:02 2001 +++ dotconf-1.0.8/README Tue Jan 15 10:18:20 2002 @@ -1,4 +1,4 @@ -dot.conf v1.0.7 http://www.azzit.de/dotconf/ +dot.conf v1.0.8 http://www.azzit.de/dotconf/ ===================================================================== please refer to the API documentation in the doc/ directory of the diff -ubNr dotconf-1.0.7/configure dotconf-1.0.8/configure --- dotconf-1.0.7/configure Sat Dec 29 18:36:34 2001 +++ dotconf-1.0.8/configure Tue Jan 15 10:18:39 2002 @@ -1108,9 +1108,9 @@ # DOTCONF_MAJOR_VERSION=1 DOTCONF_MINOR_VERSION=0 -DOTCONF_MICRO_VERSION=7 -DOTCONF_INTERFACE_AGE=7 -DOTCONF_BINARY_AGE=7 +DOTCONF_MICRO_VERSION=8 +DOTCONF_INTERFACE_AGE=8 +DOTCONF_BINARY_AGE=8 DOTCONF_VERSION=$DOTCONF_MAJOR_VERSION.$DOTCONF_MINOR_VERSION.$DOTCONF_MICRO_VERSION # libtool versioning @@ -1305,7 +1305,7 @@ PACKAGE=dotconf -VERSION=1.0.7 +VERSION=1.0.8 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:1311: error: source directory already configured; run \"make distclean\" there first" >&5 @@ -6215,7 +6215,7 @@ CFLAGS="$CFLAGS $INCLUDES -Wall -g" -ac_config_files="$ac_config_files Makefile libpool/Makefile src/Makefile doc/Makefile dotconf-config" +ac_config_files="$ac_config_files Makefile libpool/Makefile src/Makefile doc/Makefile dotconf-config dotconf.spec" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -6537,9 +6537,10 @@ "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "dotconf-config" ) CONFIG_FILES="$CONFIG_FILES dotconf-config" ;; + "dotconf.spec" ) CONFIG_FILES="$CONFIG_FILES dotconf.spec" ;; "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - *) { { echo "$as_me:6542: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:6543: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -6782,7 +6783,7 @@ esac if test x"$ac_file" != x-; then - { echo "$as_me:6785: creating $ac_file" >&5 + { echo "$as_me:6786: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -6800,7 +6801,7 @@ -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:6803: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:6804: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -6813,7 +6814,7 @@ echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:6816: error: cannot find input file: $f" >&5 + { { echo "$as_me:6817: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -6874,7 +6875,7 @@ * ) ac_file_in=$ac_file.in ;; esac - test x"$ac_file" != x- && { echo "$as_me:6877: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:6878: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -6885,7 +6886,7 @@ -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:6888: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:6889: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -6898,7 +6899,7 @@ echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:6901: error: cannot find input file: $f" >&5 + { { echo "$as_me:6902: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -7015,7 +7016,7 @@ rm -f $tmp/in if test x"$ac_file" != x-; then if cmp -s $ac_file $tmp/config.h 2>/dev/null; then - { echo "$as_me:7018: $ac_file is unchanged" >&5 + { echo "$as_me:7019: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ diff -ubNr dotconf-1.0.7/configure.in dotconf-1.0.8/configure.in --- dotconf-1.0.7/configure.in Wed Dec 5 11:53:51 2001 +++ dotconf-1.0.8/configure.in Tue Jan 15 10:18:10 2002 @@ -10,9 +10,9 @@ # DOTCONF_MAJOR_VERSION=1 DOTCONF_MINOR_VERSION=0 -DOTCONF_MICRO_VERSION=7 -DOTCONF_INTERFACE_AGE=7 -DOTCONF_BINARY_AGE=7 +DOTCONF_MICRO_VERSION=8 +DOTCONF_INTERFACE_AGE=8 +DOTCONF_BINARY_AGE=8 DOTCONF_VERSION=$DOTCONF_MAJOR_VERSION.$DOTCONF_MINOR_VERSION.$DOTCONF_MICRO_VERSION AC_SUBST(DOTCONF_MAJOR_VERSION) @@ -32,7 +32,7 @@ AC_SUBST(LT_REVISION) AC_SUBST(LT_AGE) -AM_INIT_AUTOMAKE(dotconf, 1.0.7) +AM_INIT_AUTOMAKE(dotconf, 1.0.8) AM_CONFIG_HEADER(config.h) AC_CANONICAL_HOST @@ -53,6 +53,7 @@ src/Makefile doc/Makefile dotconf-config +dotconf.spec ]) echo diff -ubNr dotconf-1.0.7/dotconf.spec dotconf-1.0.8/dotconf.spec --- dotconf-1.0.7/dotconf.spec Thu Jan 1 01:00:00 1970 +++ dotconf-1.0.8/dotconf.spec Tue Jan 15 11:11:19 2002 @@ -0,0 +1,46 @@ +Summary: dot.conf +Name: dotconf +Version: 1.0.8 +Release: 1dwap +Copyright: LGPL +Group: Development/Libraries +Source: %{name}-%{version}.tar.gz +BuildRoot: /var/tmp/%{name}-buildroot +Packager: Benjamin Lee + +%description +dotconf is a configuration file parser. + +%prep +rm -rf $RPM_BUILD_ROOT + +%setup +%build +./configure --prefix=/usr +make + +%install +make DESTDIR=$RPM_BUILD_ROOT install + +%files +%defattr(-,root,root) +# %doc README README.docbook README.src README.wmlscript INSTALL AUTHORS COPYING VERSION NEWS ChangeLog doc/ gw/control.html contrib/ + +%{_prefix}/lib/libpool.a +%{_prefix}/lib/libdotconf-1.0.so.*.*.* +%{_prefix}/lib/libdotconf.la +%{_prefix}/lib/libdotconf.a +%{_prefix}/include/libpool.h +%{_prefix}/include/dotconf.h +%{_prefix}/bin/dotconf-config +%{_prefix}/share/aclocal/dotconf.m4 + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +ldconfig + +%changelog +* Mon Dec 24 2001 Benjamin Lee +- initial release of dotconf rpm package. diff -ubNr dotconf-1.0.7/dotconf.spec.in dotconf-1.0.8/dotconf.spec.in --- dotconf-1.0.7/dotconf.spec.in Thu Jan 1 01:00:00 1970 +++ dotconf-1.0.8/dotconf.spec.in Tue Jan 15 11:11:15 2002 @@ -0,0 +1,46 @@ +Summary: dot.conf +Name: dotconf +Version: @VERSION@ +Release: 1dwap +Copyright: LGPL +Group: Development/Libraries +Source: %{name}-%{version}.tar.gz +BuildRoot: /var/tmp/%{name}-buildroot +Packager: Benjamin Lee + +%description +dotconf is a configuration file parser. + +%prep +rm -rf $RPM_BUILD_ROOT + +%setup +%build +./configure --prefix=/usr +make + +%install +make DESTDIR=$RPM_BUILD_ROOT install + +%files +%defattr(-,root,root) +# %doc README README.docbook README.src README.wmlscript INSTALL AUTHORS COPYING VERSION NEWS ChangeLog doc/ gw/control.html contrib/ + +%{_prefix}/lib/libpool.a +%{_prefix}/lib/libdotconf-@LT_RELEASE@.so.*.*.* +%{_prefix}/lib/libdotconf.la +%{_prefix}/lib/libdotconf.a +%{_prefix}/include/libpool.h +%{_prefix}/include/dotconf.h +%{_prefix}/bin/dotconf-config +%{_prefix}/share/aclocal/dotconf.m4 + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +ldconfig + +%changelog +* Mon Dec 24 2001 Benjamin Lee +- initial release of dotconf rpm package.