]>
Commit | Line | Data |
---|---|---|
9a1058cd | 1 | # |
2 | # Conditinal build: | |
3 | %bcond_without beagle # enable beagle search | |
4 | # | |
38fc004d | 5 | Summary: Nautilus is a file manager for the GNOME desktop environment |
2b737679 JR |
6 | Summary(pl.UTF-8): Nautilus - powłoka GNOME i zarządca plików |
7 | Summary(pt_BR.UTF-8): Nautilus é um gerenciador de arquivos para o GNOME | |
5022deb0 | 8 | Name: nautilus |
cd90ea12 | 9 | Version: 2.16.3 |
ab7700bc | 10 | Release: 1 |
9f7cb215 | 11 | License: GPL v2+ |
707ac973 | 12 | Group: X11/Applications |
619502e2 | 13 | Source0: http://ftp.gnome.org/pub/gnome/sources/nautilus/2.16/%{name}-%{version}.tar.bz2 |
cd90ea12 | 14 | # Source0-md5: 05a0fe98d524ca5287da21845ab8490c |
2db2fc13 | 15 | Source1: %{name}.PLD.readme |
e097aa7c | 16 | Patch0: %{name}-includes.patch |
17 | Patch1: %{name}-desktop.patch | |
18 | Patch2: %{name}-capplet.patch | |
5eabf36b | 19 | Patch3: %{name}-copy_label.patch |
20 | Patch4: %{name}-dnd-user-owned.patch | |
5022deb0 | 21 | URL: http://nautilus.eazel.com/ |
cd90ea12 | 22 | BuildRequires: GConf2-devel >= 2.16.0 |
619502e2 | 23 | BuildRequires: ORBit2-devel >= 1:2.14.3 |
9f7cb215 | 24 | BuildRequires: autoconf >= 2.54 |
9d7ba8b7 | 25 | BuildRequires: automake |
cd90ea12 | 26 | %{?with_beagle:BuildRequires: beagle-devel >= 0.2.13} |
34c557bb | 27 | BuildRequires: docbook-utils >= 0.6.11 |
cd90ea12 | 28 | BuildRequires: eel-devel >= 2.16.3 |
619502e2 | 29 | BuildRequires: esound-devel >= 1:0.2.36 |
6e208370 | 30 | BuildRequires: freetype-devel >= 2.1.4 |
38fc004d | 31 | BuildRequires: gettext-devel |
cd90ea12 MB |
32 | BuildRequires: gnome-desktop-devel >= 2.16.2 |
33 | BuildRequires: gnome-vfs2-devel >= 2.16.3 | |
977ee94b | 34 | BuildRequires: intltool >= 0.35.0 |
9f7cb215 | 35 | BuildRequires: libart_lgpl-devel >= 2.3.17 |
ab7700bc | 36 | BuildRequires: libexif-devel >= 1:0.6.13 |
cd90ea12 MB |
37 | BuildRequires: libgnomeui-devel >= 2.16.1 |
38 | BuildRequires: librsvg-devel >= 1:2.16.1 | |
067ec4d9 | 39 | BuildRequires: libtool |
cd90ea12 | 40 | BuildRequires: libxml2-devel >= 1:2.6.27 |
1eee0929 | 41 | BuildRequires: pkgconfig |
ab7700bc | 42 | BuildRequires: rpmbuild(macros) >= 1.311 |
9f7cb215 | 43 | BuildRequires: startup-notification-devel >= 0.8 |
cd90ea12 | 44 | Requires(post,preun): GConf2 >= 2.16.0 |
b441649d | 45 | Requires(post,postun): desktop-file-utils |
9a1058cd | 46 | Requires(post,postun): shared-mime-info |
c34c9f8c | 47 | Requires: gnome-icon-theme >= 2.16.0.1 |
cd90ea12 | 48 | Requires: gnome-vfs2 >= 2.16.3 |
8caf1403 | 49 | Requires: %{name}-libs = %{version}-%{release} |
22d2e9fa | 50 | Obsoletes: gstreamer-player-nautilus |
c5f9c15a | 51 | Obsoletes: nautilus-gtkhtml |
ec5a29d6 | 52 | Obsoletes: nautilus-media |
5022deb0 PG |
53 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
54 | ||
c6b5c285 | 55 | %description |
5022deb0 PG |
56 | Nautilus integrates access to files, applications, media, |
57 | Internet-based resources and the Web. Nautilus delivers a dynamic and | |
58 | rich user experience. Nautilus is an free software project developed | |
59 | under the GNU General Public License and is a core component of the | |
60 | GNOME desktop project. | |
c6b5c285 | 61 | |
2b737679 JR |
62 | %description -l pl.UTF-8 |
63 | GNU Nautilus jest programem do zarządzania plikami i graficzną powłoką | |
64 | dla GNOME. Służy również bardzo dobrze jako przeglądarka stron WWW. | |
c6b5c285 | 65 | |
2b737679 JR |
66 | %description -l pt_BR.UTF-8 |
67 | O nautilus é um excelente gerenciador de arquivos para o GNOME. | |
dae44d33 | 68 | |
707ac973 | 69 | %package libs |
70 | Summary: Nautilus libraries | |
2b737679 | 71 | Summary(pl.UTF-8): Biblioteki Nautilusa |
707ac973 | 72 | Group: X11/Libraries |
cd90ea12 MB |
73 | Requires: eel >= 2.16.3 |
74 | Requires: gnome-vfs2-libs >= 2.16.3 | |
707ac973 | 75 | |
76 | %description libs | |
77 | Nautilus libraries. | |
78 | ||
2b737679 | 79 | %description libs -l pl.UTF-8 |
707ac973 | 80 | Biblioteki Nautilusa. |
81 | ||
bc314b50 | 82 | %package devel |
4ed3035e | 83 | Summary: Libraries and include files for developing Nautilus components |
2b737679 JR |
84 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia komponentów dla Nautilusa |
85 | Summary(pt_BR.UTF-8): Bibliotecas e arquivos para desenvolvimento com o nautilus | |
707ac973 | 86 | Group: X11/Development/Libraries |
1eee0929 | 87 | Requires: %{name}-libs = %{version}-%{release} |
cd90ea12 MB |
88 | Requires: eel-devel >= 2.16.3 |
89 | Requires: gnome-vfs2-devel >= 2.16.3 | |
90 | Requires: librsvg-devel >= 1:2.16.1 | |
bc314b50 | 91 | |
92 | %description devel | |
4ed3035e KT |
93 | This package provides the necessary development libraries and include |
94 | files to allow you to develop Nautilus components. | |
bc314b50 | 95 | |
2b737679 JR |
96 | %description devel -l pl.UTF-8 |
97 | Biblioteki i pliki nagłówkowe potrzebne do programowania. | |
bc314b50 | 98 | |
2b737679 JR |
99 | %description devel -l pt_BR.UTF-8 |
100 | Este pacote fornece os arquivos necessários para desenvolvimento | |
38fc004d | 101 | utilizando componentes do nautilus. |
dae44d33 | 102 | |
38fc004d | 103 | %package static |
104 | Summary: Static Nautilus libraries | |
2b737679 | 105 | Summary(pl.UTF-8): Biblioteki statyczne Nautilusa |
707ac973 | 106 | Group: X11/Development/Libraries |
1eee0929 | 107 | Requires: %{name}-devel = %{version}-%{release} |
38fc004d | 108 | |
109 | %description static | |
110 | Static Nautilus libraries. | |
111 | ||
2b737679 | 112 | %description static -l pl.UTF-8 |
91588ecf | 113 | Biblioteki statyczne Nautilusa. |
dae44d33 | 114 | |
707ac973 | 115 | %prep |
ef313bbe | 116 | %setup -q |
e097aa7c | 117 | %patch0 -p1 |
9f7cb215 | 118 | %patch1 -p1 |
51556c30 | 119 | %patch2 -p1 |
5eabf36b | 120 | %patch4 -p0 |
ef313bbe | 121 | |
122 | %build | |
0c38bfba | 123 | %{__glib_gettextize} |
124 | %{__intltoolize} | |
4e85253d | 125 | %{__libtoolize} |
9afc2510 | 126 | %{__aclocal} |
593e6d35 | 127 | %{__autoconf} |
128 | %{__automake} | |
ef313bbe | 129 | %configure \ |
9a1058cd | 130 | --enable-static \ |
131 | %{?!with_beagle:--disable-beagle} \ | |
132 | --disable-update-mimedb | |
c1620b8e | 133 | %{__make} |
ef313bbe | 134 | |
135 | %install | |
136 | rm -rf $RPM_BUILD_ROOT | |
8d5f7d8d | 137 | install -d $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0 |
ef313bbe | 138 | |
139 | %{__make} install \ | |
ec96f59d | 140 | DESTDIR=$RPM_BUILD_ROOT |
ef313bbe | 141 | |
e097aa7c | 142 | # kill it - use banner instead |
2db2fc13 | 143 | install %{SOURCE1} . |
a3d2aa03 | 144 | |
ef313bbe | 145 | %find_lang %{name} --with-gnome --all-name |
146 | ||
147 | %clean | |
148 | rm -rf $RPM_BUILD_ROOT | |
149 | ||
b441649d | 150 | %post |
ab7700bc | 151 | %update_mime_database |
0c38bfba | 152 | %gconf_schema_install apps_nautilus_preferences.schemas |
153 | %update_desktop_database_post | |
b441649d | 154 | |
155 | %preun | |
0c38bfba | 156 | %gconf_schema_uninstall apps_nautilus_preferences.schemas |
b441649d | 157 | |
158 | %postun | |
0c38bfba | 159 | %update_desktop_database_postun |
ab7700bc | 160 | %update_mime_database |
b441649d | 161 | |
d072a499 | 162 | %post libs -p /sbin/ldconfig |
163 | %postun libs -p /sbin/ldconfig | |
b3b1f241 | 164 | |
c52d9b8d | 165 | %files -f %{name}.lang |
5022deb0 | 166 | %defattr(644,root,root,755) |
9f7cb215 | 167 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README THANKS nautilus.PLD.readme |
707ac973 | 168 | %attr(755,root,root) %{_bindir}/* |
8d5f7d8d | 169 | %dir %{_libdir}/nautilus |
170 | %dir %{_libdir}/nautilus/extensions-1.0 | |
5776a140 | 171 | %{_libdir}/bonobo/servers/* |
9a1058cd | 172 | %{_datadir}/mime/packages/*.xml |
707ac973 | 173 | %{_datadir}/nautilus |
04bd3ecd | 174 | %{_desktopdir}/*.desktop |
e097aa7c | 175 | %{_pixmapsdir}/nautilus |
176 | %{_sysconfdir}/gconf/schemas/apps_nautilus_preferences.schemas | |
707ac973 | 177 | |
178 | %files libs | |
179 | %defattr(644,root,root,755) | |
180 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
bc314b50 | 181 | |
182 | %files devel | |
5022deb0 | 183 | %defattr(644,root,root,755) |
067ec4d9 | 184 | %attr(755,root,root) %{_libdir}/libnautilus*.so |
185 | %{_libdir}/libnautilus*.la | |
1eee0929 | 186 | %{_includedir}/* |
707ac973 | 187 | %{_pkgconfigdir}/*.pc |
38fc004d | 188 | |
189 | %files static | |
190 | %defattr(644,root,root,755) | |
322d87fe | 191 | %{_libdir}/lib*.a |