nautilus/nautilus.spec

445 lines
14 KiB
RPMSpec

%define glib2_version 2.0.0
%define gtk2_version 2.0.2
%define libgnomeui_version 1.117.2
%define eel2_version 1.1.17
%define libxml2_version 2.4.20
%define eog_version 0.118.0-4
%define gail_version 0.15
Name: nautilus
Summary: Nautilus is a file manager for GNOME
Version: 1.1.19
Release: 3
Copyright: GPL
Group: User Interface/Desktops
Source: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/%{name}-%{version}.tar.bz2
URL: http://www.gnome.org
BuildRoot: /var/tmp/%{name}-%{version}-root
Requires: fam
Requires: filesystem >= 2.1.1-1
Requires: eog >= %{eog_version}
PreReq: scrollkeeper >= 0.1.4
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
BuildRequires: libxml2-devel >= %{libxml2_version}
BuildRequires: eel2-devel >= %{eel2_version}
BuildRequires: gail-devel >= %{gail_version}
BuildRequires: fam-devel
BuildRequires: /usr/bin/automake-1.4
BuildRequires: autoconf
BuildRequires: librsvg2
BuildRequires: intltool
Obsoletes: nautilus-extras
Obsoletes: nautilus-suggested
Obsoletes: nautilus-devel
Provides: nautilus-devel
Patch1: nautilus-1.0.5-bookmarks.patch
Patch2: nautilus-1.0.5-new_theme.patch
Patch3: nautilus-1.0.3-no-dialog.patch
Patch4: nautilus-1.0.3.2-useredhattheme.patch
Patch8: nautilus-1.0.4-noflash.patch
# Fixes and hacks for more efficient desktop backgrounds
Patch13: nautilus-1.0.5-bghack.patch
Patch16: nautilus-1.0.4-norootwarning.patch
Patch19: nautilus-1.0.5-monitorfavorites.patch
Patch20: nautilus-1.0.5-showonlydirectories.patch
Patch21: nautilus-1.0.5-unwritable.patch
Patch22: nautilus-1.0.6-mozilla-profile-startup.patch
Patch23: nautilus-1.0.6-ac25.patch
Patch24: nautilus-1.0.6-omf-encoding.patch
Patch25: nautilus-1.0.6-pixbufcache.patch
Patch26: nautilus-1.0.6-thumbnails.patch
Patch27: nautilus-1.0.6-syncsomecvs.patch
Patch28: nautilus-1.0.6-metafilerace.patch
Patch29: nautilus-1.0.6-thumbnailspeed.patch
Patch30: nautilus-1.0.6-trash.patch
%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.
%prep
%setup -q -n %{name}-%{version}
#%patch1 -p0 -b .bookmarks
#%patch2 -p1 -b .new_theme
#%patch3 -p1 -b .no-dialog
#%patch4 -p1 -b .useredhattheme
#%patch8 -p1 -b .noflash
#%patch13 -p1 -b .bghack
#%patch16 -p0 -b .norootwarning
#%patch19 -p0 -b .monitorfavorites
#%patch20 -p0 -b .showonlydirectories
#%patch21 -p0 -b .unwritable
# upstream
#%patch22 -p1 -b .profile
#%patch24 -p1 -b .omf-encoding
#%patch25 -p1 -b .pixbufcache
# upstream
#%patch26 -p1 -b .thumbnails
#%patch27 -p0 -b .syncsomecvs
#%patch28 -p1 -b .metafilerace
#%patch29 -p1 -b .thumbnailspeed
#%patch30 -p1 -b .trash
%build
## some temporary hackage, take out next time we build
if test -f %{_libdir}/libgailutil.so.13; then
echo "libgailutil.so.13 installed"
exit 1
fi
if test -f %{_libdir}/libgailutil.so.15; then
echo "libgailutil.so.15 installed"
else
echo "No libgailutil.so.15"
exit 1
fi
CFLAGS="$RPM_OPT_FLAGS -g" %configure --disable-more-warnings
make
%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
%find_lang %name
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
scrollkeeper-update
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="apps_nautilus_preferences.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
done
%postun
/sbin/ldconfig
scrollkeeper-update
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB TRADEMARK_NOTICE ChangeLog NEWS README
%{_libdir}/*.so.*
%{_libdir}/*.so
%{_libdir}/bonobo/servers
%{_datadir}/gnome-2.0
%{_datadir}/nautilus
%{_datadir}/pixmaps
#%{_datadir}/gnome
#%{_datadir}/omf
%{_bindir}/*
%{_sysconfdir}/gconf/schemas/*
%{_sysconfdir}/X11/*
%{_libdir}/pkgconfig
%{_includedir}/libnautilus
%changelog
* Sat Jun 8 2002 Havoc Pennington <hp@redhat.com>
- add build requires on new gail
- rebuild to try to lose broken libgailutil.so.13 dependency
* Sat Jun 08 2002 Havoc Pennington <hp@redhat.com>
- rebuild in different environment
* Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
- 1.1.19
* Fri May 31 2002 Havoc Pennington <hp@redhat.com>
- rebuild in different environment
* Thu May 30 2002 Havoc Pennington <hp@redhat.com>
- really remove nautilus-devel if we are going to obsolete it
- don't require hwbrowser
* Sun May 26 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
- rebuild in different environment
* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
- 1.1.17
* Fri May 3 2002 Havoc Pennington <hp@redhat.com>
- 1.1.14
* Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
- require eog
- obsolete nautilus-devel
- fix name of schemas file in post
* Mon Apr 22 2002 Alex Larsson <alexl@redhat.com>
- Update to 1.1.13
* Fri Apr 19 2002 Havoc Pennington <hp@redhat.com>
- put tree view in file list
* Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
- nautilus for gnome 2
- clean up the spec file and file list a bit
* Mon Apr 15 2002 Havoc Pennington <hp@redhat.com>
- merge translations
* Thu Apr 4 2002 Alex Larsson <alexl@redhat.com>
- Add patch to fix trash crash
* Mon Apr 1 2002 Havoc Pennington <hp@redhat.com>
- fix for metadata tmp race
- backport thumbnail speed fix and thumbnail inf. loop fix
* Mon Mar 25 2002 Havoc Pennington <hp@redhat.com>
- add some fixes from CVS version, including one for #61819 and a couple segfaults
* Wed Mar 20 2002 Havoc Pennington <hp@redhat.com>
- fix thumbnails for files with future timestamp, #56862
* Mon Mar 11 2002 Havoc Pennington <hp@redhat.com>
- buildrequires intltool #60633
- apply Alex's pixbuf cache patch to save a few megs #60581
* Wed Feb 27 2002 Havoc Pennington <hp@redhat.com>
- drop Milan-specific features, including png10 and ac25 patches
- copy in 1.0.5 help component to avoid large risky patch
- remove .la files
- drop mozilla from ia64 again
- remove oaf file from nautilus-mozilla that was also in the base
package
* Mon Jan 28 2002 Bill Nottingham <notting@redhat.com>
- enable mozilla support on ia64
* Fri Dec 28 2001 Christopher Blizzard <blizzard@redhat.com>
- require Mozilla 0.9.7
- Add patch that puts mozilla profile startup before embedding is initialized
* Tue Nov 20 2001 Havoc Pennington <hp@redhat.com>
- 1.0.6, require Mozilla 0.9.6
* Tue Oct 23 2001 Alex Larsson <alexl@redhat.com>
- Update to 1.0.5
* Thu Sep 6 2001 Owen Taylor <otaylor@redhat.com>
- Fix handling of GnomeVFSFileInfo structure (#53315)
* Wed Sep 5 2001 Owen Taylor <otaylor@redhat.com>
- Change handling of names on unmount to fix #52325
* Tue Sep 4 2001 Havoc Pennington <hp@redhat.com>
- put nautilus-help.desktop in file list; #53109
* Fri Aug 31 2001 Havoc Pennington <hp@redhat.com>
- Add po files from sources.redhat.com
* Mon Aug 27 2001 Havoc Pennington <hp@redhat.com>
- Add po files from sources.redhat.com
* Thu Aug 23 2001 Alex Larsson <alexl@redhat.com> 1.0.4-38
- Added patch to fix the .directory issuer
* Thu Aug 23 2001 Havoc Pennington <hp@redhat.com>
- I screwed up the build yesterday, so it didn't actually contain the
fixes mentioned. This build should contain them.
* Wed Aug 22 2001 Havoc Pennington <hp@redhat.com>
- fix bug causing 32000 stats or so in large directories,
should speed things up somewhat
- fix #52104 via gruesome kdesktop-detection hack and setting
window type hint on our desktop window
- fix so Start Here icon displays in sidebar
- don't load non-local .desktop files
* Mon Aug 20 2001 Havoc Pennington <hp@redhat.com>
- make Programs icon into a link, to match the other .desktop files
- own various directories #51164
- web page titles in Japanese, #51709
- tree defaults to only directories #51850
* Wed Aug 15 2001 Havoc Pennington <hp@redhat.com>
- make start here icon work again
- kill some warning spew, #51661
- cache getpwnam() results to speed things up a bit
* Tue Aug 14 2001 Owen Taylor <otaylor@redhat.com>
- Fix problem with missing desktop starthere.desktop file
- New snapshot from our branch, fixes:
- On upgrade, icons migrated from GNOME desktop are not properly lined up
(#51436)
- icons dropped on the desktop don't end up where dropped. (#51441)
- Nautilus shouldn't have fam monitor read-only windows. This
keeps CDROMS from being unmounted until you close all
nautilus windows pointing to them. (#51442)
- Warnings about 'cannot statfs...' when moving items to trash.
- Use separate start-here.desktop for panel, since the one used
for the root window only works from Nautilus.
* Fri Aug 10 2001 Alexander Larsson <alexl@redhat.com>
- Changed starthere .desktop files to be links instead
- of spawning a new nautilus. This makes start-here:
- much faster.
* Thu Aug 9 2001 Alexander Larsson <alexl@redhat.com>
- Added hwbrowser dependency
- New snapshot, fixes the mozilla-view submit form problem
* Wed Aug 8 2001 Jonathan Blandford <jrb@redhat.com>
- Rebuild with new xml-i18n-tools
- fix crash in creating new desktop files
* Tue Aug 7 2001 Jonathan Blandford <jrb@redhat.com>
- Fix up DnD code some more
* Thu Aug 02 2001 Havoc Pennington <hp@redhat.com>
- Sync our CVS version; fixes some MUSTFIX
(the one about drawing background on startup,
properly translate desktop files, etc.)
* Wed Aug 1 2001 Alexander Larsson <alexl@redhat.com> 1.0.4-24
- Fix 64bit cleanness issue
- Fix NULL mimetype crash
- Disable additional_text for .desktop files
* Tue Jul 31 2001 Alexander Larsson <alexl@redhat.com> 1.0.4-23
- Fix unmounting devices.
* Tue Jul 31 2001 Alexander Larsson <alexl@redhat.com> 1.0.4-22
- Make it depend on gnome-vfs-1.0.1-13. Needed for .desktop
- mimetype sniffing.
* Mon Jul 30 2001 Alexander Larsson <alexl@redhat.com> 1.0.4-21
- Remove the "don't run as root" warning.
- Remove eazel from bookmarks
- langified (again? did someone change it?)
* Fri Jul 27 2001 Alexander Larsson <alexl@redhat.com>
- Apply a patch that makes nautilus dnd reset work with the latest
- eel release.
* Thu Jul 26 2001 Alexander Larsson <alexl@redhat.com>
- Build on ia64 without the mozilla component.
* Wed Jul 25 2001 Havoc Pennington <hp@redhat.com>
- Fix crash-on-startup showstopper
- Fix can't-find-images bug (this one was only showing up
when built with debug symbols, since it was an uninitialized memory
read)
* Tue Jul 24 2001 Havoc Pennington <hp@redhat.com>
- sync new tarball from our CVS branch,
fixes some drag-and-drop, changes URI scheme names,
etc.
* Tue Jul 24 2001 Owen Taylor <otaylor@redhat.com>
- Add BuildRequires (#49539, 49537)
- Fix %%post, %%postun (#49720)
- Background efficiency improvements and hacks
* Fri Jul 13 2001 Alexander Larsson <alexl@redhat.com>
- Don't launch esd on each mouseover.
* Wed Jul 11 2001 Havoc Pennington <hp@redhat.com>
- move first time druid patch into my "CVS outstanding" patch
- try to really remove Help/Feedback
- try to really fix Help/Community Support
- try again to get Start Here in the Go menu
- try again to get Start Here on the desktop
- don't show file sizes for .desktop files
* Tue Jul 10 2001 Havoc Pennington <hp@redhat.com>
- add newline to ends of .desktop files that were missing them
* Tue Jul 10 2001 Havoc Pennington <hp@redhat.com>
- update to my latest 'cvs diff -u' (adds default
Start Here link, displays .directory name in sidebar)
- include /etc/X11/* links (starthere, sysconfig, serverconfig)
* Tue Jul 10 2001 Jonathan Blandford <jrb@redhat.com>
- Patch to remove firsttime druid and flash
* Mon Jul 09 2001 Havoc Pennington <hp@redhat.com>
- add hacks for displaying desktop files
- add hack to turn off the "unwriteable" emblem
* Sun Jul 8 2001 Tim Powers <timp@redhat.com>
- added defattr to the files lists to be (-,root,root)
- languified
* Sat Jul 7 2001 Alexander Larsson <alexl@redhat.com>
- Need to run autoheader too.
* Fri Jul 6 2001 Alexander Larsson <alexl@redhat.com>
- Make the fam dependency a real runtime dependency
- by linking to libfam (nautilus-1.0.4-fam-lib.patch)
- Cleaned up specfile.
* Fri Jul 6 2001 Alexander Larsson <alexl@redhat.com>
- Change default background and rubberband color.
- Use the sidebar tabs from the default theme
- BuildDepend on fam-devel, depend on fam
- Disable the eazel update pages in the first-time druid.
- Remove the eazel logo from the first-time druid
* Thu Jul 05 2001 Havoc Pennington <hp@redhat.com>
- 1.0.4, removes eazel services icon and wizard page
- Eazel logo is still in startup wizard for now, needs fixing
* Tue Jul 03 2001 Havoc Pennington <hp@redhat.com>
- fix group (s/Desktop/Desktops/) #47134
- remove ammonite dependency
* Wed Jun 27 2001 Havoc Pennington <hp@redhat.com>
- add a different default theme
- clean up file list overspecificity a bit
* Tue Jun 26 2001 Havoc Pennington <hp@redhat.com>
- move to a CVS snapshot of nautilus for now
(Darin is my hero for having distcheck work out of CVS)
* Thu May 10 2001 Jonathan Blandford <jrb@redhat.com>
- clean up defaults a bit
* Wed May 9 2001 Jonathan Blandford <jrb@redhat.com>
- New version
* 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