nautilus.spec.in 7.2 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
%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
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:         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:    libgnomeui-devel >= @GNOME_UI_REQUIRED@
BuildRequires:    librsvg2-devel >= @RSVG_REQUIRED@
BuildRequires:    libxml2-devel >= @XML_REQUIRED@
40

41

42
%description
43 44 45 46 47
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.
48 49

%package devel
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
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:         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@

83

84 85 86 87
%description devel
This package provides the necessary development libraries and include
files to allow you to develop Nautilus components.

88
%prep
89 90 91
%setup -q
mv ltmain.sh ltmain.sh.orig
sed s/relink=yes/relink=no/ ltmain.sh.orig > ltmain.sh
92 93

%build
94 95
%configure
make %{?_smp_mflags}
Robin Slomkowski's avatar
Robin Slomkowski committed
96

97 98
%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
99
%makeinstall
100

101
%find_lang %name
102 103 104 105 106 107

%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

%post

108 109 110 111 112 113 114 115
%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
116 117
#%doc %{_datadir}/gnome/help/*
%{_sysconfdir}/gconf/*
118 119 120 121 122 123
%{_sysconfdir}/X11/serverconfig/.directory
%{_sysconfdir}/X11/starthere/*
%{_sysconfdir}/X11/starthere/.directory
%{_sysconfdir}/X11/sysconfig/.directory
%{_bindir}/*
%{_libdir}/*.so*
124
%{_libdir}/bonobo/libnautilus-*-view.so
125
%{_libdir}/bonobo/servers/*
126
%{_libexecdir}/*
127 128 129 130
%{_datadir}/applications/*
%{_datadir}/gnome-2.0/ui/*
%{_datadir}/idl/*
%{_datadir}/nautilus
131
%{_datadir}/locale/*/*
132
%{_datadir}/pixmaps/*
133 134
%{_datadir}/gnome/network/*
#%doc %{_datadir}/omf/nautilus/*
135

136

137
%files devel
138 139 140 141 142
%defattr(-, root, root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*a
%{_libdir}/pkgconfig/*
143

144 145

%changelog
146 147 148 149 150 151 152 153 154
* Tue Mar 12 2003 Neil Weisenfeld <weisen@ai.mit.edu>
- Added various file targets: gnome/network, the libexecdir stuff,
  locale, gconf (do we need to register this somehow?)
- Fixed nautilus-tree-view to come from lib/bonobo instead of lib/
- Actually, now pick up nautilus-*-view.so from lib/bonobo
- Commented out omf and gnome/help documentation.  (should this be
  coming from somewhere else?)
- killed dependence on ltmain-fixed.sh as we're "fixing" it in the %prep

155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
* 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)

181 182 183 184 185 186
* 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
187
libraries, includes, binaries more easily
188 189 190 191 192
- 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}
193

194 195 196 197 198 199
* 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