mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
dd7a9c4e32
2000-10-24 Josh Barrow <josh@eazel.com> * nautilus.spec.in: Make it require 3.0.4 or *greater*. I'm using 3.0.5 and it works fine.
291 lines
8.9 KiB
RPMSpec
291 lines
8.9 KiB
RPMSpec
# Note that this is NOT a relocatable package
|
|
%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 a free 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.10
|
|
Requires: gnome-libs >= 1.2.1
|
|
Requires: GConf >= 0.10
|
|
Requires: ORBit >= 0.5.3
|
|
Requires: oaf >= 0.5.1
|
|
Requires: gnome-vfs >= 0.3.1
|
|
Requires: gdk-pixbuf >= 0.9.0
|
|
Requires: bonobo >= 0.24
|
|
Requires: popt >= 1.5
|
|
Requires: freetype2 >= 1.0beta8
|
|
Requires: medusa >= 0.2.1
|
|
|
|
%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}
|
|
|
|
%package mozilla
|
|
Summary: Component for use with mozilla
|
|
Group: User Interface/Desktop
|
|
Requires: %name = %{PACKAGE_VERSION}
|
|
Requires: mozilla >= M18
|
|
|
|
%package trilobite
|
|
Summary: Component for use with installation service
|
|
Group: User Interface/Desktop
|
|
Requires: %name = %{PACKAGE_VERSION}
|
|
Requires: ammonite >= 0.1
|
|
Requires: rpm >= 3.0.4
|
|
|
|
%package extras
|
|
Summary: Extra goodies to use with Nautilus
|
|
Group: User Interface/Desktop
|
|
Requires: xpdf >= 0.90
|
|
Requires: mpg123 >= 0.59
|
|
|
|
%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}
|
|
|
|
%description devel
|
|
This package provides the necessary development libraries and include
|
|
files to allow you to develop nautilus components.
|
|
|
|
%description mozilla
|
|
This enables the uses of embedded mozilla.
|
|
|
|
%description trilobite
|
|
This enables the use of the install rpm functionality
|
|
|
|
%description suggested
|
|
This is a meta package that requires packages usefull for running
|
|
nautilus, and getting multi media to work such as eog and mpg123
|
|
|
|
%description extras
|
|
This is usefull utilities to use with nautilus such as
|
|
|
|
%changelog
|
|
* Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com>
|
|
- removed obsoletes from sub packages and added mozilla and trilobite
|
|
subpackages
|
|
|
|
* 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
|
|
|
|
## 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" ./configure $MYARCH_FLAGS --prefix=%{prefix} \
|
|
--enable-eazel-services \
|
|
--enable-more-warnings \
|
|
--sysconfdir=%{sysconfdir}
|
|
|
|
make -k 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
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
|
|
%defattr(0555, bin, bin)
|
|
%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
|
|
%{prefix}/bin/*.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-hardware-view
|
|
%{prefix}/bin/nautilus-history-view
|
|
%{prefix}/bin/nautilus-image-view
|
|
%{prefix}/bin/nautilus-music-view
|
|
%{prefix}/bin/nautilus-notes
|
|
%{prefix}/bin/nautilus-sample-content-view
|
|
%{prefix}/bin/nautilus-sidebar-loser
|
|
%{prefix}/bin/run-nautilus
|
|
%{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
|
|
%{prefix}/share/gnome/apps/Applications/*.desktop
|
|
%{prefix}/share/gnome/ui/*.xml
|
|
%{prefix}/share/hyperbola/maps/*.map
|
|
%{prefix}/share/locale/*/LC_MESSAGES/*.mo
|
|
%{prefix}/share/nautilus/*.xml
|
|
%{prefix}/share/nautilus/backgrounds/*.jpg
|
|
%{prefix}/share/nautilus/backgrounds/*.png
|
|
%{prefix}/share/nautilus/backgrounds/.*.png
|
|
%{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/top/.*.xml
|
|
%{prefix}/share/nautilus/top/Computer
|
|
%{prefix}/share/nautilus/top/Services
|
|
%{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/backgrounds/*.png
|
|
%{prefix}/share/pixmaps/nautilus/arlo/sidebar_tab_pieces/*.png
|
|
%{prefix}/share/pixmaps/nautilus/eazel/*.png
|
|
%{prefix}/share/pixmaps/nautilus/eazel/*.xml
|
|
%{prefix}/share/pixmaps/nautilus/gnome/*.png
|
|
%{prefix}/share/pixmaps/nautilus/gnome/*.xml
|
|
%{prefix}/share/pixmaps/nautilus/throbber/*.png
|
|
%{prefix}/share/pixmaps/nautilus/gray_tab_pieces/*.png
|
|
%{prefix}/share/pixmaps/nautilus/vector/*.svg
|
|
%{prefix}/share/pixmaps/nautilus/vector/*.xml
|
|
%{prefix}/share/oaf/help-contents.oafinfo
|
|
%{prefix}/share/oaf/help-factory.oafinfo
|
|
%{prefix}/share/oaf/nautilus-adapter.oafinfo
|
|
%{prefix}/share/oaf/nautilus-content-loser.oafinfo
|
|
%{prefix}/share/oaf/nautilus-hardware-view.oafinfo
|
|
%{prefix}/share/oaf/nautilus-history-view.oafinfo
|
|
%{prefix}/share/oaf/nautilus-image-view.oafinfo
|
|
%{prefix}/share/oaf/nautilus-music-view.oafinfo
|
|
%{prefix}/share/oaf/nautilus-notes.oafinfo
|
|
%{prefix}/share/oaf/nautilus-sample-content-view.oafinfo
|
|
%{prefix}/share/oaf/nautilus-sidebar-loser.oafinfo
|
|
%{prefix}/share/oaf/nautilus-tree-view.oafinfo
|
|
%{prefix}/share/oaf/nautilus.oafinfo
|
|
|
|
%files devel
|
|
|
|
%defattr(0555, bin, bin)
|
|
%{prefix}/lib/*.la
|
|
%{prefix}/lib/vfs/modules/*.la
|
|
|
|
%defattr(0444, bin, bin)
|
|
%{prefix}/include/eazel-install/*.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-mozilla-content-view.oafinfo
|
|
|
|
%files trilobite
|
|
|
|
%defattr(0555, bin, bin)
|
|
%{prefix}/bin/eazel-install
|
|
%{prefix}/bin/nautilus-service-install-view
|
|
%{prefix}/bin/trilobite-eazel-install-service
|
|
%{prefix}/bin/trilobite-eazel-time-service
|
|
%{prefix}/bin/trilobite-eazel-time-view
|
|
%{prefix}/bin/nautilus-change-password-view
|
|
%{prefix}/bin/nautilus-summary-view
|
|
%{prefix}/bin/nautilus-rpm-view
|
|
%{prefix}/bin/eazel-time
|
|
%{prefix}/bin/eazel-gen-xml
|
|
%{prefix}/bin/eazel-vault
|
|
%{prefix}/lib/libeazelinstall.so.0
|
|
%{prefix}/lib/libeazelinstall.so.0.0.0
|
|
%{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-service-install-view.oafinfo
|
|
%{prefix}/share/oaf/trilobite-eazel-install-service.oafinfo
|
|
%{prefix}/share/oaf/trilobite-eazel-time-service.oafinfo
|
|
%{prefix}/share/oaf/trilobite-eazel-time-view.oafinfo
|
|
%{prefix}/share/oaf/nautilus-change-password-view.oafinfo
|
|
%{prefix}/share/oaf/nautilus-summary-view.oafinfo
|
|
%{prefix}/share/oaf/nautilus-rpm-view.oafinfo
|
|
|
|
%files extras
|
|
|
|
%defattr(0444, bin, bin)
|
|
%{prefix}/share/nautilus/nautilus-extras.placeholder
|
|
|
|
%files suggested
|
|
|
|
%defattr(0444, bin, bin)
|
|
%{prefix}/share/nautilus/nautilus-suggested.placeholder
|