mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-19 15:51:40 +00:00
8491d1a326
* components/Makefile.am: Rearranged so libeazelinstall is built before rpmview * components/help/Makefile.am: Added a missing .h file so make dist works * components/rpmview/Makefile.am: * components/rpmview/nautilus-rpm-view-install.c: (nautilus_rpm_view_download_progress_signal), (nautilus_rpm_view_install_progress_signal), (nautilus_rpm_view_download_failed), (nautilus_rpm_view_install_failed_helper), (nautilus_rpm_view_install_failed), (nautilus_rpm_view_dependency_check), (nautilus_rpm_view_install_done), (nautilus_rpm_view_install_package_callback): * components/rpmview/nautilus-rpm-view-install.h: * components/rpmview/nautilus-rpm-view.c: (nautilus_rpm_view_initialize): Added a callback and some skeleton code to the install button. So it now does rpm installs. * components/services/install/lib/Makefile.am: * components/services/install/command-line/Makefile.am: Changed the libnames. * components/services/install/command-line/eazel-alt-install-corba.c: (done), (main): * components/services/install/lib/eazel-install-corba-callback.c: (eazel_install_callback_destroy), (eazel_install_callback_initialize), (eazel_install_callback_new), (eazel_install_callback_corba_objref), (eazel_install_callback_install_packages), (eazel_install_callback_query): * components/services/install/lib/eazel-install-corba-callback.h: * components/services/install/lib/eazel-install-corba-types.h: * components/services/install/lib/eazel-install-protocols.c: (get_search_url_for_package): * components/services/install/server/Makefile.am: * components/services/install/server/main.c: Changed the object destroction scheme, so eazel_install_callback now unrefs and destroys the bonobo object. * components/services/trilobite/sample/lib/Makefile.am: Fixed to pass make dist * nautilus-installer/src/Makefile: * nautilus-installer/src/Makefile.am: Patching so it works with the new installer libs (and still some stroking because of the static stuff) * nautilus.spec.in: * po/POTFILES.in: * test/Makefile.am: Slice and dice so make dist and rpm -ta works again.
149 lines
3.9 KiB
RPMSpec
149 lines
3.9 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/top/*.html
|
|
%{prefix}/share/nautilus/top/*.link
|
|
%{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
|