]>
Commit | Line | Data |
---|---|---|
da6ae5d5 | 1 | # |
2 | # TODO: | |
3 | # - fix make anyfs_module | |
4 | # - make subpackage for libany.a ( -libany or just -static) | |
5 | ||
9ae21f85 | 6 | Summary: anyfs-tools - a unix-like toolset for recovering and converting filesystems |
1ffc5fef | 7 | Summary(pl.UTF-8): anyfs-tools - uniksowy zestaw narzędzi do odzyskiwania i konwersji systemów plików |
430df31f | 8 | Name: anyfs-tools |
e1e92109 | 9 | Version: 0.84.11 |
10 | Release: 1 | |
430df31f | 11 | License: GPL v2 |
9ae21f85 | 12 | Group: Applications/System |
430df31f | 13 | Source0: http://dl.sourceforge.net/anyfs-tools/%{name}-%{version}.tar.bz2 |
e1e92109 | 14 | # Source0-md5: c5d13e636b0097386f5aebf4c445d627 |
da6ae5d5 | 15 | Patch0: %{name}-DFL_RTEXTSIZE.patch |
50652117 | 16 | URL: http://anyfs-tools.sourceforge.net/ |
ad183a74 | 17 | BuildRequires: e2fsprogs-devel >= 1.38 |
da6ae5d5 | 18 | BuildRequires: libfuse-devel >= 2.5 |
9ae21f85 | 19 | BuildRequires: mjpegtools-devel |
99129efa | 20 | BuildRequires: mpeg2dec-devel |
fd424ba1 | 21 | BuildRequires: xfsprogs-devel |
430df31f | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | anyfs-tools provides a unix-like toolset for recovering and converting | |
26 | filesystems. The following utils are included in the toolset: | |
27 | ||
9ae21f85 | 28 | build_it uses Linux OS filesystem drivers to recursively read |
430df31f | 29 | directory entries in order to obtain information about all of the |
30 | filesystem inodes. The information is then saved to an external inode | |
31 | table. | |
32 | ||
33 | anysurrect searches block devices for specific file types, based on | |
34 | their file structure. Information about each found file type is also | |
35 | saved to an external inode table. | |
36 | ||
37 | reblock changes the filesystem block size. reblock uses information | |
38 | from the filesystems inode table to change each files' fragments | |
39 | placing so that it will align with block boundaries but with a new | |
40 | block size. | |
41 | ||
42 | build_e2fs proceeds from external inode table information for building | |
43 | ext2fs filesystems on device. | |
44 | ||
45 | build_xfs proceeds from external inode table information for building | |
46 | xfs filesystems on device. | |
47 | ||
48 | anyconvertfs converts device filesystem with applying other | |
49 | anyfs-tools utilities. | |
50 | ||
51 | The anyfs filesystem driver for Linux allows a user to mount a device | |
52 | using the external inode table information created by the build_it or | |
53 | anysurrect commands. Once the filesystem is mounted with the inode | |
54 | table information the user can perform file operations such as | |
55 | deleting, moving files, making symbolic and hard links, special files | |
56 | and changing file access permissions. All changes are applied to the | |
57 | external inode table on unmounting the filesystem, leaving the data on | |
58 | the block device unchanged. | |
59 | ||
05a3c9e0 JR |
60 | %description -l pl.UTF-8 |
61 | anyfs-tools dostarczają działającego w uniksowym stylu zestawu | |
62 | narzędzi do odzyskiwania i konwersji systemów plików. W pakiecie | |
63 | zawarte są następujące narzędzia: | |
9ae21f85 | 64 | |
05a3c9e0 JR |
65 | build_it wykorzystuje linuksowe sterowniki systemów plików do |
66 | rekurencyjnego odczytu wpisów katalogów w celu uzyskania informacji o | |
67 | wszystkich i-węzłach systemu plików. Informacje te są następnie | |
68 | zapisywane do zewnętrznej tabeli i-węzłów. | |
9ae21f85 | 69 | |
05a3c9e0 JR |
70 | anysurrect przeszukuje urządzenia blokowe pod kątem określonych |
71 | rodzajów plików w oparciu o ich strukturę plików. Inforamcje o każdym | |
72 | znalezionym rodzaju pliku są także zapisywane do zewnętrznej tabeli | |
73 | i-węzłów. | |
9ae21f85 | 74 | |
05a3c9e0 JR |
75 | reblock zmienia rozmiar bloku systemu plików. Wykorzystuje informacje |
76 | o tabeli i-węzłów systemu plików, aby zmienić rozmieszczenie | |
77 | fragmentów każdego pliku w taki sposób, by były wyrównane do granic | |
78 | bloków przy nowym ich rozmiarze. | |
9ae21f85 | 79 | |
05a3c9e0 JR |
80 | build_e2fs na podstawie zewnętrznej informacji o tabeli i-węzłów |
81 | przystępuje do tworzenia systemu plików ext2fs na urządzeniu. | |
9ae21f85 | 82 | |
05a3c9e0 JR |
83 | build_xfs na podstawie zewnętrznej informacji o tabeli i-węzłów |
84 | przystępuje do tworzenia systemu plików xfs na urządzeniu. | |
9ae21f85 | 85 | |
05a3c9e0 | 86 | anyconvertfs konwertuje system plików stosując inne narzędzia |
9ae21f85 JB |
87 | anyfs-tools. |
88 | ||
05a3c9e0 JR |
89 | Sterownik systemu plików anyfs dla Linuksa pozwala użytkownikowi |
90 | podmontować urządzenie przy użyciu zewnętrznych informacji o tabeli | |
91 | i-węzłów stworzonej przy użyciu polecenia build_it lub anysurrect. Po | |
92 | podmontowaniu systemu plików użytkownik może wykonywać operacje na | |
93 | plikach, takie jak usuwanie, przenoszenie, tworzenie dowiązań | |
94 | symbolicznych i zwykłych czy urządzeń specjalnych oraz zmiana | |
95 | uprawnień do plików. Wszystkie zmiany są wykonywane na zewnętrznej | |
96 | tabeli i-węzłów przy odmontowywaniu systemu plików, bez zmiany danych | |
97 | na urządzeniu blokowym. | |
9ae21f85 | 98 | |
430df31f | 99 | %package devel |
9ae21f85 | 100 | Summary: Header files for anyfs-tools |
1ffc5fef | 101 | Summary(pl.UTF-8): Pliki nagłówkowe anyfs-tools |
430df31f | 102 | Group: Development/Libraries |
103 | Requires: %{name} = %{version}-%{release} | |
104 | ||
105 | %description devel | |
9ae21f85 | 106 | Header files for anyfs-tools. |
430df31f | 107 | |
05a3c9e0 JR |
108 | %description devel -l pl.UTF-8 |
109 | Pliki nagłówkowe anyfs-tools. | |
430df31f | 110 | |
111 | %prep | |
112 | %setup -q | |
da6ae5d5 | 113 | %patch0 -p0 |
430df31f | 114 | |
115 | %build | |
116 | %configure | |
da6ae5d5 | 117 | %{__make} libany |
118 | %{__make} progs | |
430df31f | 119 | |
120 | %install | |
121 | rm -rf $RPM_BUILD_ROOT | |
122 | ||
123 | %{__make} install \ | |
124 | DESTDIR=$RPM_BUILD_ROOT | |
125 | ||
126 | %find_lang %{name} | |
127 | ||
128 | %clean | |
129 | rm -rf $RPM_BUILD_ROOT | |
130 | ||
131 | %files -f %{name}.lang | |
132 | %defattr(644,root,root,755) | |
9ae21f85 JB |
133 | %doc README THANKS |
134 | %lang(ru) %doc README.ru | |
430df31f | 135 | %attr(755,root,root) %{_sbindir}/* |
da6ae5d5 | 136 | %attr(755,root,root) %{_bindir}/anyfuse |
430df31f | 137 | %{_mandir}/man3/* |
138 | %{_mandir}/man5/* | |
139 | %{_mandir}/man8/* | |
9ae21f85 JB |
140 | %lang(ru) %{_mandir}/ru/man3/* |
141 | %lang(ru) %{_mandir}/ru/man3/* | |
142 | %lang(ru) %{_mandir}/ru/man5/* | |
da6ae5d5 | 143 | %lang(ru) %{_mandir}/ru/man8/* |
430df31f | 144 | |
145 | %files devel | |
146 | %defattr(644,root,root,755) | |
9ae21f85 | 147 | %{_includedir}/anyfs-tools |