X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdavfs.git;a=blobdiff_plain;f=davfs.spec;h=b00b3ffca34a0094175072041f5c154124f31b03;hp=798284599fcadb28274d5dfe9fc6ddc98edcebac;hb=ef247584576e8346cea0aa2db7cea1739abb1c51;hpb=79c61baf5ccba58c2bde724daadf7b53f7ddd72f diff --git a/davfs.spec b/davfs.spec index 7982845..b00b3ff 100644 --- a/davfs.spec +++ b/davfs.spec @@ -1,6 +1,6 @@ # # Conditional build: -# _without_dist_kernel without kernel from distribution +%bcond_without dist_kernel # without kernel from distribution # %define _rel 1 @@ -16,25 +16,25 @@ Source0: http://dl.sourceforge.net/dav/%{name}-%{version}.tar.gz Patch0: %{name}-path.patch Patch1: %{name}-is_socket_ready.patch URL: http://dav.sourceforge.net/ -%{!?_without_dist_kernel:BuildRequires: kernel-headers} +%{?with_dist_kernel:BuildRequires: kernel-headers} BuildRequires: autoconf BuildRequires: %{kgcc_package} -BuildRequires: openssl-devel >= 0.9.7 +BuildRequires: openssl-devel >= 0.9.7d BuildRequires: rpmbuild(macros) >= 1.118 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description WebDAV is an acronym for Web-based Distributed Authoring and Version- -ing. Usually http is a read only protocol, but if you install DAV on +ing. Usually HTTP is a read only protocol, but if you install DAV on your web server, it becomes writable. Furthermore, if you use DAVfs, you can mount your web server onto your filesystem and can use it as a normal disk. %description -l pl WebDAV to bazuj±ce na WWW Rozproszone Autoryzowanie i Wersjonowanie. -Zazwyczaj protokó³ http jest protoko³em tylko do odczytu ale po +Zazwyczaj protokó³ HTTP jest protoko³em tylko do odczytu ale po zainstalowaniu DAVa staje siê on równie¿ zapisywalnym. Co wiêcej je¶li -u¿ywasz DAVfs to mo¿esz montowaæ swój serwer www jako system plików i +u¿ywasz DAVfs to mo¿esz montowaæ swój serwer WWW jako system plików i u¿ywaæ tak jak normalnego dysku. %package -n kernel-fs-davfs @@ -42,21 +42,21 @@ Summary: DAVfs - Drivers Summary(pl): DAVfs - Sterowniki Release: %{_rel}@%{_kernel_ver_str} Group: Base/Kernel -%{!?_without_dist_kernel:%requires_releq_kernel_up} +%{?with_dist_kernel:%requires_releq_kernel_up} Requires(post,postun): /sbin/depmod %description -n kernel-fs-davfs WebDAV is an acronym for Web-based Distributed Authoring and Version- -ing. Usually http is a read only protocol, but if you install DAV on +ing. Usually HTTP is a read only protocol, but if you install DAV on your web server, it becomes writable. Furthermore, if you use DAVfs, you can mount your web server onto your filesystem and can use it as a normal disk. %description -n kernel-fs-davfs -l pl WebDAV to bazuj±ce na WWW Rozproszone Autoryzowanie i Wersjonowanie. -Zazwyczaj protokó³ http jest protoko³em tylko do odczytu ale po +Zazwyczaj protokó³ HTTP jest protoko³em tylko do odczytu ale po zainstalowaniu DAVa staje siê on równie¿ zapisywalnym. Co wiêcej je¶li -u¿ywasz DAVfs to mo¿esz montowaæ swój serwer www jako system plików i +u¿ywasz DAVfs to mo¿esz montowaæ swój serwer WWW jako system plików i u¿ywaæ tak jak normalnego dysku. %package -n kernel-smp-fs-davfs @@ -64,21 +64,21 @@ Summary: DAVfs - SMP Drivers Summary(pl): DAVfs - Sterowniki SMP Release: %{_rel}@%{_kernel_ver_str} Group: Base/Kernel -%{!?_without_dist_kernel:%requires_releq_kernel_smp} +%{?with_dist_kernel:%requires_releq_kernel_smp} Requires(post,postun): /sbin/depmod %description -n kernel-smp-fs-davfs WebDAV is an acronym for Web-based Distributed Authoring and Version- -ing. Usually http is a read only protocol, but if you install DAV on +ing. Usually HTTP is a read only protocol, but if you install DAV on your web server, it becomes writable. Furthermore, if you use DAVfs, you can mount your web server onto your filesystem and can use it as a normal disk. %description -n kernel-smp-fs-davfs -l pl WebDAV to bazuj±ce na WWW Rozproszone Autoryzowanie i Wersjonowanie. -Zazwyczaj protokó³ http jest protoko³em tylko do odczytu ale po +Zazwyczaj protokó³ HTTP jest protoko³em tylko do odczytu ale po zainstalowaniu DAVa staje siê on równie¿ zapisywalnym. Co wiêcej je¶li -u¿ywasz DAVfs to mo¿esz montowaæ swój serwer www jako system plików i +u¿ywasz DAVfs to mo¿esz montowaæ swój serwer WWW jako system plików i u¿ywaæ tak jak normalnego dysku. %prep