+2001-08-15 Jens Finke <jens@gnome.org>
+
+ * Makefile.am (EXTRA_DIST): Added atk.spec and atk.spec.in files.
+ * configure.in: Moved GLIB_REQUIRED_VERSION to top of file and
+ added a AC_SUBST for it. This is needed for the spec.in file.
+ Added atk.spec to output list.
+ * atk.spec.in: New file.
+
2001-08-13 Padraig O'Briain <padraig.obriain@sun.com>
* atk/atkcomponent.[c|h]
--- /dev/null
+Name: atk
+Summary: Accessability Toolkit
+Version: @VERSION@
+Release: 1
+License: LGPL
+Group: Development/Libraries
+Source: %{name}-%{version}.tar.gz
+BuildRoot: /var/tmp/%{name}-%{version}-root
+URL: http://www.gtk.org
+Requires: glib >= @GLIB_REQUIRED_VERSION@
+BuildRequires: glib-devel >= @GLIB_REQUIRED_VERSION@
+
+%description
+Handy library of accessability functions. Development libs and headers
+are in atk-devel.
+
+%package devel
+Summary: Header, docs and development libraries for atk.
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Header, docs and development libraries for atk.
+
+%prep
+%setup -q
+
+%build
+CFLAGS="$RPM_OPT_FLAGS"
+./configure --prefix=%{_prefix} \
+ --bindir=%{_bindir} --mandir=%{_mandir} \
+ --localstatedir=%{_localstatedir} --libdir=%{_libdir} \
+ --datadir=%{_datadir} --includedir=%{_includedir} \
+ --sysconfdir=%{_sysconfdir} --disable-gtk-doc
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \
+ mandir=$RPM_BUILD_ROOT%{_mandir} libdir=$RPM_BUILD_ROOT%{_libdir} \
+ localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
+ datadir=$RPM_BUILD_ROOT%{_datadir} \
+ includedir=$RPM_BUILD_ROOT%{_includedir} \
+ sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+
+%doc AUTHORS COPYING ChangeLog NEWS README
+%{_libdir}/lib*.so.*
+
+%files devel
+%defattr(-, root, root)
+
+%{_libdir}/lib*.so
+%{_libdir}/*a
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/atk-1.0
+%{_datadir}/gtk-doc/html/atk
+
+%changelog
+
+* Wed Aug 15 2001 Jens Finke <jens@gnome.org>
+- created spec file
\ No newline at end of file
AC_INIT(ChangeLog)
AM_INIT_AUTOMAKE(atk, 0.2)
+dnl ==========================================================================
+dnl
+dnl If you add a version number here, you *must* add an AC_SUBST line for
+dnl it too, or it will never make it into the spec file!
+dnl
+dnl ==========================================================================
+
+GLIB_REQUIRED_VERSION=1.3.2
+AC_SUBST(GLIB_REQUIRED_VERSION)
+
+dnl ==========================================================================
+
#
# Making releases:
# ATK_MICRO_VERSION += 1;
GLIB_PACKAGES="gobject-2.0 gmodule-2.0"
AC_SUBST(GLIB_PACKAGES)
-GLIB_REQUIRED_VERSION=1.3.2
dnl This PATH_GLIB is somewhat redundant, but does a sanity compile and
dnl importantly defines the GLIB_GENMARSHAL variable for subst into the
atk/Makefile
tests/Makefile
docs/Makefile
+atk.spec
])