]>
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 |
c4dae14f | 9 | Version: 3.0.2 |
93ae7777 | 10 | Release: 1 |
9f7cb215 | 11 | License: GPL v2+ |
707ac973 | 12 | Group: X11/Applications |
93ae7777 | 13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/nautilus/3.0/%{name}-%{version}.tar.bz2 |
c4dae14f | 14 | # Source0-md5: 949187b1f241137ad3a5e6bdca3dfb0b |
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 |
93ae7777 MB |
22 | BuildRequires: glib2-devel >= 1:2.28.0 |
23 | BuildRequires: gnome-desktop-devel >= 3.0.0 | |
7e6e46c3 | 24 | BuildRequires: gobject-introspection-devel >= 0.6.4 |
93ae7777 MB |
25 | BuildRequires: gsettings-desktop-schemas-devel |
26 | BuildRequires: gtk+3-devel >= 3.0.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} |
93ae7777 | 44 | Requires: glib2 >= 1:2.28.0 |
23f90bd5 | 45 | Requires: gnome-icon-theme >= 2.26.0 |
93ae7777 MB |
46 | Requires: gsettings-desktop-schemas |
47 | Requires: gvfs >= 1.8.0 | |
48 | Requires: hicolor-icon-theme | |
dc0b317e | 49 | Provides: gnome-volume-manager |
5b4f83db | 50 | Obsoletes: eel |
dc0b317e | 51 | Obsoletes: gnome-volume-manager |
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} |
93ae7777 MB |
90 | Requires: glib2-devel >= 1:2.28.0 |
91 | Requires: gtk+3-devel >= 3.0.8 | |
e8c191e0 | 92 | Requires: libselinux-devel |
5b4f83db | 93 | Obsoletes: eel-devel |
bc314b50 | 94 | |
95 | %description devel | |
4ed3035e KT |
96 | This package provides the necessary development libraries and include |
97 | files to allow you to develop Nautilus components. | |
bc314b50 | 98 | |
2b737679 JR |
99 | %description devel -l pl.UTF-8 |
100 | Biblioteki i pliki nagłówkowe potrzebne do programowania. | |
bc314b50 | 101 | |
2b737679 JR |
102 | %description devel -l pt_BR.UTF-8 |
103 | Este pacote fornece os arquivos necessários para desenvolvimento | |
38fc004d | 104 | utilizando componentes do nautilus. |
dae44d33 | 105 | |
38fc004d | 106 | %package static |
107 | Summary: Static Nautilus libraries | |
8c9c4b24 | 108 | Summary(pl.UTF-8): Biblioteki statyczne Nautilusa |
707ac973 | 109 | Group: X11/Development/Libraries |
1eee0929 | 110 | Requires: %{name}-devel = %{version}-%{release} |
38fc004d | 111 | |
112 | %description static | |
113 | Static Nautilus libraries. | |
114 | ||
2b737679 | 115 | %description static -l pl.UTF-8 |
91588ecf | 116 | Biblioteki statyczne Nautilusa. |
dae44d33 | 117 | |
29b9984f MB |
118 | %package apidocs |
119 | Summary: Nautilus API documentation | |
120 | Summary(pl.UTF-8): Dokumentacja API Nautilusa | |
121 | Group: Documentation | |
122 | Requires: gtk-doc-common | |
123 | ||
124 | %description apidocs | |
125 | Nautilus API documentation. | |
126 | ||
127 | %description apidocs -l pl.UTF-8 | |
128 | Dokumentacja API Nautilusa. | |
129 | ||
707ac973 | 130 | %prep |
ef313bbe | 131 | %setup -q |
ef313bbe | 132 | |
2676370b | 133 | sed -i -e 's#^io##' po/LINGUAS |
93ae7777 | 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 | |
e097aa7c | 160 | # kill it - use banner instead |
2db2fc13 | 161 | install %{SOURCE1} . |
a3d2aa03 | 162 | |
93ae7777 MB |
163 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.{a,la} |
164 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
165 | ||
09483640 MB |
166 | %{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}} |
167 | ||
ef313bbe | 168 | %find_lang %{name} --with-gnome --all-name |
169 | ||
170 | %clean | |
171 | rm -rf $RPM_BUILD_ROOT | |
172 | ||
b441649d | 173 | %post |
ab7700bc | 174 | %update_mime_database |
0c38bfba | 175 | %update_desktop_database_post |
892cfdc1 | 176 | %update_icon_cache hicolor |
93ae7777 | 177 | %glib_compile_schemas |
b441649d | 178 | |
179 | %postun | |
0c38bfba | 180 | %update_desktop_database_postun |
ab7700bc | 181 | %update_mime_database |
892cfdc1 | 182 | %update_icon_cache hicolor |
93ae7777 MB |
183 | if [ "$1" = "0" ]; then |
184 | %glib_compile_schemas | |
185 | fi | |
b441649d | 186 | |
d072a499 | 187 | %post libs -p /sbin/ldconfig |
188 | %postun libs -p /sbin/ldconfig | |
b3b1f241 | 189 | |
c52d9b8d | 190 | %files -f %{name}.lang |
5022deb0 | 191 | %defattr(644,root,root,755) |
9f7cb215 | 192 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README THANKS nautilus.PLD.readme |
2063fb7d PZ |
193 | %attr(755,root,root) %{_bindir}/nautilus |
194 | %attr(755,root,root) %{_bindir}/nautilus-autorun-software | |
195 | %attr(755,root,root) %{_bindir}/nautilus-connect-server | |
55d8a20e | 196 | %attr(755,root,root) %{_libexecdir}/nautilus-convert-metadata |
8d5f7d8d | 197 | %dir %{_libdir}/nautilus |
93ae7777 MB |
198 | %dir %{_libdir}/nautilus/extensions-3.0 |
199 | %attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-sendto.so | |
200 | %{_datadir}/GConf/gsettings/nautilus.convert | |
201 | %{_datadir}/dbus-1/services/org.gnome.Nautilus.service | |
202 | %{_datadir}/glib-2.0/schemas/*.gschema.xml | |
9a1058cd | 203 | %{_datadir}/mime/packages/*.xml |
707ac973 | 204 | %{_datadir}/nautilus |
04bd3ecd | 205 | %{_desktopdir}/*.desktop |
892cfdc1 | 206 | %{_iconsdir}/hicolor/*/*/nautilus.* |
29b9984f | 207 | %{_mandir}/man1/nautilus*.1* |
e097aa7c | 208 | %{_pixmapsdir}/nautilus |
707ac973 | 209 | |
210 | %files libs | |
211 | %defattr(644,root,root,755) | |
2063fb7d PZ |
212 | %attr(755,root,root) %{_libdir}/libnautilus-extension.so.*.*.* |
213 | %attr(755,root,root) %ghost %{_libdir}/libnautilus-extension.so.1 | |
7e6e46c3 | 214 | %{_libdir}/girepository-1.0/*.typelib |
bc314b50 | 215 | |
216 | %files devel | |
5022deb0 | 217 | %defattr(644,root,root,755) |
2063fb7d | 218 | %attr(755,root,root) %{_libdir}/libnautilus-extension.so |
2063fb7d PZ |
219 | %{_includedir}/nautilus |
220 | %{_pkgconfigdir}/libnautilus-extension.pc | |
7e6e46c3 | 221 | %{_datadir}/gir-1.0/*.gir |
38fc004d | 222 | |
223 | %files static | |
224 | %defattr(644,root,root,755) | |
2063fb7d | 225 | %{_libdir}/libnautilus-extension.a |
29b9984f MB |
226 | |
227 | %if %{with apidocs} | |
228 | %files apidocs | |
229 | %defattr(644,root,root,755) | |
230 | %{_gtkdocdir}/libnautilus-extension | |
231 | %endif |