# Note that this is NOT a relocatable package %define name nautilus %define ver @VERSION@ %define RELEASE 0_cvs_0 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} %define prefix /usr %define sysconfdir /etc Name: %name Vendor: GNOME Distribution: CVS Summary: The Eazel Installer installs Nautilus Version: %ver Release: %rel Copyright: GPL Group: User Interface/Desktop Source: %{name}-%{ver}.tar.gz URL: http://nautilus.eazel.com/ BuildRoot: /var/tmp/%{name}-%{ver}-root Docdir: %{prefix}/doc %package installer Summary: The Eazel Installer Group: User Interface/Desktop %description Nautilus integrates access to files, applications, media, Internet-based resources and the Web. Nautilus delivers a dynamic and rich user experience. Nautilus is an free software project developed under the GNU General Public License and is a core component of the GNOME desktop project. %description installer The Eazel Installer installs Nautilus, which integrates access to files, applications, media, Internet-based resources and the Web. %changelog * Fri Feb 23 2001 Eric Fischer - created this .spec file from the nautilus .spec file * Tue Oct 10 2000 Robin Slomkowski - removed obsoletes from sub packages and added mozilla and trilobite subpackages * Wed Apr 26 2000 Ramiro Estrugo - created this thing %prep %setup %build %ifarch alpha MYARCH_FLAGS="--host=alpha-redhat-linux" %endif LC_ALL="" LINGUAS="" LANG="" export LC_ALL LINGUAS LANG ## Warning! Make sure there are no spaces or tabs after the \ ## continuation character, or else the rpm demons will eat you. CFLAGS="$RPM_OPT_FLAGS -DENABLE_SCROLLKEEPER_SUPPORT" ./configure $MYARCH_FLAGS --prefix=%{prefix} \ --enable-eazel-services \ --enable-installer \ --enable-more-warnings \ --sysconfdir=%{sysconfdir} %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT makeflags="-k prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir}" (cd components/services/trilobite/libtrilobite; make $makeflags) (cd libnautilus-extensions; make $makeflags nautilus-druid.o nautilus-druid-page-eazel.o) (cd nautilus-installer; make $makeflags install) %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %post %postun %files installer %defattr(0555, bin, bin) %{prefix}/bin/eazel-installer.sh %{prefix}/bin/eazel-installer