From 72d8e0ab83d16e5dedd323354fa37d9f52ca1b1e Mon Sep 17 00:00:00 2001 From: Dan Mueth Date: Mon, 12 Mar 2001 08:20:35 +0000 Subject: Setting up basics of build system. Still needs some tweaking. 2001-03-12 Dan Mueth Setting up basics of build system. Still needs some tweaking. * AUTHORS: * COPYING: * COPYING-DOCS: * Makefile.am: * autogen.sh: * configure.in: * gnome-user-docs.spec.in: * sgmldocs.make: * omf-install/Makefile.am: * introduction-to-gnome/Makefile.am: * introduction-to-gnome/C/Makefile.am: Removing these for now, until we can fix up the build to properly do PS docs. * introduction-to-gnome/C/figures/Makefile: * introduction-to-gnome/C/figures/gnome-logo-large.png: * introduction-to-gnome/C/figures/img2eps: Renaming gnome-intro... to introduction-to-gnome... Sasha wrote these docs. * introduction-to-gnome/C/gnome-intro-C.omf: * introduction-to-gnome/C/gnome-intro.sgml: * introduction-to-gnome/C/introduction-to-gnome-C.omf: * introduction-to-gnome/C/introduction-to-gnome.sgml: --- gnome-user-docs.spec.in | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 gnome-user-docs.spec.in (limited to 'gnome-user-docs.spec.in') diff --git a/gnome-user-docs.spec.in b/gnome-user-docs.spec.in new file mode 100644 index 0000000..8042bb6 --- /dev/null +++ b/gnome-user-docs.spec.in @@ -0,0 +1,54 @@ +%define version @VERSION@ +%define RELEASE 1 +%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} +%define prefix /usr + +Summary: General GNOME User Documentation +Name: gnome-user-docs +Version: %{version} +Release: %{rel} +Copyright: FDL +Distribution: GNOME RPMS +Source: %{name}-%{version}.tar.gz +Group: Documentation +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-buildroot +Prefix: %{prefix} + +Requires: scrollkeeper >= @SCROLLKEEPER_REQUIRED@ + +%description +This package contains general GNOME user documentation which is not +directly associated with any particular GNOME application or package. + +%prep +%setup +%build +./configure --prefix %{prefix} +make + +%install +make prefix=$RPM_BUILD_ROOT/%{prefix} install + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +which scrollkeeper-update>/dev/null 2>&1 && scrollkeeper-update +exit 0 + +%postun +which scrollkeeper-update>/dev/null 2>&1 && scrollkeeper-update +exit 0 + +%files +%defattr(-, root, root) +%{prefix}/share/gnome/help +%{prefix}/share/omf/%{name} + +%changelog +* Sun Mar 11 2001 Dan Mueth +- Update as we move to its own module +* Mon Nov 27 2000 Kenny Graunke +- Initial cut + -- cgit