summaryrefslogtreecommitdiff
path: root/nautilus.spec.in
blob: 01fbc57b9bc923547023c24dfc1661fab0f2abea (plain)
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
40
41
42
43
44
45
46
47
48
49
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
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
181
182
183
184
185
186
187
188
189
190
191
192
%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