summaryrefslogtreecommitdiffstats
path: root/gnome-user-docs.spec.in
blob: f3caab08c1ad9e18587454ac53b67a8ee7ad6067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Note that this is NOT a relocateable package

%define name            gnome-user-docs
%define ver             @VERSION@
%define RELEASE         1
%define rel             %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
%define prefix          /usr
%define mandir          /usr/man
%define datadir         /usr/share
%define sysconfdir      /etc
%define localstatedir   /var/lib
%define skreq           @SCROLLKEEPER_REQUIRED@


Summary: 	General GNOME User Documentation
Name:		%name
Version: 	%ver
Release: 	%RELEASE
Copyright: 	FDL
Distribution: 	GNOME RPMS
Source: 	%{name}-%{version}.tar.gz
Group: 		Documentation
BuildArch: 	noarch
BuildRoot: 	/var/tmp/%{name}-%{ver}-root

Requires:   	scrollkeeper >= %skreq

%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
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} \
	datadir=$RPM_BUILD_ROOT%{datadir} \
	mandir=$RPM_BUILD_ROOT%{mandir} \
	sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} \
	localstatedir=$RPM_BUILD_ROOT%{localstatedir} install


%clean 
rm -rf $RPM_BUILD_ROOT

%post
scrollkeeper-update

%postun
scrollkeeper-update

%files
%defattr(-, root, root)
%doc COPYING COPYING-DOCS AUTHORS README ChangeLog NEWS INSTALL
%{prefix}/share/gnome/help
%{datadir}/omf/%{name}

%changelog 
* Sun Mar 11 2001 Dan Mueth <dan@eazel.com>
- Update as we move to its own module
* Mon Nov 27 2000 Kenny Graunke <kwg@teleport.com>
- Initial cut