]>
Commit | Line | Data |
---|---|---|
9907eed2 | 1 | Summary: GNOME - virtual file system |
ced29bec | 2 | Summary(pl.UTF-8): GNOME - wirtualny system plików |
30c5db17 | 3 | Name: gnome-vfs2 |
4919f61b | 4 | Version: 2.16.3 |
63646b87 | 5 | Release: 2 |
0abde7a0 | 6 | License: LGPL v2+ |
2daf775c | 7 | Group: Applications |
758cb910 | 8 | Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-vfs/2.16/gnome-vfs-%{version}.tar.bz2 |
4919f61b | 9 | # Source0-md5: 586d6fe3740385c000a864d5e2cf8215 |
3dfd4585 | 10 | Source1: %{name}-defaults.list |
08a33ecc | 11 | Patch0: %{name}-no_g_mime.patch |
12 | Patch1: %{name}-fstab_edit_crash.patch | |
bc9940fd | 13 | Patch2: %{name}-default_cdda_handler.patch |
a0053c59 | 14 | Patch3: %{name}-headers-define.patch |
7004bb2f | 15 | URL: http://www.gnome.org/ |
5f75c8c4 | 16 | BuildRequires: GConf2-devel >= 2.16.0 |
758cb910 | 17 | BuildRequires: ORBit2-devel >= 1:2.14.3 |
a0053c59 | 18 | BuildRequires: acl-devel >= 2.2.34 |
7004bb2f AM |
19 | BuildRequires: autoconf |
20 | BuildRequires: automake | |
23ba034c | 21 | BuildRequires: avahi-glib-devel >= 0.6.14 |
7004bb2f | 22 | BuildRequires: bzip2-devel |
2590ced8 | 23 | BuildRequires: dbus-glib-devel >= 0.71 |
84c519ce | 24 | BuildRequires: docbook-dtd412-xml >= 1.0-10 |
7004bb2f | 25 | BuildRequires: fam-devel |
fdd099d9 | 26 | BuildRequires: flex |
7004bb2f | 27 | BuildRequires: gettext-devel |
23ba034c | 28 | BuildRequires: glib2-devel >= 1:2.12.4 |
a53ec99b | 29 | BuildRequires: gnome-common >= 2.12.0 |
2590ced8 | 30 | BuildRequires: gnome-doc-tools >= 0.7.2 |
5f75c8c4 | 31 | BuildRequires: gtk+2-devel >= 2:2.10.6 |
2590ced8 | 32 | BuildRequires: gtk-doc >= 1.7 |
33 | BuildRequires: hal-devel >= 0.5.7.1 | |
dc9b986a | 34 | BuildRequires: heimdal-devel >= 0.7 |
f2bc3eff | 35 | BuildRequires: intltool >= 0.35.0 |
de0e1a34 | 36 | BuildRequires: libsmbclient-devel >= 3.0 |
c8121a59 | 37 | BuildRequires: libtool >= 2:1.5.14 |
5f75c8c4 | 38 | BuildRequires: libxml2-devel >= 1:2.6.27 |
2590ced8 | 39 | BuildRequires: openssl-devel >= 0.9.8b |
de0e1a34 | 40 | BuildRequires: perl-base |
1e60a848 | 41 | BuildRequires: pkgconfig |
de0e1a34 | 42 | BuildRequires: popt-devel |
c5ff750c | 43 | BuildRequires: rpm-build >= 4.1-10 |
df42e8d4 | 44 | BuildRequires: rpmbuild(macros) >= 1.197 |
7004bb2f | 45 | BuildRequires: zlib-devel |
5f75c8c4 | 46 | Requires(post,preun): GConf2 >= 2.16.0 |
758cb910 | 47 | Requires: ORBit2 >= 1:2.14.3 |
59c71a03 | 48 | Requires: shared-mime-info >= 0.18 |
291f69de | 49 | Obsoletes: gnome-vfs-extras |
b4abf114 | 50 | Obsoletes: gnome-vfs2-vfolder-menu |
3ef00263 | 51 | Conflicts: gnome-vfs2-module-menu <= 0.8-1 |
de0e1a34 | 52 | Conflicts: libgnome < 2.5.1 |
9907eed2 | 53 | Requires: %{name}-libs = %{version}-%{release} |
7004bb2f AM |
54 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
55 | ||
7004bb2f | 56 | %description |
9907eed2 | 57 | GNOME Virtual File System. |
7004bb2f | 58 | |
ced29bec JR |
59 | %description -l pl.UTF-8 |
60 | Wirtualny Systemu Plików GNOME. | |
9907eed2 | 61 | |
62 | %package libs | |
63 | Summary: gnome-vfs library | |
ced29bec | 64 | Summary(pl.UTF-8): Biblioteka gnome-vfs |
6bb628dd | 65 | Group: Libraries |
2d5f921c | 66 | Requires: hal-libs >= 0.5.7.1 |
9907eed2 | 67 | |
68 | %description libs | |
69 | This package contains gnome-vfs libraries. | |
70 | ||
ced29bec | 71 | %description libs -l pl.UTF-8 |
9907eed2 | 72 | Pakiet zawiera biblioteki gnome-vfs. |
7004bb2f AM |
73 | |
74 | %package devel | |
9907eed2 | 75 | Summary: gnome-vfs - header files |
ced29bec | 76 | Summary(pl.UTF-8): gnome-vfs - pliki nagłówkowe |
2daf775c | 77 | Group: Development/Libraries |
9907eed2 | 78 | Requires: %{name}-libs = %{version}-%{release} |
5f75c8c4 | 79 | Requires: GConf2-devel >= 2.16.0 |
23ba034c | 80 | Requires: avahi-glib-devel >= 0.6.14 |
2590ced8 | 81 | Requires: dbus-glib-devel >= 0.71 |
c417a8a5 | 82 | Requires: gtk-doc-common |
2590ced8 | 83 | Requires: openssl-devel >= 0.9.8b |
7e0793f3 | 84 | Requires: popt-devel |
7004bb2f AM |
85 | |
86 | %description devel | |
9907eed2 | 87 | This package contains header files for gnome-vfs library. |
7004bb2f | 88 | |
ced29bec JR |
89 | %description devel -l pl.UTF-8 |
90 | Pakiet ten zawiera pliki nagłówkowe biblioteki gnome-vfs. | |
7004bb2f AM |
91 | |
92 | %package static | |
9907eed2 | 93 | Summary: gnome-vfs - static libraries |
ced29bec | 94 | Summary(pl.UTF-8): gnome-vfs - biblioteki statyczne |
2daf775c | 95 | Group: Development/Libraries |
3f01381e | 96 | Requires: %{name}-devel = %{version}-%{release} |
7004bb2f AM |
97 | |
98 | %description static | |
9907eed2 | 99 | This package contains static gnome-vfs libraries. |
7004bb2f | 100 | |
ced29bec | 101 | %description static -l pl.UTF-8 |
9907eed2 | 102 | Pakiet ten zawiera biblioteki statyczne gnome-vfs. |
103 | ||
104 | %package apidocs | |
6bb628dd | 105 | Summary: gnome-vfs API documentation |
ced29bec | 106 | Summary(pl.UTF-8): Dokumentacja API gnome-vfs |
9907eed2 | 107 | Group: Documentation |
108 | Requires: gtk-doc-common | |
109 | ||
110 | %description apidocs | |
6bb628dd | 111 | gnome-vfs API documentation. |
9907eed2 | 112 | |
ced29bec | 113 | %description apidocs -l pl.UTF-8 |
9907eed2 | 114 | Dokumentacja API gnome-vfs. |
7004bb2f AM |
115 | |
116 | %prep | |
117 | %setup -q -n gnome-vfs-%{version} | |
d912f97e | 118 | %patch0 -p1 |
b6691b4d | 119 | %patch1 -p1 |
08a33ecc | 120 | %patch2 -p1 |
a0053c59 | 121 | %patch3 -p0 |
7004bb2f AM |
122 | |
123 | %build | |
08a33ecc | 124 | # force rebuild |
125 | touch libgnomevfs/GNOME_VFS_Daemon.idl | |
226fad7c | 126 | %{__gtkdocize} |
0ccceeea | 127 | %{__glib_gettextize} |
128 | %{__intltoolize} | |
dd6b4d01 | 129 | %{__libtoolize} |
592ad3ed | 130 | %{__aclocal} |
c3d08e81 | 131 | %{__autoconf} |
132 | %{__automake} | |
7004bb2f | 133 | %configure \ |
9907eed2 | 134 | --disable-howl \ |
de0e1a34 | 135 | --disable-schemas-install \ |
9907eed2 | 136 | --enable-gtk-doc \ |
137 | --enable-ipv6 \ | |
138 | --with-html-dir=%{_gtkdocdir} | |
139 | ||
08a33ecc | 140 | %{__make} |
7004bb2f AM |
141 | |
142 | %install | |
143 | rm -rf $RPM_BUILD_ROOT | |
b6691b4d | 144 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
7004bb2f AM |
145 | |
146 | %{__make} install \ | |
147 | DESTDIR=$RPM_BUILD_ROOT \ | |
de0e1a34 | 148 | m4dir=%{_aclocaldir} \ |
149 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
7004bb2f | 150 | |
de0e1a34 | 151 | # no static modules |
67c7bac3 | 152 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.{la,a} |
de0e1a34 | 153 | rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/filesystems/*.{la,a} |
20d32b09 | 154 | |
b6691b4d | 155 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/defaults.list |
3dfd4585 | 156 | |
7004bb2f AM |
157 | %find_lang gnome-vfs-2.0 |
158 | ||
159 | %clean | |
160 | rm -rf $RPM_BUILD_ROOT | |
161 | ||
84c519ce | 162 | %post |
df42e8d4 | 163 | %gconf_schema_install desktop_default_applications.schemas |
164 | %gconf_schema_install desktop_gnome_url_handlers.schemas | |
165 | %gconf_schema_install system_dns_sd.schemas | |
166 | %gconf_schema_install system_http_proxy.schemas | |
167 | %gconf_schema_install system_smb.schemas | |
4d406ecb | 168 | |
b6691b4d | 169 | %preun |
df42e8d4 | 170 | %gconf_schema_uninstall desktop_default_applications.schemas |
171 | %gconf_schema_uninstall desktop_gnome_url_handlers.schemas | |
172 | %gconf_schema_uninstall system_dns_sd.schemas | |
173 | %gconf_schema_uninstall system_http_proxy.schemas | |
174 | %gconf_schema_uninstall system_smb.schemas | |
b6691b4d | 175 | |
9907eed2 | 176 | %post libs -p /sbin/ldconfig |
177 | %postun libs -p /sbin/ldconfig | |
50b014a0 | 178 | |
7004bb2f AM |
179 | %files -f gnome-vfs-2.0.lang |
180 | %defattr(644,root,root,755) | |
5c1355bc | 181 | %doc AUTHORS ChangeLog NEWS README |
7004bb2f | 182 | %{_sysconfdir}/gnome-vfs-2.0 |
08a33ecc | 183 | %{_sysconfdir}/gconf/schemas/desktop_default_applications.schemas |
184 | %{_sysconfdir}/gconf/schemas/desktop_gnome_url_handlers.schemas | |
185 | %{_sysconfdir}/gconf/schemas/system_dns_sd.schemas | |
186 | %{_sysconfdir}/gconf/schemas/system_http_proxy.schemas | |
187 | %{_sysconfdir}/gconf/schemas/system_smb.schemas | |
af1be232 | 188 | %attr(755,root,root) %{_bindir}/gnomevfs-* |
de0e1a34 | 189 | %attr(755,root,root) %{_libdir}/gnome-vfs-daemon |
b756e60a | 190 | %attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/*.so |
67c7bac3 | 191 | %{_datadir}/dbus-1/services/*.service |
b6691b4d | 192 | %{_desktopdir}/*.list |
7004bb2f | 193 | |
9907eed2 | 194 | %files libs |
195 | %defattr(644,root,root,755) | |
196 | %attr(755,root,root) %{_libdir}/*.so.*.* | |
88dc57ed | 197 | %dir %{_libdir}/gnome-vfs-2.0 |
198 | %dir %{_libdir}/gnome-vfs-2.0/modules | |
9907eed2 | 199 | |
7004bb2f AM |
200 | %files devel |
201 | %defattr(644,root,root,755) | |
202 | %attr(755,root,root) %{_libdir}/*.so | |
6f71e755 | 203 | %{_libdir}/*.la |
7004bb2f | 204 | %{_includedir}/gnome-vfs-2.0 |
baf3af9f | 205 | %{_includedir}/gnome-vfs-module-2.0 |
7004bb2f | 206 | %{_libdir}/gnome-vfs-2.0/include |
baf3af9f | 207 | %{_pkgconfigdir}/*.pc |
7004bb2f AM |
208 | |
209 | %files static | |
210 | %defattr(644,root,root,755) | |
211 | %{_libdir}/lib*.a | |
9907eed2 | 212 | |
213 | %files apidocs | |
214 | %defattr(644,root,root,755) | |
215 | %{_gtkdocdir}/gnome-vfs-2.0 |