source: trunk/third/gnome-utils/gnome-utils.spec.in @ 18366

Revision 18366, 3.1 KB checked in by ghudson, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18365, which included commits to RCS files with non-trunk default branches.
Line 
1# Note that this is NOT a relocatable package
2%define  ver      @VERSION@
3%define  RELEASE  1
4%define  rel      %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
5
6Summary:        GNOME utility programs
7Name:           gnome-utils
8Version:        %ver
9Release:        %rel
10Copyright:      LGPL
11Group:          Applications/System
12Source:         ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-utils-%{ver}.tar.gz
13BuildRoot:      /var/tmp/gnome-utils-%{PACKAGE_VERSION}-root
14URL:            http://www.gnome.org
15Requires:       gnome-libs >= 1.0.59
16BuildRequires:  gnome-libs-devel >= 1.0.59, ORBit, gnome-core-devel
17BuildRequires:  gtk+-devel >= 1.2.0, guile, e2fsprogs, e2fsprogs-devel
18BuildRequires:  libgtop >= 1.0.0, libxml, libglade >= 0.11
19Epoch:          1
20
21%description
22GNOME (GNU Network Object Model Environment) is a user-friendly set of
23applications and desktop tools to be used in conjunction with a window
24manager for the X Window System.  GNOME is similar in purpose and scope
25to CDE and KDE, but GNOME is based completely on free software.
26
27This package will install some GNOME utilities, such as the
28calculator, search tool, and system information overview tool.
29
30%prep
31%setup -q
32
33%build
34%ifarch alpha
35MYARCH_FLAGS=--host=alpha-redhat-linux
36%endif
37
38CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
39    --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} \
40    --bindir=%{_bindir} $MYARCH_FLAGS --enable-console-helper \
41    --with-pam-prefix=/etc
42
43if [ "$SMP" != "" ]; then
44  make MAKE="make -j$SMP"
45else
46  make
47fi
48
49%install
50[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
51
52make prefix=$RPM_BUILD_ROOT%{_prefix} \
53    sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
54    bindir=$RPM_BUILD_ROOT%{_bindir} \
55    sbindir=$RPM_BUILD_ROOT%{_sbindir} \
56    datadir=$RPM_BUILD_ROOT%{_datadir} \
57    PAM_PREFIX=$RPM_BUILD_ROOT/etc \
58    install
59
60%clean
61[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
62
63%files
64%config /etc/pam.d/*
65%config /etc/security/console.apps/*
66%{_bindir}/*
67%{_sbindir}/*
68%{_sysconfdir}/CORBA/servers/*
69%{_datadir}/applets/*/*
70%{_datadir}/application-registry/*
71%{_datadir}/gcolorsel
72%{_datadir}/gnome-utils
73%{_datadir}/gnome/apps/*/*
74%{_datadir}/locale/*/*/*
75%{_datadir}/gnome/help/*/*
76%{_datadir}/gtt
77%{_datadir}/idl/*
78%{_datadir}/logview
79%{_datadir}/mime-info/*
80%{_datadir}/omf/*
81%{_datadir}/pixmaps/*
82%{_datadir}/stripchart
83
84%doc AUTHORS COPYING ChangeLog NEWS README THANKS
85
86%post
87if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
88
89%postun
90if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
91
92
93%changelog
94* Thu Mar 29 2001 <dan@eazel.com>
95- scrollkeeper stuff
96
97* Wed Mar 14 2001 <jirka@5z.com>
98- Fixes to the damn %files thing
99
100* Mon Mar 12 2001 <gleblanc@peecee.linuxweasel.com>
101- macro fixes, removal of hard-coded paths.  removed automatic %files
102  generation as we don't understand how that works.  some other
103  beautifying work.
104
105* Wed Sep 08 1999 Elliot Lee <sopwith@redhat.com>
106- Updates from RHL package...
107
108* Wed Sep 23 1998 Michael Fulbright <msf@redhat.com>
109- Upgraded to 0.30
110
111* Mon Apr  6 1998 Marc Ewing <marc@redhat.com>
112- Integrate into gnome-utils CVS source tree
Note: See TracBrowser for help on using the repository browser.