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