~ubuntu-branches/ubuntu/intrepid/gnome-user-docs/intrepid-proposed

« back to all changes in this revision

Viewing changes to gnome-user-docs.spec

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2008-03-17 08:39:26 UTC
  • Revision ID: james.westby@ubuntu.com-20080317083926-7e8fv90ll9p8jf2y
Tags: 2.22.0+svn20080310ubuntu2
* debian/rules: moved autogen-business into makebuilddir target.  
  (LP: #144498)
* debian/control:
  - added gnome-common, automake1.10 to Build-Depends-Indep,
  - updated bzr branch information,
  - bumped Standards-Version.
* debian/rules, debian/control: removed gnome-pkg-tools references.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%define name            gnome-user-docs
2
 
%define ver             2.22.0
3
 
%define RELEASE         1
4
 
%define rel             %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
5
 
%define localstatedir   /var/lib
6
 
 
7
 
Summary:        General GNOME User Documentation
8
 
Name:           %name
9
 
Version:        %ver
10
 
Release:        %RELEASE
11
 
Copyright:      FDL
12
 
Distribution:   GNOME RPMS
13
 
Source:         %{name}-%{version}.tar.gz
14
 
URL:            http://developer.gnome.org/projects/gdp/
15
 
Group:          Documentation
16
 
BuildArch:      noarch
17
 
BuildRoot:      /var/tmp/%{name}-%{ver}-root
18
 
BuildRequires:  scrollkeeper >= @SCROLLKEEPER_REQUIRED@
19
 
Obsoletes:      gnome-users-guide
20
 
 
21
 
%description
22
 
This package contains general GNOME user documentation which is not 
23
 
directly 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}
31
 
make 
32
 
 
33
 
%install
34
 
rm -rf $RPM_BUILD_ROOT
35
 
make 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 
43
 
rm -rf $RPM_BUILD_ROOT
44
 
 
45
 
%post
46
 
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
47
 
 
48
 
%postun
49
 
if 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