BUILD: gdm spec file changes
- From: Erik Walthinsen <omega cse ogi edu>
- To: Martin Kasper Petersen <mkp SunSITE auc dk>
- cc: gnome-devel-list gnome org
- Subject: BUILD: gdm spec file changes
- Date: Tue, 20 Apr 1999 16:34:24 -0700 (PDT)
I'm ready to commit changes to make the gdm spec file a spec.in file, to
make it easier to build/release new versions of gdm (the spec file
hardcodes the version number, spec.in allows autoconf to munge it).
Changes are below, with new spec.in file. I'll commit them when I get the
OK.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gdm/ChangeLog,v
retrieving revision 1.67
diff -r1.67 ChangeLog
0a1,4
> 1999-04-20 Erik Walhtinsen <omega@cse.ogi.edu>
>
> * converted spec file to spec.in, changed Makefile.am/configure.in
>
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/gdm/Makefile.am,v
retrieving revision 1.8
diff -r1.8 Makefile.am
3c3
< EXTRA_DIST = ChangeLog README.install gdm.spec
---
> EXTRA_DIST = ChangeLog README.install gdm.spec.in
4a5,6
> dist-hook:
> cp gdm.spec $(distdir)
Index: configure.in
===================================================================
RCS file: /cvs/gnome/gdm/configure.in,v
retrieving revision 1.26
diff -r1.26 configure.in
101a102
> gdm.spec
111,112d111
<
<
----- new gdm.spec.in -----
# Note that this is NOT a relocatable package
%define ver @VERSION@
%define rel 1
%define prefix /usr
Summary: GNOME Display Manager
Name: gdm
Version: %ver
Release: %rel
Copyright: GPL
Group: User Interface/X
Source: ftp://ftp.gnome.org/sources/gdm/gdm-%{ver}.tar.gz
BuildRoot: /var/tmp/gdm-%{ver}-root
Docdir: %{prefix}/doc
Requires: gnome-libs >= 1.0.0
%description
GNOME Display Manager allows you to log into your system with the
X Window System running. It is highly configurable, allowing you
to run several different X sessions at once on your local machine,
and can manage login connections from remote machines as well.
%prep
%setup
%build
libtoolize --copy --force
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir=/etc \
--localstatedir=/var
make
%install
rm -rf $RPM_BUILD_ROOT
/usr/sbin/useradd -u 42 -r gdm > /dev/null 2>&1 || /bin/true
make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT/etc \
localstatedir=$RPM_BUILD_ROOT/var install
# docs go elsewhere
rm -rf $RPM_BUILD_ROOT/%{prefix}/doc
%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf
$RPM_BUILD_ROOT
%pre
/usr/sbin/useradd -u 42 -r gdm > /dev/null 2>&1
# ignore errors, as we can't disambiguate between gdm already existed
# and couldn't create account with the current adduser.
exit 0
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README README.install
docs/gdm-manual.txt
%{prefix}/bin/*
%config /etc/pam.d/gdm
%config /etc/gnomerc
%config /etc/gdm/gdm.conf
%config /etc/gdm/Sessions/*
%{prefix}/share/locale/*/*/*
%{prefix}/share/pixmaps/*
%attr(750, gdm, gdm) %dir /var/gdm
%changelog
* Tue Apr 20 1999 Erik Walthinsen <omega@cse.ogi.edu>
- converted spec file to spec.in file
* Thu Mar 4 1999 Martin K. Petersen <mkp@mkp.net>
- misc. fixes. Red Hatters: I removed your gdm.conf/Xsession patch
from this spec file. Stuff it back in for your own builds.
* Thu Feb 25 1999 Michael Fulbright <drmike@redhat.com>
- moved files from /usr/etc to /etc
* Tue Feb 16 1999 Michael Johnson <johnsonm@redhat.com>
- removed commented-out #1 definition -- put back after testing gnome-libs
comment patch
* Sat Feb 06 1999 Michael Johnson <johnsonm@redhat.com>
- initial packaging
----- end gdm.spec.in -----
Erik Walthinsen <omega@cse.ogi.edu> - Staff Programmer @ OGI
Quasar project - http://www.cse.ogi.edu/DISC/projects/quasar/
Video4Linux Two drivers and stuff - http://www.cse.ogi.edu/~omega/v4l2/
__
/ \ SEUL: Simple End-User Linux - http://www.seul.org/
| | M E G A Helping Linux become THE choice
_\ /_ for the home or office user
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]