]>
Commit | Line | Data |
---|---|---|
9a1058cd | 1 | # |
2 | # Conditinal build: | |
29b9984f | 3 | %bcond_without apidocs # disable API documentation |
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 |
b8c789ed | 9 | Version: 2.32.1 |
7e6e46c3 | 10 | Release: 1 |
9f7cb215 | 11 | License: GPL v2+ |
707ac973 | 12 | Group: X11/Applications |
7e6e46c3 | 13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/nautilus/2.32/%{name}-%{version}.tar.bz2 |
b8c789ed | 14 | # Source0-md5: 860ef74d3500afa91ef87df667e311b2 |
2db2fc13 | 15 | Source1: %{name}.PLD.readme |
2063fb7d | 16 | URL: http://www.gnome.org/projects/nautilus/ |
29b9984f | 17 | BuildRequires: GConf2-devel >= 2.24.0 |
9f7cb215 | 18 | BuildRequires: autoconf >= 2.54 |
5f8050fd | 19 | BuildRequires: automake >= 1:1.9 |
e8c191e0 | 20 | BuildRequires: docbook-dtd412-xml |
2063fb7d | 21 | BuildRequires: exempi-devel >= 1.99.5 |
38fc004d | 22 | BuildRequires: gettext-devel |
7e6e46c3 | 23 | BuildRequires: glib2-devel >= 1:2.26.0 |
2676370b | 24 | BuildRequires: gnome-desktop-devel >= 2.30.0 |
7e6e46c3 MB |
25 | BuildRequires: gobject-introspection-devel >= 0.6.4 |
26 | BuildRequires: gtk+2-devel >= 2:2.22.0 | |
09483640 | 27 | BuildRequires: gtk-doc >= 1.8 |
23f90bd5 | 28 | BuildRequires: intltool >= 0.40.1 |
ab7700bc | 29 | BuildRequires: libexif-devel >= 1:0.6.13 |
e8c191e0 | 30 | BuildRequires: libselinux-devel |
067ec4d9 | 31 | BuildRequires: libtool |
b1fd3892 | 32 | BuildRequires: libunique-devel |
2063fb7d | 33 | BuildRequires: libxml2-devel >= 1:2.6.31 |
1eee0929 | 34 | BuildRequires: pkgconfig |
ab7700bc | 35 | BuildRequires: rpmbuild(macros) >= 1.311 |
e8c191e0 | 36 | # libegg |
37 | BuildRequires: xorg-lib-libSM-devel | |
b441649d | 38 | Requires(post,postun): desktop-file-utils |
892cfdc1 MB |
39 | Requires(post,postun): gtk+2 |
40 | Requires(post,postun): hicolor-icon-theme | |
9a1058cd | 41 | Requires(post,postun): shared-mime-info |
2063fb7d | 42 | Requires(post,preun): GConf2 |
8caf1403 | 43 | Requires: %{name}-libs = %{version}-%{release} |
7e6e46c3 | 44 | Requires: glib2 >= 1:2.26.0 |
23f90bd5 | 45 | Requires: gnome-icon-theme >= 2.26.0 |
2676370b | 46 | Requires: gvfs >= 1.6.0 |
5b4f83db | 47 | Obsoletes: eel |
22d2e9fa | 48 | Obsoletes: gstreamer-player-nautilus |
c5f9c15a | 49 | Obsoletes: nautilus-gtkhtml |
ec5a29d6 | 50 | Obsoletes: nautilus-media |
e1e2166d MB |
51 | # sr@Latn vs. sr@latin |
52 | Conflicts: glibc-misc < 6:2.7 | |
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 | |
8c9c4b24 | 71 | Summary(pl.UTF-8): Biblioteki Nautilusa |
707ac973 | 72 | Group: X11/Libraries |
73 | ||
74 | %description libs | |
75 | Nautilus libraries. | |
76 | ||
2b737679 | 77 | %description libs -l pl.UTF-8 |
707ac973 | 78 | Biblioteki Nautilusa. |
79 | ||
bc314b50 | 80 | %package devel |
4ed3035e | 81 | Summary: Libraries and include files for developing Nautilus components |
8c9c4b24 ER |
82 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia komponentów dla Nautilusa |
83 | Summary(pt_BR.UTF-8): Bibliotecas e arquivos para desenvolvimento com o nautilus | |
707ac973 | 84 | Group: X11/Development/Libraries |
1eee0929 | 85 | Requires: %{name}-libs = %{version}-%{release} |
7e6e46c3 MB |
86 | Requires: glib2-devel >= 1:2.26.0 |
87 | Requires: gtk+2-devel >= 2:2.22.0 | |
e8c191e0 | 88 | Requires: libselinux-devel |
5b4f83db | 89 | Obsoletes: eel-devel |
bc314b50 | 90 | |
91 | %description devel | |
4ed3035e KT |
92 | This package provides the necessary development libraries and include |
93 | files to allow you to develop Nautilus components. | |
bc314b50 | 94 | |
2b737679 JR |
95 | %description devel -l pl.UTF-8 |
96 | Biblioteki i pliki nagłówkowe potrzebne do programowania. | |
bc314b50 | 97 | |
2b737679 JR |
98 | %description devel -l pt_BR.UTF-8 |
99 | Este pacote fornece os arquivos necessários para desenvolvimento | |
38fc004d | 100 | utilizando componentes do nautilus. |
dae44d33 | 101 | |
38fc004d | 102 | %package static |
103 | Summary: Static Nautilus libraries | |
8c9c4b24 | 104 | Summary(pl.UTF-8): Biblioteki statyczne Nautilusa |
707ac973 | 105 | Group: X11/Development/Libraries |
1eee0929 | 106 | Requires: %{name}-devel = %{version}-%{release} |
38fc004d | 107 | |
108 | %description static | |
109 | Static Nautilus libraries. | |
110 | ||
2b737679 | 111 | %description static -l pl.UTF-8 |
91588ecf | 112 | Biblioteki statyczne Nautilusa. |
dae44d33 | 113 | |
29b9984f MB |
114 | %package apidocs |
115 | Summary: Nautilus API documentation | |
116 | Summary(pl.UTF-8): Dokumentacja API Nautilusa | |
117 | Group: Documentation | |
118 | Requires: gtk-doc-common | |
119 | ||
120 | %description apidocs | |
121 | Nautilus API documentation. | |
122 | ||
123 | %description apidocs -l pl.UTF-8 | |
124 | Dokumentacja API Nautilusa. | |
125 | ||
707ac973 | 126 | %prep |
ef313bbe | 127 | %setup -q |
ef313bbe | 128 | |
2676370b MB |
129 | sed -i -e 's#^en@shaw##' po/LINGUAS |
130 | sed -i -e 's#^io##' po/LINGUAS | |
131 | rm -f po/en@shaw.po | |
29b9984f | 132 | rm -f po/io.po |
e1e2166d | 133 | |
ef313bbe | 134 | %build |
09483640 | 135 | %{__gtkdocize} |
0c38bfba | 136 | %{__glib_gettextize} |
137 | %{__intltoolize} | |
4e85253d | 138 | %{__libtoolize} |
55d8a20e | 139 | %{__aclocal} -I m4 |
593e6d35 | 140 | %{__autoconf} |
a81c031d | 141 | %{__autoheader} |
593e6d35 | 142 | %{__automake} |
ef313bbe | 143 | %configure \ |
9a1058cd | 144 | --enable-static \ |
23f90bd5 | 145 | --enable-packagekit \ |
29b9984f | 146 | --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \ |
29b9984f | 147 | --with-html-dir=%{_gtkdocdir} \ |
2676370b | 148 | --disable-silent-rules \ |
9a1058cd | 149 | --disable-update-mimedb |
c1620b8e | 150 | %{__make} |
ef313bbe | 151 | |
152 | %install | |
153 | rm -rf $RPM_BUILD_ROOT | |
2063fb7d | 154 | install -d $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0 |
ef313bbe | 155 | |
156 | %{__make} install \ | |
ec96f59d | 157 | DESTDIR=$RPM_BUILD_ROOT |
ef313bbe | 158 | |
e097aa7c | 159 | # kill it - use banner instead |
2db2fc13 | 160 | install %{SOURCE1} . |
a3d2aa03 | 161 | |
09483640 MB |
162 | %{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}} |
163 | ||
ef313bbe | 164 | %find_lang %{name} --with-gnome --all-name |
165 | ||
166 | %clean | |
167 | rm -rf $RPM_BUILD_ROOT | |
168 | ||
b441649d | 169 | %post |
ab7700bc | 170 | %update_mime_database |
0c38bfba | 171 | %gconf_schema_install apps_nautilus_preferences.schemas |
172 | %update_desktop_database_post | |
892cfdc1 | 173 | %update_icon_cache hicolor |
b441649d | 174 | |
175 | %preun | |
0c38bfba | 176 | %gconf_schema_uninstall apps_nautilus_preferences.schemas |
b441649d | 177 | |
178 | %postun | |
0c38bfba | 179 | %update_desktop_database_postun |
ab7700bc | 180 | %update_mime_database |
892cfdc1 | 181 | %update_icon_cache hicolor |
b441649d | 182 | |
d072a499 | 183 | %post libs -p /sbin/ldconfig |
184 | %postun libs -p /sbin/ldconfig | |
b3b1f241 | 185 | |
c52d9b8d | 186 | %files -f %{name}.lang |
5022deb0 | 187 | %defattr(644,root,root,755) |
9f7cb215 | 188 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README THANKS nautilus.PLD.readme |
2063fb7d PZ |
189 | %attr(755,root,root) %{_bindir}/nautilus |
190 | %attr(755,root,root) %{_bindir}/nautilus-autorun-software | |
191 | %attr(755,root,root) %{_bindir}/nautilus-connect-server | |
192 | %attr(755,root,root) %{_bindir}/nautilus-file-management-properties | |
55d8a20e | 193 | %attr(755,root,root) %{_libexecdir}/nautilus-convert-metadata |
8d5f7d8d | 194 | %dir %{_libdir}/nautilus |
2063fb7d | 195 | %dir %{_libdir}/nautilus/extensions-2.0 |
9a1058cd | 196 | %{_datadir}/mime/packages/*.xml |
707ac973 | 197 | %{_datadir}/nautilus |
04bd3ecd | 198 | %{_desktopdir}/*.desktop |
892cfdc1 | 199 | %{_iconsdir}/hicolor/*/*/nautilus.* |
29b9984f | 200 | %{_mandir}/man1/nautilus*.1* |
e097aa7c | 201 | %{_pixmapsdir}/nautilus |
202 | %{_sysconfdir}/gconf/schemas/apps_nautilus_preferences.schemas | |
707ac973 | 203 | |
204 | %files libs | |
205 | %defattr(644,root,root,755) | |
2063fb7d PZ |
206 | %attr(755,root,root) %{_libdir}/libnautilus-extension.so.*.*.* |
207 | %attr(755,root,root) %ghost %{_libdir}/libnautilus-extension.so.1 | |
7e6e46c3 | 208 | %{_libdir}/girepository-1.0/*.typelib |
bc314b50 | 209 | |
210 | %files devel | |
5022deb0 | 211 | %defattr(644,root,root,755) |
2063fb7d PZ |
212 | %attr(755,root,root) %{_libdir}/libnautilus-extension.so |
213 | %{_libdir}/libnautilus-extension.la | |
214 | %{_includedir}/nautilus | |
215 | %{_pkgconfigdir}/libnautilus-extension.pc | |
7e6e46c3 | 216 | %{_datadir}/gir-1.0/*.gir |
38fc004d | 217 | |
218 | %files static | |
219 | %defattr(644,root,root,755) | |
2063fb7d | 220 | %{_libdir}/libnautilus-extension.a |
29b9984f MB |
221 | |
222 | %if %{with apidocs} | |
223 | %files apidocs | |
224 | %defattr(644,root,root,755) | |
225 | %{_gtkdocdir}/libnautilus-extension | |
226 | %endif |