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