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