# 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: Nautilus is a network user environment 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 Requires: glib >= @GLIB_REQUIRED@ Requires: gtk+ >= @GTK_REQUIRED@ Requires: imlib >= @IMLIB_REQUIRED@ Requires: libxml >= @LIBXML_REQUIRED@ Requires: gnome-libs >= @GNOME_LIBS_REQUIRED@ Requires: GConf >= @GCONF_REQUIRED@ Requires: ORBit >= @ORBIT_REQUIRED@ Requires: oaf >= @OAF_REQUIRED@ Requires: gnome-vfs >= @GNOME_VFS_REQUIRED@ Requires: gdk-pixbuf >= @GDK_PIXBUF_REQUIRED@ Requires: bonobo >= @BONOBO_REQUIRED@ Requires: popt >= @POPT_REQUIRED@ Requires: freetype >= @FREETYPE_REQUIRED@ Requires: medusa >= @MEDUSA_REQUIRED@ Requires: esound >= @ESOUND_REQUIRED@ Requires: libghttp >= @LIBGHTTP_REQUIRED@ Requires: scrollkeeper >= @SCROLLKEEPER_REQUIRED@ Requires: libpng Requires: control-center >= @CONTROL_CENTER_REQUIRED@ %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. %package devel Summary: Libraries and include files for developing Nautilus components Group: Development/Libraries Requires: %name = %{PACKAGE_VERSION} %package mozilla Summary: Nautilus component for use with Mozilla Group: User Interface/Desktop Requires: %name = %{PACKAGE_VERSION} Requires: mozilla >= 0.8 Requires: mozilla-mail >= 0.8 Requires: mozilla-psm >= 0.8 Conflicts: mozilla = M18 Conflicts: mozilla = M17 %package trilobite Summary: Nautilus component framework for services Group: User Interface/Desktop Requires: %name = %{PACKAGE_VERSION} Requires: ammonite >= 0.8.7 Requires: rpm >= @RPM_VERSION@ Requires: usermode >= 1.37 Requires: pam >= 0.72 %package extras Summary: Extra goodies to use with Nautilus Group: User Interface/Desktop Requires: xpdf >= 0.90 %package suggested Summary: Nautilus and a suggested set of components Group: User Interface/Desktop Requires: %name = %{PACKAGE_VERSION} Requires: %name-mozilla = %{PACKAGE_VERSION} Requires: %name-trilobite = %{PACKAGE_VERSION} Requires: %name-extras = %{PACKAGE_VERSION} Requires: mozilla-mail >= 0.8 Requires: mozilla-psm >= 0.8 %description devel This package provides the necessary development libraries and include files to allow you to develop Nautilus components. %description mozilla This enables the use of embedded Mozilla as a Nautilus component. %description trilobite This is a framework library for service components in Nautilus. It is required by all Eazel Services, including the package installer, and can be used to develop new services. %description suggested This is a meta-package that requires packages useful for running Nautilus, and getting multimedia to work, such as eog and mpg123. %description extras This is a meta-package that requires useful add-ons for Nautilus. %changelog * 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-more-warnings \ --sysconfdir=%{sysconfdir} make -k make check %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT make -k prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} install for FILE in "$RPM_BUILD_ROOT/bin/*"; do file "$FILE" | grep -q not\ stripped && strip $FILE done %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %post if ! grep %{prefix}/lib /etc/ld.so.conf > /dev/null ; then echo "%{prefix}/lib" >> /etc/ld.so.conf fi /sbin/ldconfig scrollkeeper-update %postun -p /sbin/ldconfig scrollkeeper-update %files %defattr(0555, bin, bin) %doc AUTHORS COPYING COPYING-DOCS COPYING.LIB TRADEMARK_NOTICE ChangeLog NEWS README %{prefix}/bin/nautilus-clean.sh %{prefix}/bin/nautilus-verify-rpm.sh %{prefix}/bin/eazel-helper %{prefix}/bin/gnome-db2html2 %{prefix}/bin/gnome-info2html2 %{prefix}/bin/gnome-man2html2 %{prefix}/bin/hyperbola %{prefix}/bin/nautilus %{prefix}/bin/nautilus-adapter %{prefix}/bin/nautilus-authenticate %{prefix}/bin/nautilus-content-loser %{prefix}/bin/nautilus-error-dialog %{prefix}/bin/nautilus-hardware-view %{prefix}/bin/nautilus-history-view %{prefix}/bin/nautilus-image-view # %{prefix}/bin/nautilus-mpg123 %{prefix}/bin/nautilus-music-view %{prefix}/bin/nautilus-notes %{prefix}/bin/nautilus-sample-content-view %{prefix}/bin/nautilus-sidebar-loser %{prefix}/bin/nautilus-text-view %{prefix}/bin/nautilus-throbber %{prefix}/bin/run-nautilus %{prefix}/bin/nautilus-launcher-applet %{prefix}/bin/nautilus-xml-migrate %{prefix}/idl/*.idl %{prefix}/lib/libnautilus-adapter.so.0 %{prefix}/lib/libnautilus-adapter.so.0.0.0 %{prefix}/lib/libnautilus-extensions.so.0 %{prefix}/lib/libnautilus-extensions.so.0.0.0 %{prefix}/lib/libnautilus-tree-view.so.0 %{prefix}/lib/libnautilus-tree-view.so.0.0.0 %{prefix}/lib/libnautilus.so.0 %{prefix}/lib/libnautilus.so.0.0.0 %{prefix}/lib/libnautilus-adapter.so %{prefix}/lib/libnautilus-extensions.so %{prefix}/lib/libnautilus-tree-view.so %{prefix}/lib/libnautilus.so %{prefix}/lib/vfs/modules/*.so %defattr (0444, bin, bin) %config %{sysconfdir}/vfs/modules/*.conf %config %{sysconfdir}/CORBA/servers/nautilus-launcher-applet.gnorba %{prefix}/share/gnome/apps/Applications/*.desktop %{prefix}/share/gnome/ui/*.xml %{prefix}/share/nautilus/components/hyperbola/maps/*.map %{prefix}/share/nautilus/components/hyperbola/*.xml %{prefix}/share/locale/*/LC_MESSAGES/*.mo %{prefix}/share/nautilus/*.xml %{prefix}/share/nautilus/emblems/*.png %{prefix}/share/nautilus/fonts/urw/*.dir %{prefix}/share/nautilus/fonts/urw/*.pfb %{prefix}/share/nautilus/fonts/urw/*.afm %{prefix}/share/nautilus/fonts/urw/*.pfm %{prefix}/share/nautilus/linksets/*.xml %{prefix}/share/nautilus/patterns/*.jpg %{prefix}/share/nautilus/patterns/*.png %{prefix}/share/nautilus/patterns/.*.png %{prefix}/share/nautilus/services/text/*.xml %{prefix}/share/pixmaps/*.png %{prefix}/share/pixmaps/nautilus/*.gif %{prefix}/share/pixmaps/nautilus/*.png %{prefix}/share/pixmaps/nautilus/*.svg %{prefix}/share/pixmaps/nautilus/*.xml %{prefix}/share/pixmaps/nautilus/ardmore/*.png %{prefix}/share/pixmaps/nautilus/ardmore/*.xml %{prefix}/share/pixmaps/nautilus/arlo/*.png %{prefix}/share/pixmaps/nautilus/arlo/*.xml %{prefix}/share/pixmaps/nautilus/arlo/throbber/*.png %{prefix}/share/pixmaps/nautilus/arlo/backgrounds/*.png %{prefix}/share/pixmaps/nautilus/arlo/sidebar_tab_pieces/*.png %{prefix}/share/pixmaps/nautilus/crux_eggplant/*.png %{prefix}/share/pixmaps/nautilus/crux_eggplant/*.xml %{prefix}/share/pixmaps/nautilus/crux_eggplant/throbber/*.png %{prefix}/share/pixmaps/nautilus/crux_eggplant/backgrounds/*.png %{prefix}/share/pixmaps/nautilus/crux_eggplant/sidebar_tab_pieces/*.png @EAZEL_LOGOS_PNG@ @EAZEL_LOGOS_XML@ @EAZEL_LOGOS_THROB@ @EAZEL_LOGOS_LICENSE@ %{prefix}/share/pixmaps/nautilus/gnome/*.png %{prefix}/share/pixmaps/nautilus/gnome/*.xml %{prefix}/share/pixmaps/nautilus/gnome/throbber/*.png %{prefix}/share/pixmaps/nautilus/sidebar_tab_pieces/*.png %{prefix}/share/pixmaps/nautilus/throbber/*.png %{prefix}/share/pixmaps/nautilus/gray_tab_pieces/*.png %{prefix}/share/pixmaps/nautilus/villanova/*.xml %{prefix}/share/pixmaps/nautilus/villanova/*.png %{prefix}/share/oaf/Nautilus_View_help.oaf %{prefix}/share/oaf/Nautilus_ComponentAdapterFactory_std.oaf %{prefix}/share/oaf/Nautilus_View_content-loser.oaf %{prefix}/share/oaf/Nautilus_View_hardware.oaf %{prefix}/share/oaf/Nautilus_View_history.oaf %{prefix}/share/oaf/Nautilus_View_image.oaf %{prefix}/share/oaf/Nautilus_View_music.oaf %{prefix}/share/oaf/Nautilus_View_notes.oaf %{prefix}/share/oaf/Nautilus_View_sample.oaf %{prefix}/share/oaf/Nautilus_View_sidebar-loser.oaf %{prefix}/share/oaf/Nautilus_View_text.oaf %{prefix}/share/oaf/Nautilus_View_tree.oaf %{prefix}/share/oaf/Nautilus_shell.oaf %{prefix}/share/oaf/Nautilus_Control_throbber.oaf %defattr (-, root, root) %{prefix}/share/gnome/help %{prefix}/share/omf/nautilus %files devel %defattr(0555, bin, bin) %{prefix}/lib/*.la %{prefix}/lib/vfs/modules/*.la %defattr(0444, bin, bin) %{prefix}/include/libtrilobite/eazel/*/*.h %{prefix}/include/libnautilus/*.h %{prefix}/include/libtrilobite/*.h %files mozilla %defattr(0555, bin, bin) %{prefix}/bin/nautilus-mozilla-content-view %defattr(0444, bin, bin) %{prefix}/share/oaf/Nautilus_View_mozilla.oaf %files trilobite %defattr(0555, bin, bin) %{prefix}/bin/eazel-install %{prefix}/bin/nautilus-service-install-view %{prefix}/bin/trilobite-eazel-install-service %{prefix}/bin/nautilus-summary-view %{prefix}/bin/nautilus-change-password-view %{prefix}/bin/eazel-gen-xml %{prefix}/bin/eazel-inventory-client %{prefix}/bin/trilobite-inventory-service %{prefix}/bin/nautilus-inventory-view %{prefix}/lib/libeazelinstall.so.0 %{prefix}/lib/libeazelinstall.so.0.0.0 %{prefix}/lib/libeazelpackagesystem.so %{prefix}/lib/libeazelpackagesystem.so.0 %{prefix}/lib/libeazelpackagesystem.so.0.0.0 %{prefix}/lib/libeazelpackagesystem-rpm*.so %{prefix}/lib/libeazelpackagesystem-rpm*.so.0 %{prefix}/lib/libeazelpackagesystem-rpm*.so.0.0.0 %{prefix}/lib/libtrilobite-inventory-service*so* %{prefix}/lib/libtrilobite-service.so.0 %{prefix}/lib/libtrilobite-service.so.0.0.0 %{prefix}/lib/libtrilobite.so.0 %{prefix}/lib/libtrilobite.so.0.0.0 %{prefix}/lib/libeazelinstall.so %{prefix}/lib/libtrilobite-service.so %{prefix}/lib/libtrilobite.so %defattr(0444, bin, bin) %config %{sysconfdir}/pam.d/eazel-helper %config %{sysconfdir}/security/console.apps/eazel-helper %{prefix}/share/oaf/Nautilus_View_install.oaf %{prefix}/share/oaf/Trilobite_Service_install.oaf %{prefix}/share/oaf/Nautilus_View_change-password.oaf %{prefix}/share/oaf/Nautilus_View_services-summary.oaf %{prefix}/share/oaf/Trilobite_Service_inventory.oaf %{prefix}/share/oaf/Nautilus_View_inventory.oaf %files extras %defattr(0444, bin, bin) %{prefix}/share/nautilus/nautilus-extras.placeholder %files suggested %defattr(0444, bin, bin) %{prefix}/share/nautilus/nautilus-suggested.placeholder