]>
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 |
ef095f22 | 9 | Version: 2.30.1 |
2676370b | 10 | Release: 1 |
9f7cb215 | 11 | License: GPL v2+ |
707ac973 | 12 | Group: X11/Applications |
2676370b | 13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/nautilus/2.30/%{name}-%{version}.tar.bz2 |
ef095f22 | 14 | # Source0-md5: e1bda55f9c6cd223561da066dbc4e863 |
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 |
23f90bd5 | 20 | BuildRequires: dbus-glib-devel >= 0.74 |
e8c191e0 | 21 | BuildRequires: docbook-dtd412-xml |
2063fb7d | 22 | BuildRequires: exempi-devel >= 1.99.5 |
38fc004d | 23 | BuildRequires: gettext-devel |
2676370b MB |
24 | BuildRequires: glib2-devel >= 1:2.24.0 |
25 | BuildRequires: gnome-desktop-devel >= 2.30.0 | |
26 | BuildRequires: gtk+2-devel >= 2:2.20.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} |
23f90bd5 | 44 | Requires: gnome-icon-theme >= 2.26.0 |
2676370b | 45 | Requires: gvfs >= 1.6.0 |
22d2e9fa | 46 | Obsoletes: gstreamer-player-nautilus |
c5f9c15a | 47 | Obsoletes: nautilus-gtkhtml |
ec5a29d6 | 48 | Obsoletes: nautilus-media |
e1e2166d MB |
49 | # sr@Latn vs. sr@latin |
50 | Conflicts: glibc-misc < 6:2.7 | |
5022deb0 PG |
51 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
52 | ||
c6b5c285 | 53 | %description |
5022deb0 PG |
54 | Nautilus integrates access to files, applications, media, |
55 | Internet-based resources and the Web. Nautilus delivers a dynamic and | |
56 | rich user experience. Nautilus is an free software project developed | |
57 | under the GNU General Public License and is a core component of the | |
58 | GNOME desktop project. | |
c6b5c285 | 59 | |
2b737679 JR |
60 | %description -l pl.UTF-8 |
61 | GNU Nautilus jest programem do zarządzania plikami i graficzną powłoką | |
62 | dla GNOME. Służy również bardzo dobrze jako przeglądarka stron WWW. | |
c6b5c285 | 63 | |
2b737679 JR |
64 | %description -l pt_BR.UTF-8 |
65 | O nautilus é um excelente gerenciador de arquivos para o GNOME. | |
dae44d33 | 66 | |
707ac973 | 67 | %package libs |
68 | Summary: Nautilus libraries | |
8c9c4b24 | 69 | Summary(pl.UTF-8): Biblioteki Nautilusa |
707ac973 | 70 | Group: X11/Libraries |
71 | ||
72 | %description libs | |
73 | Nautilus libraries. | |
74 | ||
2b737679 | 75 | %description libs -l pl.UTF-8 |
707ac973 | 76 | Biblioteki Nautilusa. |
77 | ||
bc314b50 | 78 | %package devel |
4ed3035e | 79 | Summary: Libraries and include files for developing Nautilus components |
8c9c4b24 ER |
80 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia komponentów dla Nautilusa |
81 | Summary(pt_BR.UTF-8): Bibliotecas e arquivos para desenvolvimento com o nautilus | |
707ac973 | 82 | Group: X11/Development/Libraries |
1eee0929 | 83 | Requires: %{name}-libs = %{version}-%{release} |
2676370b MB |
84 | Requires: glib2-devel >= 1:2.24.0 |
85 | Requires: gtk+2-devel >= 2:2.20.0 | |
e8c191e0 | 86 | Requires: libselinux-devel |
bc314b50 | 87 | |
88 | %description devel | |
4ed3035e KT |
89 | This package provides the necessary development libraries and include |
90 | files to allow you to develop Nautilus components. | |
bc314b50 | 91 | |
2b737679 JR |
92 | %description devel -l pl.UTF-8 |
93 | Biblioteki i pliki nagłówkowe potrzebne do programowania. | |
bc314b50 | 94 | |
2b737679 JR |
95 | %description devel -l pt_BR.UTF-8 |
96 | Este pacote fornece os arquivos necessários para desenvolvimento | |
38fc004d | 97 | utilizando componentes do nautilus. |
dae44d33 | 98 | |
38fc004d | 99 | %package static |
100 | Summary: Static Nautilus libraries | |
8c9c4b24 | 101 | Summary(pl.UTF-8): Biblioteki statyczne Nautilusa |
707ac973 | 102 | Group: X11/Development/Libraries |
1eee0929 | 103 | Requires: %{name}-devel = %{version}-%{release} |
38fc004d | 104 | |
105 | %description static | |
106 | Static Nautilus libraries. | |
107 | ||
2b737679 | 108 | %description static -l pl.UTF-8 |
91588ecf | 109 | Biblioteki statyczne Nautilusa. |
dae44d33 | 110 | |
29b9984f MB |
111 | %package apidocs |
112 | Summary: Nautilus API documentation | |
113 | Summary(pl.UTF-8): Dokumentacja API Nautilusa | |
114 | Group: Documentation | |
115 | Requires: gtk-doc-common | |
116 | ||
117 | %description apidocs | |
118 | Nautilus API documentation. | |
119 | ||
120 | %description apidocs -l pl.UTF-8 | |
121 | Dokumentacja API Nautilusa. | |
122 | ||
707ac973 | 123 | %prep |
ef313bbe | 124 | %setup -q |
ef313bbe | 125 | |
2676370b MB |
126 | sed -i -e 's#^en@shaw##' po/LINGUAS |
127 | sed -i -e 's#^io##' po/LINGUAS | |
128 | rm -f po/en@shaw.po | |
29b9984f | 129 | rm -f po/io.po |
e1e2166d | 130 | |
ef313bbe | 131 | %build |
09483640 | 132 | %{__gtkdocize} |
0c38bfba | 133 | %{__glib_gettextize} |
134 | %{__intltoolize} | |
4e85253d | 135 | %{__libtoolize} |
55d8a20e | 136 | %{__aclocal} -I m4 |
593e6d35 | 137 | %{__autoconf} |
a81c031d | 138 | %{__autoheader} |
593e6d35 | 139 | %{__automake} |
ef313bbe | 140 | %configure \ |
9a1058cd | 141 | --enable-static \ |
23f90bd5 | 142 | --enable-packagekit \ |
29b9984f | 143 | --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \ |
29b9984f | 144 | --with-html-dir=%{_gtkdocdir} \ |
2676370b | 145 | --disable-silent-rules \ |
9a1058cd | 146 | --disable-update-mimedb |
c1620b8e | 147 | %{__make} |
ef313bbe | 148 | |
149 | %install | |
150 | rm -rf $RPM_BUILD_ROOT | |
2063fb7d | 151 | install -d $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0 |
ef313bbe | 152 | |
153 | %{__make} install \ | |
ec96f59d | 154 | DESTDIR=$RPM_BUILD_ROOT |
ef313bbe | 155 | |
e097aa7c | 156 | # kill it - use banner instead |
2db2fc13 | 157 | install %{SOURCE1} . |
a3d2aa03 | 158 | |
09483640 MB |
159 | %{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}} |
160 | ||
ef313bbe | 161 | %find_lang %{name} --with-gnome --all-name |
162 | ||
163 | %clean | |
164 | rm -rf $RPM_BUILD_ROOT | |
165 | ||
b441649d | 166 | %post |
ab7700bc | 167 | %update_mime_database |
0c38bfba | 168 | %gconf_schema_install apps_nautilus_preferences.schemas |
169 | %update_desktop_database_post | |
892cfdc1 | 170 | %update_icon_cache hicolor |
b441649d | 171 | |
172 | %preun | |
0c38bfba | 173 | %gconf_schema_uninstall apps_nautilus_preferences.schemas |
b441649d | 174 | |
175 | %postun | |
0c38bfba | 176 | %update_desktop_database_postun |
ab7700bc | 177 | %update_mime_database |
892cfdc1 | 178 | %update_icon_cache hicolor |
b441649d | 179 | |
d072a499 | 180 | %post libs -p /sbin/ldconfig |
181 | %postun libs -p /sbin/ldconfig | |
b3b1f241 | 182 | |
c52d9b8d | 183 | %files -f %{name}.lang |
5022deb0 | 184 | %defattr(644,root,root,755) |
9f7cb215 | 185 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README THANKS nautilus.PLD.readme |
2063fb7d PZ |
186 | %attr(755,root,root) %{_bindir}/nautilus |
187 | %attr(755,root,root) %{_bindir}/nautilus-autorun-software | |
188 | %attr(755,root,root) %{_bindir}/nautilus-connect-server | |
189 | %attr(755,root,root) %{_bindir}/nautilus-file-management-properties | |
55d8a20e | 190 | %attr(755,root,root) %{_libexecdir}/nautilus-convert-metadata |
8d5f7d8d | 191 | %dir %{_libdir}/nautilus |
2063fb7d | 192 | %dir %{_libdir}/nautilus/extensions-2.0 |
9a1058cd | 193 | %{_datadir}/mime/packages/*.xml |
707ac973 | 194 | %{_datadir}/nautilus |
04bd3ecd | 195 | %{_desktopdir}/*.desktop |
892cfdc1 | 196 | %{_iconsdir}/hicolor/*/*/nautilus.* |
29b9984f | 197 | %{_mandir}/man1/nautilus*.1* |
e097aa7c | 198 | %{_pixmapsdir}/nautilus |
199 | %{_sysconfdir}/gconf/schemas/apps_nautilus_preferences.schemas | |
707ac973 | 200 | |
201 | %files libs | |
202 | %defattr(644,root,root,755) | |
2063fb7d PZ |
203 | %attr(755,root,root) %{_libdir}/libnautilus-extension.so.*.*.* |
204 | %attr(755,root,root) %ghost %{_libdir}/libnautilus-extension.so.1 | |
bc314b50 | 205 | |
206 | %files devel | |
5022deb0 | 207 | %defattr(644,root,root,755) |
2063fb7d PZ |
208 | %attr(755,root,root) %{_libdir}/libnautilus-extension.so |
209 | %{_libdir}/libnautilus-extension.la | |
210 | %{_includedir}/nautilus | |
211 | %{_pkgconfigdir}/libnautilus-extension.pc | |
38fc004d | 212 | |
213 | %files static | |
214 | %defattr(644,root,root,755) | |
2063fb7d | 215 | %{_libdir}/libnautilus-extension.a |
29b9984f MB |
216 | |
217 | %if %{with apidocs} | |
218 | %files apidocs | |
219 | %defattr(644,root,root,755) | |
220 | %{_gtkdocdir}/libnautilus-extension | |
221 | %endif |