2008-05-05 Paolo Borelli <pborelli@katamail.com>
[nautilus.git] / nautilus.spec.in
blob6ec69ee39fe8ccb42d2879b1acdd3c1b511d7b3c
1 %define __spec_install_post /usr/lib/rpm/brp-compress
2 Name: nautilus
3 Summary: Nautilus is a network user environment
4 Version: @VERSION@
5 Release: 1
6 License: GPL
7 Group: User Interface/Desktop
8 Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}-%{version}.tar.gz
9 URL: http://nautilus.eazel.com/
10 BuildRoot: %{_tmppath}/%{name}-%{version}-root
11 BuildRequires: pkgconfig >= 0.8
12 Requires: esound >= @ESOUND_REQUIRED@
13 Requires: bonobo-activation >= @BONOBO_ACTIVATION_REQUIRED@
14 Requires: eel2 >= @EEL_REQUIRED@
15 Requires: glib2 >= @GLIB_REQUIRED@
16 Requires: gnome-vfs2 >= @GNOME_VFS_REQUIRED@
17 Requires: gtk2 >= @GTK_REQUIRED@
18 Requires: libart_lgpl >= @ART_REQUIRED@
19 Requires: libbonobo >= @BONOBO_REQUIRED@
20 Requires: libbonoboui >= @BONOBO_UI_REQUIRED@
21 Requires: libgnome >= @GNOME_REQUIRED@
22 Requires: gnome-desktop >= @GNOME_DESKTOP_REQUIRED@
23 Requires: libgnomeui >= @GNOME_UI_REQUIRED@
24 Requires: librsvg2 >= @RSVG_REQUIRED@
25 Requires: libxml2 >= @XML_REQUIRED@
26 BuildRequires: esound-devel >= @ESOUND_REQUIRED@
27 BuildRequires: bonobo-activation-devel >= @BONOBO_ACTIVATION_REQUIRED@
28 BuildRequires: eel2-devel >= @EEL_REQUIRED@
29 BuildRequires: glib2-devel >= @GLIB_REQUIRED@
30 BuildRequires: gnome-vfs2-devel >= @GNOME_VFS_REQUIRED@
31 BuildRequires: gtk2-devel >= @GTK_REQUIRED@
32 BuildRequires: libart_lgpl-devel >= @ART_REQUIRED@
33 BuildRequires: libbonobo-devel >= @BONOBO_REQUIRED@
34 BuildRequires: libbonoboui-devel >= @BONOBO_UI_REQUIRED@
35 BuildRequires: libgnome-devel >= @GNOME_REQUIRED@
36 BuildRequires: gnome-desktop-devel >= @GNOME_DESKTOP_REQUIRED@
37 BuildRequires: libgnomeui-devel >= @GNOME_UI_REQUIRED@
38 BuildRequires: librsvg2-devel >= @RSVG_REQUIRED@
39 BuildRequires: libxml2-devel >= @XML_REQUIRED@
42 %description
43 Nautilus integrates access to files, applications, media, Internet-based
44 resources and the Web. Nautilus delivers a dynamic and rich user
45 experience. Nautilus is an free software project developed under the
46 GNU General Public License and is a core component of the GNOME desktop
47 project.
49 %package devel
50 Summary: Libraries and include files for developing Nautilus components
51 Group: Development/Libraries
52 Requires: %name = %{version}
53 Requires: pkgconfig >= 0.8
54 Requires: esound >= @ESOUND_REQUIRED@
55 Requires: esound-devel >= @ESOUND_REQUIRED@
56 Requires: bonobo-activation >= @BONOBO_ACTIVATION_REQUIRED@
57 Requires: bonobo-activation-devel >= @BONOBO_ACTIVATION_REQUIRED@
58 Requires: eel2 >= @EEL_REQUIRED@
59 Requires: eel2-devel >= @EEL_REQUIRED@
60 Requires: glib2 >= @GLIB_REQUIRED@
61 Requires: glib2-devel >= @GLIB_REQUIRED@
62 Requires: gnome-vfs2 >= @GNOME_VFS_REQUIRED@
63 Requires: gnome-vfs2-devel >= @GNOME_VFS_REQUIRED@
64 Requires: gtk2 >= @GTK_REQUIRED@
65 Requires: gtk2-devel >= @GTK_REQUIRED@
66 Requires: libart_lgpl >= @ART_REQUIRED@
67 Requires: libart_lgpl-devel >= @ART_REQUIRED@
68 Requires: libbonobo >= @BONOBO_REQUIRED@
69 Requires: libbonobo-devel >= @BONOBO_REQUIRED@
70 Requires: libbonoboui >= @BONOBO_UI_REQUIRED@
71 Requires: libbonoboui-devel >= @BONOBO_UI_REQUIRED@
72 Requires: libgnome >= @GNOME_REQUIRED@
73 Requires: libgnome-devel >= @GNOME_REQUIRED@
74 Requires: gnome-desktop >= @GNOME_DESKTOP_REQUIRED@
75 Requires: gnome-desktop-devel >= @GNOME_DESKTOP_REQUIRED@
76 Requires: libgnomeui >= @GNOME_UI_REQUIRED@
77 Requires: libgnomeui-devel >= @GNOME_UI_REQUIRED@
78 Requires: librsvg2 >= @RSVG_REQUIRED@
79 Requires: librsvg2-devel >= @RSVG_REQUIRED@
80 Requires: libxml2 >= @XML_REQUIRED@
81 Requires: libxml2-devel >= @XML_REQUIRED@
84 %description devel
85 This package provides the necessary development libraries and include
86 files to allow you to develop Nautilus components.
88 %prep
89 %setup -q
90 mv ltmain.sh ltmain.sh.orig
91 sed s/relink=yes/relink=no/ ltmain.sh.orig > ltmain.sh
93 %build
94 %configure
95 make %{?_smp_mflags}
97 %install
98 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
99 %makeinstall
101 %find_lang %name
103 %clean
104 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
106 %post
108 %postun
109 /sbin/ldconfig
110 /usr/bin/scrollkeeper-update
112 %files -f %name.lang
113 %defattr(-, root, root)
114 %doc AUTHORS COPYING COPYING-DOCS COPYING.LIB ChangeLog INSTALL
115 %doc MAINTAINERS NEWS README THANKS TODO
116 #%doc %{_datadir}/gnome/help/*
117 %{_sysconfdir}/gconf/*
118 %{_sysconfdir}/X11/serverconfig/.directory
119 %{_sysconfdir}/X11/starthere/*
120 %{_sysconfdir}/X11/starthere/.directory
121 %{_sysconfdir}/X11/sysconfig/.directory
122 %{_bindir}/*
123 %{_libdir}/*.so*
124 %{_libdir}/bonobo/libnautilus-*-view.so
125 %{_libdir}/bonobo/servers/*
126 %{_libexecdir}/*
127 %{_datadir}/applications/*
128 %{_datadir}/gnome-2.0/ui/*
129 %{_datadir}/idl/*
130 %{_datadir}/nautilus
131 %{_datadir}/locale/*/*
132 %{_datadir}/pixmaps/*
133 %{_datadir}/gnome/network/*
134 #%doc %{_datadir}/omf/nautilus/*
137 %files devel
138 %defattr(-, root, root)
139 %{_includedir}/*
140 %{_libdir}/*.so
141 %{_libdir}/*a
142 %{_libdir}/pkgconfig/*
145 %changelog
146 * Tue Mar 12 2003 Neil Weisenfeld <weisen@ai.mit.edu>
147 - Added various file targets: gnome/network, the libexecdir stuff,
148 locale, gconf (do we need to register this somehow?)
149 - Fixed nautilus-tree-view to come from lib/bonobo instead of lib/
150 - Actually, now pick up nautilus-*-view.so from lib/bonobo
151 - Commented out omf and gnome/help documentation. (should this be
152 coming from somewhere else?)
153 - killed dependence on ltmain-fixed.sh as we're "fixing" it in the %prep
155 * Tue Mar 05 2002 Chris Chabot <chabotc@reviewboard.com>
156 - Fixed file list
157 - ltmain.sh fix
158 - fixed last format issues
159 - converted to .spec.in
161 * Mon Feb 04 2002 Roy-Magne Mo <rmo@sunnmore.net>
162 - Fixed lang
164 * Sun Feb 03 2002 Roy-Magne Mo <rmo@sunnmore.net>
165 - Added buildrequires
167 * Sat Jan 19 2002 Chris Chabot <chabotc@reviewboard.com>
168 - Minor changes & restored macro's
169 - Major cleanups
170 - Moved versions to defines
171 - Since entry below hints at removing sugested, extras, remove their headers
173 * Fri Jan 18 2002 <builder@localhost.localdomain>
174 - removed some unnecessary %defines
175 - got rid of suggested and extras packages, to make life easier
176 - re-write %files section from scratch
177 - made setup quiet
178 - fixed %post and %postun scripts
179 - removed -k from make lines (it's silly for RPMs)
181 * Tue Apr 17 2001 Gregory Leblanc <gleblanc@grego1.cu-portland.edu>
182 - Added BuildRequires lines
183 - Changed Source to point to ftp.gnome.org instead of just the tarball name
184 - Moved %description sections closer to their %package sections
185 - Moved %changelog to the end, where so that it's not in the way
186 - Changed configure and make install options to allow moving of
187 libraries, includes, binaries more easily
188 - Removed hard-coded paths (don't define %prefix or %docdir)
189 - replace %{prefix}/bin with %{_bindir}
190 - replace %{prefix}/share with %{_datadir}
191 - replace %{prefix}/lib with %{_libdir}
192 - replace %{prefix}/include with %{_includedir}
194 * Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com>
195 - removed obsoletes from sub packages and added mozilla and trilobite
196 subpackages
198 * Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com>
199 - created this thing