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