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