gnome-core.spec.in 4.99 KB
Newer Older
1 2 3 4
%define localstatedir   /var/lib

Summary:         The core programs for the GNOME GUI desktop environment.
Name: 		 gnome-core
5 6 7
Version: 	 @VERSION@
Release: 	 1
License: 	 LGPL
8
Group: 		 System Environment/Base
9
Source:          ftp://ftp.gnome.org/pub/sources/gnome-core/gnome-core-%{version}.tar.gz
10 11
BuildRoot: 	 /var/tmp/%{name}-%{version}-root
URL: 		 http://www.gnome.org
12 13
Requires:        gtk+ >= @GTK_REQUIRED@
Requires:        gdk-pixbuf >= @GDK_PIXBUF_REQUIRED@
14 15 16 17 18 19 20 21 22 23 24
Requires:        libglade >= @LIBGLADE_REQUIRED@, libxml
Requires:        gnome-libs >= @GNOME_LIBS_REQUIRED@
Requires:        ORBit >= @ORBIT_REQUIRED@
Requires:        control-center >= @CONTROL_CENTER_REQUIRED@
BuildRequires:   gtk+-devel >= @GTK_REQUIRED@, libxml-devel
BuildRequires:   gdk-pixbuf-devel >= @GDK_PIXBUF_REQUIRED@
BuildRequires:   libglade-devel >= @LIBGLADE_REQUIRED@
BuildRequires:   scrollkeeper >= @SCROLLKEEPER_REQUIRED@
BuildRequires:   gnome-libs-devel >= @GNOME_LIBS_REQUIRED@
BuildRequires:   ORBit-devel >= @ORBIT_REQUIRED@
BuildRequires:   control-center-devel >= @CONTROL_CENTER_REQUIRED@
rhlabs's avatar
rhlabs committed
25 26 27


%description
Michael Johnson's avatar
Michael Johnson committed
28 29 30
GNOME (GNU Network Object Model Environment) is a user-friendly
set of applications and desktop tools to be used in conjunction with a
window manager for the X Window System.  GNOME is similar in purpose and
31
scope to CDE and KDE, but GNOME is based completely on free
Michael Johnson's avatar
Michael Johnson committed
32 33 34 35 36 37 38 39
software.  The gnome-core package includes the basic programs and
libraries that are needed to install GNOME.

You should install the gnome-core package if you would like to use the
GNOME desktop environment.  You'll also need to install the gnome-libs
package.  If you would like to develop GNOME applications, you'll also
need to install gnome-libs-devel.  If you want to use linuxconf with a
GNOME front end, you'll also need to install the gnome-linuxconf package.
Pablo Saratxaga's avatar
Pablo Saratxaga committed
40

rhlabs's avatar
rhlabs committed
41
%package devel
42
Summary:        GNOME core libraries, includes, and more.
43
Group: 		Development/Libraries
44
Requires: 	%name = %version
rhlabs's avatar
rhlabs committed
45 46

%description devel
Michael Johnson's avatar
Michael Johnson committed
47
Panel libraries and header files for creating GNOME panels.
Pablo Saratxaga's avatar
Pablo Saratxaga committed
48

49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
%prep
%setup -q

%build
./configure --disable-gtkhtml-help --prefix=%{_prefix} \
    --bindir=%{_bindir} --mandir=%{_mandir} \
    --localstatedir=%{localstatedir} --libdir=%{_libdir} \
    --datadir=%{_datadir} --includedir=%{_includedir} \
    --sysconfdir=%{_sysconfdir}

CFLAGS="$RPM_OPT_FLAGS" make


%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

make prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \
    mandir=$RPM_BUILD_ROOT%{_mandir} libdir=$RPM_BUILD_ROOT%{_libdir} \
    localstatedir=$RPM_BUILD_ROOT%{localstatedir} \
    datadir=$RPM_BUILD_ROOT%{_datadir} \
    includedir=$RPM_BUILD_ROOT%{_includedir} \
    sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install

 
%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

76 77 78
%post
/sbin/ldconfig
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
79

80 81 82
%postun
/sbin/ldconfig
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
83 84 85 86 87 88 89

%files
%doc AUTHORS COPYING ChangeLog NEWS README
%defattr (-, root, root)
%{_bindir}/*
%{_sysconfdir}/CORBA/servers/*
%{_sysconfdir}/sound/events/*
90
%{_sysconfdir}/gnome/panel-config/*
91 92 93 94
%{_datadir}/locale/*/*/*
%{_mandir}/man1/*
%{_mandir}/man5/*
%{_libdir}/*.so.*
95 96 97
%{_datadir}/applets/*
%{_datadir}/control-center/*
%{_datadir}/gnome/*
98
%{_datadir}/gnome-about/*
99 100 101 102
%{_datadir}/gnome-terminal/*
%{_datadir}/mc/*
%{_datadir}/omf/*
%{_datadir}/pixmaps/*
103 104 105 106 107 108 109 110 111

%files devel
%{_includedir}/*
%{_libdir}/*a
%{_libdir}/*so
%{_libdir}/*sh
%{_datadir}/idl/*


rhlabs's avatar
rhlabs committed
112
%changelog
113 114 115 116 117 118
* Mon Aug  6 2001 Gregory Leblanc <gleblanc@linuxweasel.com>
- removed unnecessary %defines
- reformatted the header slightly
- made the devel package require the main package properly
- replaced copyright with license

119 120 121 122
* Thu Apr 02 2001 Gregory Leblanc <gleblanc@cu-portland.edu>
- Fixed %files section to include some directories as well as their contents.
- Updated to do the scrollkeeper ditty.

123 124 125
* Wed Mar 28 2001 Gregory Leblanc <gleblanc@cu-portland.edu>
- integrate configure.in and gnome-core.spec.in for version numbers of
  dependancies.  This should help to slow bit-rot in this spec file.
126

127 128 129 130 131 132
* Fri Mar 23 2001 Gregory Leblanc <gleblanc@cu-portland.edu>
- re-wrote the %files section from scratch, added a couple of
  dependancies.

* Wed Feb 21 2001 Gregory Leblanc <gleblanc@cu-portland.edu>
- updated, fixed macros, removed hard-coded paths.
133

134 135 136
* Sat Feb 26 2000 Gregory McLean <gregm@comstar.net>
- Updated to 1.1.4
- Autogenerate the %files section.
rhlabs's avatar
rhlabs committed
137

138 139 140
* Sat Oct 16 1999 Gregory McLean <gregm@comstar.net>
- Updated to 1.0.50
- Sorted the language specific stuff out.
141

142 143 144
* Sun Oct 03 1999 Gregory McLean <gregm@comstar.net>
- updated to 1.0.50
- Overhauled the %files section.
145

Pablo Saratxaga's avatar
Pablo Saratxaga committed
146 147 148 149 150
* Sat Nov 21 1998 Pablo Saratxaga <srtxg@chanae.alphanet.ch>

- Cleaned %files section
- added spanish and french translations for rpm

151 152 153
* Wed Sep 23 1998 Michael Fulbright <msf@redhat.com>
- Built 0.30 release

rhlabs's avatar
rhlabs committed
154 155
* Fri Mar 13 1998 Marc Ewing <marc@redhat.com>
- Integrate into gnome-core CVS source tree