nautilus/nautilus.spec.in
Eskil Heyn Olsen 46e737cc25 Added the server directory.
* components/services/install/Makefile.am:
	Added the server directory.

	* components/services/install/command-line/Makefile.am:
	*
	components/services/install/command-line/eazel-alt-install-corba.c:
	(set_parameters_from_command_line),
	(eazel_download_progress_signal), (eazel_install_progress_signal),
	(download_failed), (install_failed), (dep_check), (create_package),
	(done), (main):
	* components/services/install/command-line/genpkg_list.example:
	Vamping together yet another eazel-alt-install that uses the new
	corba service installer.

	* components/services/install/idl/trilobite-eazel-install.idl:
	* components/services/install/lib/Makefile.am:
	* components/services/install/lib/eazel-install-corba-callback.c:
	(impl_download_progress), (impl_download_failed), (impl_dep_check),
	(impl_install_progress), (impl_uninstall_progress),
	(impl_install_failed), (impl_uninstall_failed), (impl_done),
	(eazel_install_callback_get_epv),
	(eazel_install_callback_create_corba_object),
	(eazel_install_callback_destroy),
	(eazel_install_callback_class_initialize),
	(eazel_install_callback_initialize),
	(eazel_install_callback_get_type), (eazel_install_callback_new),
	(eazel_install_callback_corba):
	* components/services/install/lib/eazel-install-corba-callback.h:
	* components/services/install/lib/eazel-install-corba-types.c:
	(corba_packagestructlist_from_packagedata_list),
	(corba_packagedatastructlist_from_packagedata_list),
	(corba_packagedatastruct_from_packagedata),
	(corba_packagestruct_from_packagedata),
	(packagedata_list_from_corba_packagestructlist),
	(packagedata_list_from_corba_packagedatastructlist),
	(packagedata_from_corba_packagedatastruct),
	(packagedata_from_corba_packagestruct):
	* components/services/install/lib/eazel-install-corba-types.h:
	* components/services/install/lib/eazel-install-corba.c:
	(impl_Eazel_Install_install), (impl_Eazel_Install_uninstall),
	(impl_Eazel_Install_install_packages),
	(impl_Eazel_Install_uninstall_packages),
	(impl_Eazel_Install__set_verbose),
	(impl_Eazel_Install__get_verbose),
	(impl_Eazel_Install__set_silent), (impl_Eazel_Install__get_silent),
	(impl_Eazel_Install__set_test_mode),
	(impl_Eazel_Install__get_test_mode),
	(impl_Eazel_Install__set_force), (impl_Eazel_Install__get_force),
	(impl_Eazel_Install__set_update), (impl_Eazel_Install__get_update),
	(impl_Eazel_Install__set_tmp_dir),
	(impl_Eazel_Install__get_tmp_dir),
	(impl_Eazel_Install__set_server), (impl_Eazel_Install__get_server),
	(impl_Eazel_Install__set_server_port),
	(impl_Eazel_Install__get_server_port),
	(impl_Eazel_Install__set_log_file),
	(impl_Eazel_Install__get_log_file),
	(impl_Eazel_Install__set_protocol),
	(impl_Eazel_Install__get_protocol), (eazel_install_get_epv),
	(eazel_install_create_corba_object):
	* components/services/install/lib/eazel-install-object.c:
	(eazel_install_set_arg), (eazel_install_class_initialize),
	(eazel_install_initialize), (eazel_install_get_type),
	(eazel_install_new_with_config),
	(eazel_install_fetch_remote_package_list),
	(eazel_install_open_log), (eazel_install_install_packages),
	(eazel_install_uninstall), (eazel_install_emit_install_progress),
	(eazel_install_emit_install_progress_default),
	(eazel_install_emit_download_progress),
	(eazel_install_emit_download_progress_default),
	(eazel_install_emit_download_failed),
	(eazel_install_emit_download_failed_default),
	(eazel_install_emit_install_failed),
	(eazel_install_emit_install_failed_default),
	(eazel_install_emit_uninstall_failed),
	(eazel_install_emit_dependency_check),
	(eazel_install_emit_dependency_check_default),
	(eazel_install_emit_done), (eazel_install_emit_done_default):
	* components/services/install/lib/eazel-install-private.h:
	* components/services/install/lib/eazel-install-protocols.c:
	(get_url_for_package), (get_search_url_for_package):
	* components/services/install/lib/eazel-install-public.h:
	* components/services/install/lib/eazel-install-rpm-glue.c:
	(install_new_packages), (download_all_packages),
	(install_all_packages), (rpm_show_progress), (do_rpm_install),
	(eazel_install_prune_packages_helper),
	(eazel_install_prepare_rpm_system),
	(eazel_install_add_headers_to_rpm_set),
	(eazel_install_fetch_rpm_dependencies), (print_package_list),
	(eazel_install_ensure_deps), (ei_extract_attributes),
	(eazel_install_query_package_system):
	* components/services/install/lib/eazel-install-rpm-glue.h:
	* components/services/install/lib/eazel-install-types.c:
	(rpmfilename_from_packagedata):
	* components/services/install/lib/eazel-install-types.h:
	*
	components/services/install/lib/trilobite-eazel-install-service.oaf
	info:
	* components/services/install/server/Makefile.am:
	*
	components/services/install/server/trilobite-eazel-install-service.
	oafinfo:
	Added a load of stuff to make the install service a corba
	service. There are corba/c converters in
	eazel-install-corba-types, moved a load of the corba magic into
	eazel-install-corba.c and created a gtk+ object in
	eazel-install-corba-callback that embodies the client interface to
	the install service.

	* components/services/time/service/Makefile.am:
	* components/services/time/service/trilobite-eazel-time-service.c:
	(trilobite_eazel_time_service_initialize):
	Changed the default url to the new testmachine.

	*
	components/services/trilobite/libtrilobite/trilobite-core-distribut
	ion.c: (trilobite_get_distribution_name),
	(trilobite_get_distribution_enum):
	*
	components/services/trilobite/libtrilobite/trilobite-core-distribut
	ion.h:
	Added call to get the distro enum from the generated string. Used
	for the corbafication of libinstall.

	* configure.in:
	Added the server dir makefile for services/install/server

	* nautilus-installer/src/HACKING:
	* nautilus-installer/src/Makefile:
	* nautilus-installer/src/Makefile.am:
	* nautilus-installer/src/installer.c: (installer):
	* nautilus-installer/src/interface.c: (create_window):
	* nautilus-installer/src/link.sh:
	* nautilus-installer/src/prescript:
	Updated to still work, as long as libinstall is compiled using
	EAZEL_INSTALL_NO_CORBA (see the hacking file)

	* nautilus.spec.in:
	Changed gnome-xml to libxml
