mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
cc242e85e3
2002-03-13 Gregory Leblanc <gleblanc@linuxweasel.com> * nautilus.spec.in: Big rework, less painful now. Parts from Chris Chabot, among others.
192 lines
7 KiB
RPMSpec
192 lines
7 KiB
RPMSpec
%define __spec_install_post /usr/lib/rpm/brp-compress
|
|
Name: nautilus
|
|
Summary: Nautilus is a network user environment
|
|
Version: @VERSION@
|
|
Release: 1
|
|
License: GPL
|
|
Group: User Interface/Desktop
|
|
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}-%{version}.tar.gz
|
|
Source2: fixed-ltmain.sh
|
|
URL: http://nautilus.eazel.com/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: pkgconfig >= 0.8
|
|
Requires: esound >= @ESOUND_REQUIRED@
|
|
Requires: bonobo-activation >= @BONOBO_ACTIVATION_REQUIRED@
|
|
Requires: eel2 >= @EEL_REQUIRED@
|
|
Requires: glib2 >= @GLIB_REQUIRED@
|
|
Requires: gnome-vfs2 >= @GNOME_VFS_REQUIRED@
|
|
Requires: gtk2 >= @GTK_REQUIRED@
|
|
Requires: libart_lgpl >= @ART_REQUIRED@
|
|
Requires: libbonobo >= @BONOBO_REQUIRED@
|
|
Requires: libbonoboui >= @BONOBO_UI_REQUIRED@
|
|
Requires: libgnome >= @GNOME_REQUIRED@
|
|
Requires: gnome-desktop >= @GNOME_DESKTOP_REQUIRED@
|
|
Requires: libgnomecanvas >= @GNOME_CANVAS_REQUIRED@
|
|
Requires: libgnomeui >= @GNOME_UI_REQUIRED@
|
|
Requires: librsvg2 >= @RSVG_REQUIRED@
|
|
Requires: libxml2 >= @XML_REQUIRED@
|
|
BuildRequires: esound-devel >= @ESOUND_REQUIRED@
|
|
BuildRequires: bonobo-activation-devel >= @BONOBO_ACTIVATION_REQUIRED@
|
|
BuildRequires: eel2-devel >= @EEL_REQUIRED@
|
|
BuildRequires: glib2-devel >= @GLIB_REQUIRED@
|
|
BuildRequires: gnome-vfs2-devel >= @GNOME_VFS_REQUIRED@
|
|
BuildRequires: gtk2-devel >= @GTK_REQUIRED@
|
|
BuildRequires: libart_lgpl-devel >= @ART_REQUIRED@
|
|
BuildRequires: libbonobo-devel >= @BONOBO_REQUIRED@
|
|
BuildRequires: libbonoboui-devel >= @BONOBO_UI_REQUIRED@
|
|
BuildRequires: libgnome-devel >= @GNOME_REQUIRED@
|
|
BuildRequires: gnome-desktop-devel >= @GNOME_DESKTOP_REQUIRED@
|
|
BuildRequires: libgnomecanvas-devel >= @GNOME_CANVAS_REQUIRED@
|
|
BuildRequires: libgnomeui-devel >= @GNOME_UI_REQUIRED@
|
|
BuildRequires: librsvg2-devel >= @RSVG_REQUIRED@
|
|
BuildRequires: libxml2-devel >= @XML_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 = %{version}
|
|
Requires: pkgconfig >= 0.8
|
|
Requires: esound >= @ESOUND_REQUIRED@
|
|
Requires: esound-devel >= @ESOUND_REQUIRED@
|
|
Requires: bonobo-activation >= @BONOBO_ACTIVATION_REQUIRED@
|
|
Requires: bonobo-activation-devel >= @BONOBO_ACTIVATION_REQUIRED@
|
|
Requires: eel2 >= @EEL_REQUIRED@
|
|
Requires: eel2-devel >= @EEL_REQUIRED@
|
|
Requires: glib2 >= @GLIB_REQUIRED@
|
|
Requires: glib2-devel >= @GLIB_REQUIRED@
|
|
Requires: gnome-vfs2 >= @GNOME_VFS_REQUIRED@
|
|
Requires: gnome-vfs2-devel >= @GNOME_VFS_REQUIRED@
|
|
Requires: gtk2 >= @GTK_REQUIRED@
|
|
Requires: gtk2-devel >= @GTK_REQUIRED@
|
|
Requires: libart_lgpl >= @ART_REQUIRED@
|
|
Requires: libart_lgpl-devel >= @ART_REQUIRED@
|
|
Requires: libbonobo >= @BONOBO_REQUIRED@
|
|
Requires: libbonobo-devel >= @BONOBO_REQUIRED@
|
|
Requires: libbonoboui >= @BONOBO_UI_REQUIRED@
|
|
Requires: libbonoboui-devel >= @BONOBO_UI_REQUIRED@
|
|
Requires: libgnome >= @GNOME_REQUIRED@
|
|
Requires: libgnome-devel >= @GNOME_REQUIRED@
|
|
Requires: gnome-desktop >= @GNOME_DESKTOP_REQUIRED@
|
|
Requires: gnome-desktop-devel >= @GNOME_DESKTOP_REQUIRED@
|
|
Requires: libgnomecanvas >= @GNOME_CANVAS_REQUIRED@
|
|
Requires: libgnomecanvas-devel >= @GNOME_CANVAS_REQUIRED@
|
|
Requires: libgnomeui >= @GNOME_UI_REQUIRED@
|
|
Requires: libgnomeui-devel >= @GNOME_UI_REQUIRED@
|
|
Requires: librsvg2 >= @RSVG_REQUIRED@
|
|
Requires: librsvg2-devel >= @RSVG_REQUIRED@
|
|
Requires: libxml2 >= @XML_REQUIRED@
|
|
Requires: libxml2-devel >= @XML_REQUIRED@
|
|
|
|
|
|
%description devel
|
|
This package provides the necessary development libraries and include
|
|
files to allow you to develop Nautilus components.
|
|
|
|
%prep
|
|
%setup -q
|
|
mv ltmain.sh ltmain.sh.orig
|
|
sed s/relink=yes/relink=no/ ltmain.sh.orig > ltmain.sh
|
|
|
|
%build
|
|
%configure
|
|
rm ltmain.sh && cp %{SOURCE2} ltmain.sh
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
%makeinstall
|
|
|
|
%find_lang %name
|
|
|
|
%clean
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
/usr/bin/scrollkeeper-update
|
|
|
|
%files -f %name.lang
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB ChangeLog INSTALL
|
|
%doc MAINTAINERS NEWS README THANKS TODO
|
|
%doc %{_datadir}/gnome/help/*
|
|
%{_sysconfdir}/X11/serverconfig/.directory
|
|
%{_sysconfdir}/X11/starthere/*
|
|
%{_sysconfdir}/X11/starthere/.directory
|
|
%{_sysconfdir}/X11/sysconfig/.directory
|
|
%{_bindir}/*
|
|
%{_libdir}/*.so*
|
|
%{_libdir}/libnautilus-tree-view.so
|
|
%{_libdir}/bonobo/servers/*
|
|
%{_datadir}/applications/*
|
|
%{_datadir}/gnome-2.0/ui/*
|
|
%{_datadir}/idl/*
|
|
%{_datadir}/nautilus
|
|
%doc %{_datadir}/omf/nautilus/*
|
|
%{_datadir}/pixmaps/*
|
|
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{_includedir}/*
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*a
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
|
%changelog
|
|
* Tue Mar 05 2002 Chris Chabot <chabotc@reviewboard.com>
|
|
- Fixed file list
|
|
- ltmain.sh fix
|
|
- fixed last format issues
|
|
- converted to .spec.in
|
|
|
|
* Mon Feb 04 2002 Roy-Magne Mo <rmo@sunnmore.net>
|
|
- Fixed lang
|
|
|
|
* Sun Feb 03 2002 Roy-Magne Mo <rmo@sunnmore.net>
|
|
- Added buildrequires
|
|
|
|
* Sat Jan 19 2002 Chris Chabot <chabotc@reviewboard.com>
|
|
- Minor changes & restored macro's
|
|
- Major cleanups
|
|
- Moved versions to defines
|
|
- Since entry below hints at removing sugested, extras, remove their headers
|
|
|
|
* Fri Jan 18 2002 <builder@localhost.localdomain>
|
|
- removed some unnecessary %defines
|
|
- got rid of suggested and extras packages, to make life easier
|
|
- re-write %files section from scratch
|
|
- made setup quiet
|
|
- fixed %post and %postun scripts
|
|
- removed -k from make lines (it's silly for RPMs)
|
|
|
|
* Tue Apr 17 2001 Gregory Leblanc <gleblanc@grego1.cu-portland.edu>
|
|
- Added BuildRequires lines
|
|
- Changed Source to point to ftp.gnome.org instead of just the tarball name
|
|
- Moved %description sections closer to their %package sections
|
|
- Moved %changelog to the end, where so that it's not in the way
|
|
- Changed configure and make install options to allow moving of
|
|
libraries, includes, binaries more easily
|
|
- Removed hard-coded paths (don't define %prefix or %docdir)
|
|
- replace %{prefix}/bin with %{_bindir}
|
|
- replace %{prefix}/share with %{_datadir}
|
|
- replace %{prefix}/lib with %{_libdir}
|
|
- replace %{prefix}/include with %{_includedir}
|
|
|
|
* 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
|