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