~ubuntu-branches/ubuntu/oneiric/gconf/oneiric-proposed

« back to all changes in this revision

Viewing changes to gconf.spec

  • Committer: Bazaar Package Importer
  • Author(s): Takuo KITAME
  • Date: 2002-03-17 01:51:39 UTC
  • Revision ID: james.westby@ubuntu.com-20020317015139-z4f8fdg1hoe049g0
Tags: upstream-1.0.9
ImportĀ upstreamĀ versionĀ 1.0.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Note that this is NOT a relocatable package
 
3
# $Id: gconf.spec.in,v 1.13.2.4 2001/08/07 19:13:43 mpeseng Exp $
 
4
#
 
5
%define ver      1.0.9
 
6
%define rel      0_cvs_0
 
7
%define prefix   %{_prefix}
 
8
%define name     GConf
 
9
%define sysconfdir      /etc
 
10
 
 
11
Summary: Gnome Config System
 
12
Distribution:   GNOME
 
13
Vendor:         CVS
 
14
Name: %name
 
15
Version: %ver
 
16
Release: %rel
 
17
Copyright: LGPL
 
18
Group: System Environment/Base
 
19
Source: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/GConf/GConf-%{ver}.tar.gz
 
20
BuildRoot: /var/tmp/gconf
 
21
Packager: Eskil Heyn Olsen <eskil@eazel.com>
 
22
URL: http://www.gnome.org
 
23
Prereq: /sbin/install-info
 
24
Prefix: %{prefix}
 
25
Docdir: %{prefix}/doc
 
26
Requires: glib >= 1.2.0
 
27
Requires: oaf >= 0.3.0
 
28
Requires: gtk+ >= 1.2.0
 
29
Requires: ORBit >= 0.5.0
 
30
Requires: libxml >= 1.8.0
 
31
 
 
32
%description
 
33
GConf is the GNOME Configuration database system.
 
34
 
 
35
GNOME is the GNU Network Object Model Environment.  That's a fancy
 
36
name but really GNOME is a nice GUI desktop environment.  It makes
 
37
using your computer easy, powerful, and easy to configure.
 
38
 
 
39
%package devel
 
40
Summary: Gnome Config System development package
 
41
Group: Development/Libraries
 
42
Requires: %name = %{ver}
 
43
Requires: ORBit-devel
 
44
Requires: glib-devel
 
45
Requires: oaf-devel
 
46
Requires: gtk+-devel
 
47
PreReq: /sbin/install-info
 
48
 
 
49
%description devel
 
50
GConf development package. Contains files needed for doing
 
51
development using GConf.
 
52
 
 
53
%changelog
 
54
 
 
55
* Sun Jun 11 2000  Eskil Heyn Olsen <deity@eazel.com>
 
56
 
 
57
- Created the .spec file
 
58
 
 
59
%prep
 
60
%setup
 
61
 
 
62
%build
 
63
# Needed for snapshot releases.
 
64
if [ ! -f configure ]; then
 
65
  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --sysconfdir=%{sysconfdir}
 
66
else
 
67
  CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir=%{sysconfdir}
 
68
fi
 
69
 
 
70
if [ "$SMP" != "" ]; then
 
71
  (make "MAKE=make -k -j $SMP"; exit 0)
 
72
  make
 
73
else
 
74
  make
 
75
fi
 
76
 
 
77
%install
 
78
rm -rf $RPM_BUILD_ROOT
 
79
make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} install
 
80
 
 
81
%clean
 
82
rm -rf $RPM_BUILD_ROOT
 
83
 
 
84
%post -p /sbin/ldconfig
 
85
 
 
86
%postun -p /sbin/ldconfig
 
87
 
 
88
%files
 
89
%defattr(-, root, root)
 
90
%doc AUTHORS COPYING ChangeLog NEWS README
 
91
%config %{sysconfdir}/gconf/1/path
 
92
%config %{sysconfdir}/gconf/schemas/*.schemas
 
93
%dir    %{sysconfdir}/gconf/gconf.xml.defaults
 
94
%dir    %{sysconfdir}/gconf/gconf.xml.mandatory
 
95
%{prefix}/bin/gconf-config
 
96
%{prefix}/bin/gconf-config-1
 
97
%{prefix}/bin/gconfd-1
 
98
%{prefix}/bin/gconftool
 
99
%{prefix}/bin/gconftool-1
 
100
%{prefix}/lib/*.0
 
101
%{prefix}/lib/*.1
 
102
%{prefix}/lib/*.so
 
103
%{prefix}/lib/pkgconfig/*
 
104
%{prefix}/lib/GConf/1/*.so
 
105
%{prefix}/share/locale/*/LC_MESSAGES/*.mo
 
106
%{prefix}/share/oaf/*.oafinfo
 
107
 
 
108
 
 
109
## /etc/gconf/schemas/desktop.schemas is notably missing;
 
110
## it will be shared between versions of GConf, preventing
 
111
## simulataneous installation, so maybe should be in 
 
112
## a different (minuscule) package.
 
113
 
 
114
%files devel
 
115
%defattr(-, root, root)
 
116
%{prefix}/lib/*.a
 
117
%{prefix}/lib/*.la
 
118
%{prefix}/lib/GConf/1/*.a
 
119
%{prefix}/lib/GConf/1/*.la
 
120
%{prefix}/include/gconf/1/gconf/*.h
 
121
%{prefix}/share/aclocal/*.m4