]>
Commit | Line | Data |
---|---|---|
9a1058cd | 1 | # |
2 | # Conditinal build: | |
507d7e5c | 3 | %bcond_without beagle # disable beagle search |
2063fb7d | 4 | %bcond_without tracker # disable tracker search |
9a1058cd | 5 | # |
38fc004d | 6 | Summary: Nautilus is a file manager for the GNOME desktop environment |
8c9c4b24 ER |
7 | Summary(pl.UTF-8): Nautilus - powłoka GNOME i zarządca plików |
8 | Summary(pt_BR.UTF-8): Nautilus é um gerenciador de arquivos para o GNOME | |
5022deb0 | 9 | Name: nautilus |
2875f423 | 10 | Version: 2.22.5 |
ec636081 | 11 | Release: 1 |
9f7cb215 | 12 | License: GPL v2+ |
707ac973 | 13 | Group: X11/Applications |
2063fb7d | 14 | Source0: http://ftp.gnome.org/pub/GNOME/sources/nautilus/2.22/%{name}-%{version}.tar.bz2 |
2875f423 | 15 | # Source0-md5: b2f65d5b01399a5d3daca5f3ba280f9b |
2db2fc13 | 16 | Source1: %{name}.PLD.readme |
3a07522f MB |
17 | Patch0: %{name}-capplet.patch |
18 | Patch1: %{name}-dnd-user-owned.patch | |
2063fb7d PZ |
19 | URL: http://www.gnome.org/projects/nautilus/ |
20 | BuildRequires: GConf2-devel >= 2.22.0 | |
21 | BuildRequires: ORBit2-devel >= 1:2.14.8 | |
9f7cb215 | 22 | BuildRequires: autoconf >= 2.54 |
9d7ba8b7 | 23 | BuildRequires: automake |
34c557bb | 24 | BuildRequires: docbook-utils >= 0.6.11 |
3a07522f | 25 | BuildRequires: eel-devel >= 2.22.1 |
892cfdc1 | 26 | BuildRequires: esound-devel >= 1:0.2.37 |
2063fb7d | 27 | BuildRequires: exempi-devel >= 1.99.5 |
38fc004d | 28 | BuildRequires: gettext-devel |
3a07522f MB |
29 | BuildRequires: glib2-devel >= 1:2.16.1 |
30 | BuildRequires: gnome-desktop-devel >= 2.22.0 | |
31 | BuildRequires: gtk+2-devel >= 2:2.12.9 | |
2063fb7d | 32 | BuildRequires: intltool >= 0.37.0 |
2fe313db | 33 | %{?with_beagle:BuildRequires: libbeagle-devel >= 0.3.0} |
ab7700bc | 34 | BuildRequires: libexif-devel >= 1:0.6.13 |
2063fb7d | 35 | BuildRequires: libgnomeui-devel >= 2.22.0 |
3a07522f | 36 | BuildRequires: librsvg-devel >= 1:2.22.0 |
067ec4d9 | 37 | BuildRequires: libtool |
2063fb7d PZ |
38 | %{?with_tracker:BuildRequires: libtracker-devel} |
39 | BuildRequires: libxml2-devel >= 1:2.6.31 | |
1eee0929 | 40 | BuildRequires: pkgconfig |
ab7700bc | 41 | BuildRequires: rpmbuild(macros) >= 1.311 |
9f7cb215 | 42 | BuildRequires: startup-notification-devel >= 0.8 |
b441649d | 43 | Requires(post,postun): desktop-file-utils |
892cfdc1 MB |
44 | Requires(post,postun): gtk+2 |
45 | Requires(post,postun): hicolor-icon-theme | |
9a1058cd | 46 | Requires(post,postun): shared-mime-info |
2063fb7d | 47 | Requires(post,preun): GConf2 |
8caf1403 | 48 | Requires: %{name}-libs = %{version}-%{release} |
3a07522f MB |
49 | Requires: eel >= 2.22.1 |
50 | Requires: gnome-icon-theme >= 2.22.0 | |
51 | Requires: gvfs >= 0.2.2 | |
22d2e9fa | 52 | Obsoletes: gstreamer-player-nautilus |
c5f9c15a | 53 | Obsoletes: nautilus-gtkhtml |
ec5a29d6 | 54 | Obsoletes: nautilus-media |
e1e2166d MB |
55 | # sr@Latn vs. sr@latin |
56 | Conflicts: glibc-misc < 6:2.7 | |
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 |
77 | ||
78 | %description libs | |
79 | Nautilus libraries. | |
80 | ||
2b737679 | 81 | %description libs -l pl.UTF-8 |
707ac973 | 82 | Biblioteki Nautilusa. |
83 | ||
bc314b50 | 84 | %package devel |
4ed3035e | 85 | Summary: Libraries and include files for developing Nautilus components |
8c9c4b24 ER |
86 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia komponentów dla Nautilusa |
87 | Summary(pt_BR.UTF-8): Bibliotecas e arquivos para desenvolvimento com o nautilus | |
707ac973 | 88 | Group: X11/Development/Libraries |
1eee0929 | 89 | Requires: %{name}-libs = %{version}-%{release} |
3a07522f MB |
90 | Requires: glib2-devel >= 1:2.16.1 |
91 | Requires: gtk+2-devel >= 2:2.12.9 | |
bc314b50 | 92 | |
93 | %description devel | |
4ed3035e KT |
94 | This package provides the necessary development libraries and include |
95 | files to allow you to develop Nautilus components. | |
bc314b50 | 96 | |
2b737679 JR |
97 | %description devel -l pl.UTF-8 |
98 | Biblioteki i pliki nagłówkowe potrzebne do programowania. | |
bc314b50 | 99 | |
2b737679 JR |
100 | %description devel -l pt_BR.UTF-8 |
101 | Este pacote fornece os arquivos necessários para desenvolvimento | |
38fc004d | 102 | utilizando componentes do nautilus. |
dae44d33 | 103 | |
38fc004d | 104 | %package static |
105 | Summary: Static Nautilus libraries | |
8c9c4b24 | 106 | Summary(pl.UTF-8): Biblioteki statyczne Nautilusa |
707ac973 | 107 | Group: X11/Development/Libraries |
1eee0929 | 108 | Requires: %{name}-devel = %{version}-%{release} |
38fc004d | 109 | |
110 | %description static | |
111 | Static Nautilus libraries. | |
112 | ||
2b737679 | 113 | %description static -l pl.UTF-8 |
91588ecf | 114 | Biblioteki statyczne Nautilusa. |
dae44d33 | 115 | |
707ac973 | 116 | %prep |
ef313bbe | 117 | %setup -q |
3a07522f MB |
118 | %patch0 -p1 |
119 | #%patch1 -p0 | |
ef313bbe | 120 | |
3a07522f | 121 | sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS |
2063fb7d | 122 | mv -f po/sr@{Latn,latin}.po |
e1e2166d | 123 | |
ef313bbe | 124 | %build |
0c38bfba | 125 | %{__glib_gettextize} |
126 | %{__intltoolize} | |
4e85253d | 127 | %{__libtoolize} |
9afc2510 | 128 | %{__aclocal} |
593e6d35 | 129 | %{__autoconf} |
a81c031d | 130 | %{__autoheader} |
593e6d35 | 131 | %{__automake} |
ef313bbe | 132 | %configure \ |
9a1058cd | 133 | --enable-static \ |
2063fb7d PZ |
134 | %{?!with_beagle:--disable-beagle} \ |
135 | %{?!with_tracker:--disable-tracker} \ | |
9a1058cd | 136 | --disable-update-mimedb |
c1620b8e | 137 | %{__make} |
ef313bbe | 138 | |
139 | %install | |
140 | rm -rf $RPM_BUILD_ROOT | |
2063fb7d | 141 | install -d $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0 |
ef313bbe | 142 | |
143 | %{__make} install \ | |
ec96f59d | 144 | DESTDIR=$RPM_BUILD_ROOT |
ef313bbe | 145 | |
e097aa7c | 146 | # kill it - use banner instead |
2db2fc13 | 147 | install %{SOURCE1} . |
a3d2aa03 | 148 | |
c0136f40 MB |
149 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ca@valencia |
150 | ||
ef313bbe | 151 | %find_lang %{name} --with-gnome --all-name |
152 | ||
153 | %clean | |
154 | rm -rf $RPM_BUILD_ROOT | |
155 | ||
b441649d | 156 | %post |
ab7700bc | 157 | %update_mime_database |
0c38bfba | 158 | %gconf_schema_install apps_nautilus_preferences.schemas |
159 | %update_desktop_database_post | |
892cfdc1 | 160 | %update_icon_cache hicolor |
b441649d | 161 | |
162 | %preun | |
0c38bfba | 163 | %gconf_schema_uninstall apps_nautilus_preferences.schemas |
b441649d | 164 | |
165 | %postun | |
0c38bfba | 166 | %update_desktop_database_postun |
ab7700bc | 167 | %update_mime_database |
892cfdc1 | 168 | %update_icon_cache hicolor |
b441649d | 169 | |
d072a499 | 170 | %post libs -p /sbin/ldconfig |
171 | %postun libs -p /sbin/ldconfig | |
b3b1f241 | 172 | |
c52d9b8d | 173 | %files -f %{name}.lang |
5022deb0 | 174 | %defattr(644,root,root,755) |
9f7cb215 | 175 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README THANKS nautilus.PLD.readme |
2063fb7d PZ |
176 | %attr(755,root,root) %{_bindir}/nautilus |
177 | %attr(755,root,root) %{_bindir}/nautilus-autorun-software | |
178 | %attr(755,root,root) %{_bindir}/nautilus-connect-server | |
179 | %attr(755,root,root) %{_bindir}/nautilus-file-management-properties | |
8d5f7d8d | 180 | %dir %{_libdir}/nautilus |
2063fb7d PZ |
181 | %dir %{_libdir}/nautilus/extensions-2.0 |
182 | %{_libdir}/bonobo/servers/Nautilus_shell.server | |
9a1058cd | 183 | %{_datadir}/mime/packages/*.xml |
707ac973 | 184 | %{_datadir}/nautilus |
04bd3ecd | 185 | %{_desktopdir}/*.desktop |
892cfdc1 | 186 | %{_iconsdir}/hicolor/*/*/nautilus.* |
e097aa7c | 187 | %{_pixmapsdir}/nautilus |
188 | %{_sysconfdir}/gconf/schemas/apps_nautilus_preferences.schemas | |
707ac973 | 189 | |
190 | %files libs | |
191 | %defattr(644,root,root,755) | |
2063fb7d PZ |
192 | %attr(755,root,root) %{_libdir}/libnautilus-extension.so.*.*.* |
193 | %attr(755,root,root) %ghost %{_libdir}/libnautilus-extension.so.1 | |
bc314b50 | 194 | |
195 | %files devel | |
5022deb0 | 196 | %defattr(644,root,root,755) |
2063fb7d PZ |
197 | %attr(755,root,root) %{_libdir}/libnautilus-extension.so |
198 | %{_libdir}/libnautilus-extension.la | |
199 | %{_includedir}/nautilus | |
200 | %{_pkgconfigdir}/libnautilus-extension.pc | |
38fc004d | 201 | |
202 | %files static | |
203 | %defattr(644,root,root,755) | |
2063fb7d | 204 | %{_libdir}/libnautilus-extension.a |