2000-06-21 21:08:12 +00:00

151 lines
4 KiB
RPMSpec

# Note this is NOT a relocatable thing :)
%define name nautilus
%define ver @VERSION@
%define RELEASE prw2
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
%define prefix /usr
%define sysconfdir /etc
Name: %name
Summary: Nautilus is an open-source file manager and graphical shell.
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 >= 1.2.8
Requires: gtk+ >= 1.2.8
Requires: imlib >= 1.9.8
Requires: libxml >= 1.8.7
Requires: w3c-libwww >= 5.2.8
Requires: gnome-libs >= 1.2.1
Requires: GConf >= 0.5
Requires: gnet >= 1.0.3
Requires: ORbit >= 0.5.1
Requires: oaf >= 0.3.0
Requires: gnome-vfs >= 0.1
Requires: gtkhtml >= 0.4
Requires: gdk-pixbuf >= 0.8.0
Requires: bonobo >= 0.15
Requires: eog >= 0.3
Requires: popt >= 1.5
%description
Nautilus is an open-source file manager and graphical shell being
developed by Eazel, Inc. and others. It is part of the GNOME project, and its
source code can be found in the GNOME CVS repository. Nautilus is still in
the early stages of development. It will become an integral part of the
GNOME desktop environment when it is finished.
%package devel
Summary: Libraries and include files for developing nautilus components
Group: Development/Libraries
Requires: %name = %{PACKAGE_VERSION}
Obsoletes: %{name}-devel
%description devel
This package provides the necessary development libraries and include
files to allow you to develop nautilus components.
%changelog
* Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com>
- created this thing
%prep
%setup
%build
%ifarch alpha
MYARCH_FLAGS="--host=alpha-redhat-linux"
%endif
LC_ALL=""
LINGUAS=""
LANG=""
export LC_ALL LINGUAS LANG
CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{prefix} \
--enable-eazel-services \
--sysconfdir=%{sysconfdir}
if [ "$SMP" != "" ]; then
(make "MAKE=make -k -j $SMP"; exit 0)
make
else
make
fi
%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
make 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
%postun -p /sbin/ldconfig
%files
%defattr(0555, bin, bin)
%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
%{prefix}/bin/*
%{prefix}/lib/lib*.so*
%defattr (0444, bin, bin)
%config /etc/vfs/modules/*conf
%{prefix}/share/gnome/apps/Applications/*.desktop
%{prefix}/share/hyperbola/maps/*map
%{prefix}/share/locale/da/LC_MESSAGES/*.mo
%{prefix}/share/locale/fr/LC_MESSAGES/*.mo
%{prefix}/share/locale/gl/LC_MESSAGES/*.mo
%{prefix}/share/locale/ja/LC_MESSAGES/*.mo
%{prefix}/share/locale/ko/LC_MESSAGES/*.mo
%{prefix}/share/locale/no/LC_MESSAGES/*.mo
%{prefix}/share/locale/ru/LC_MESSAGES/*.mo
%{prefix}/share/locale/sv/LC_MESSAGES/*.mo
%{prefix}/share/locale/tr/LC_MESSAGES/*.mo
%{prefix}/share/nautilus/*.xml
%{prefix}/share/nautilus/backgrounds/*.jpg
%{prefix}/share/nautilus/backgrounds/*.png
%{prefix}/share/nautilus/emblems/*.gif
%{prefix}/share/nautilus/linksets/*.xml
%{prefix}/share/nautilus/top/*.html
%{prefix}/share/nautilus/top/*.link
%{prefix}/share/ntl-web-search/*.eng
%{prefix}/share/oaf/*.oafinfo
%{prefix}/share/pixmaps/nautilus*.*
%{prefix}/share/pixmaps/trilobite*
%{prefix}/share/pixmaps/nautilus/*.gif
%{prefix}/share/pixmaps/nautilus/*.png
%{prefix}/share/pixmaps/nautilus/eazel/*.png
%{prefix}/share/pixmaps/nautilus/eazel/*.svg
%{prefix}/share/pixmaps/nautilus/eazel/*.xml
%{prefix}/share/pixmaps/nautilus/vector/*.svg
%{prefix}/share/pixmaps/nautilus/vector/*.xml
%files devel
%defattr(0555, bin, bin)
%{prefix}/lib/*a
%defattr(0444, bin, bin)
%{prefix}/idl/*.idl
%{prefix}/include/libnautilus/*.h
%{prefix}/include/librsvg/*.h
%{prefix}/include/libtrilobite/*.h