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