[packages/unionfs-fuse] - updated to 0.26 - pl - switched to cmake build system (included cmakefiles support LFS and XATTR)

qboosh qboosh at pld-linux.org
Fri Feb 28 15:25:07 CET 2014


commit bd08ac1d9c75b36c58a2f8035ba97007c64007bb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Feb 28 15:27:41 2014 +0100

    - updated to 0.26
    - pl
    - switched to cmake build system (included cmakefiles support LFS and XATTR)

 unionfs-fuse.spec | 47 ++++++++++++++++++++++++++++++++---------------
 1 file changed, 32 insertions(+), 15 deletions(-)
---
diff --git a/unionfs-fuse.spec b/unionfs-fuse.spec
index 97efa74..b1711b2 100644
--- a/unionfs-fuse.spec
+++ b/unionfs-fuse.spec
@@ -1,42 +1,59 @@
 Summary:	A userspace unionfs implementation
+Summary(pl.UTF-8):	Implementacja unionfs w przestrzeni użytkownika
 Name:		unionfs-fuse
-Version:	0.23
+Version:	0.26
 Release:	1
 License:	BSD
-Group:		Applications
-Source0:	http://podgorny.cz/unionfs-fuse/releases/%{name}-%{version}.tar.bz2
-# Source0-md5:	479f06c81c49c9c5b4340df44426c52a
+Group:		Applications/System
+Source0:	http://podgorny.cz/unionfs-fuse/releases/%{name}-%{version}.tar.xz
+# Source0-md5:	689c636484756f6f7a728ef354cbeac2
 URL:		http://podgorny.cz/moin/UnionFsFuse
-BuildRequires:	libfuse-devel
+BuildRequires:	cmake >= 2.0
+BuildRequires:	libfuse-devel >= 2.6
+BuildRequires:	rpmbuild(macros) >= 1.605
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-unionfs−fuse overlays several directory into one single mount point.
+unionfs-fuse overlays several directory into one single mount point.
 
 It first tries to access the file on the top branch and if the file
 does not exist there, it continues on lower level branches. If the
-user tries to modify a file on a lower level read−only branch the file
-is copied to to a higher level read−write branch if the copy−on−write
+user tries to modify a file on a lower level read-only branch the file
+is copied to to a higher level read-write branch if the copy-on-write
 (cow) mode was enabled.
 
+%description -l pl.UTF-8
+unionfs-fuse nakłada kilka katalogów w pojedynczy punkt montowania.
+
+Najpierw próbuje dostępu do pliku na górnej gałęzi, a jeśli tam nie
+istnieje - kontynuuje na niższych gałęziach. Jeżeli użytkownik próbuje
+zmodyfikować plik na niższej gałęzi tylko do odczytu, plik jest
+kopiowany na wyższą gałąź do odczytu i zapisu - o ile jest włączony
+tryb COW (copy on write - kopiowania przy zapisie).
+
 %prep
 %setup -q
 
 %build
-%{__make} CFLAGS="-Wall %{rpmcflags}" LDFLAGS="%{rpmldflags}"
+%cmake .
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
 
-install src/unionfs $RPM_BUILD_ROOT%{_sbindir}/%{name}
-install man/unionfs-fuse.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__mv} $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}
+%{__mv} $RPM_BUILD_ROOT%{_sbindir}/{unionfs,unionfs-fuse}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CREDITS NEWS
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man8/*
+%doc CREDITS LICENSE NEWS
+%attr(755,root,root) %{_sbindir}/unionfs-fuse
+%{_mandir}/man8/unionfs-fuse.8*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/unionfs-fuse.git/commitdiff/bd08ac1d9c75b36c58a2f8035ba97007c64007bb



More information about the pld-cvs-commit mailing list