source: trunk/third/gnome2-user-docs/gnome-user-docs.spec.in @ 18429

Revision 18429, 1.9 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18428, which included commits to RCS files with non-trunk default branches.
Line 
1%define name            gnome-user-docs
2%define ver             @VERSION@
3%define RELEASE         1
4%define rel             %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
5%define localstatedir   /var/lib
6
7Summary:        General GNOME User Documentation
8Name:           %name
9Version:        %ver
10Release:        %RELEASE
11Copyright:      FDL
12Distribution:   GNOME RPMS
13Source:         %{name}-%{version}.tar.gz
14URL:            http://developer.gnome.org/projects/gdp/
15Group:          Documentation
16BuildArch:      noarch
17BuildRoot:      /var/tmp/%{name}-%{ver}-root
18BuildRequires:  scrollkeeper >= @SCROLLKEEPER_REQUIRED@
19Obsoletes:      gnome-users-guide
20
21%description
22This package contains general GNOME user documentation which is not
23directly associated with any particular GNOME application or package.
24
25%prep
26%setup
27%build
28./configure --prefix %{_prefix} --datadir=%{_datadir} \
29    --mandir=%{_mandir} --sysconfdir=%{_sysconfdir} \
30    --localstatedir=%{localstatedir}
31make
32
33%install
34rm -rf $RPM_BUILD_ROOT
35make prefix=$RPM_BUILD_ROOT%{_prefix} \
36    datadir=$RPM_BUILD_ROOT%{_datadir} \
37    mandir=$RPM_BUILD_ROOT%{_mandir} \
38    sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
39    localstatedir=$RPM_BUILD_ROOT%{localstatedir} install
40
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%post
46if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
47
48%postun
49if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
50
51%files
52%defattr(-, root, root)
53%doc COPYING COPYING-DOCS AUTHORS README ChangeLog NEWS INSTALL
54%{_datadir}/gnome/help/*
55%{_datadir}/omf/%{name}
56
57%changelog
58* Mon Apr 16 2001 Gregory Leblanc <gleblanc@grego1.cu-portland.edu>
59- fixed ./configure section
60- cleaned up whitespace
61- fixed %files section
62
63* Tue Mar 20 2001 Gregory Leblanc <gleblanc@cu-portland.edu>
64- use RPM defined macros, remove hard-coded paths, add build
65  requirement for scrollkeeper
66 
67* Sun Mar 11 2001 Dan Mueth <dan@eazel.com>
68- Update as we move to its own module
69
70* Mon Nov 27 2000 Kenny Graunke <kwg@teleport.com>
71- Initial cut
72
Note: See TracBrowser for help on using the repository browser.