]>
Commit | Line | Data |
---|---|---|
7d33ba49 | 1 | Summary: Easily extensible archive format |
91a8cebc | 2 | Summary(pl.UTF-8): Łatwo rozszerzalny format archiwów |
7d33ba49 AM |
3 | Name: xar |
4 | Version: 1.5 | |
5 | Release: 1 | |
6 | License: BSD | |
7 | Group: Applications/Archiving | |
8 | Source0: http://xar.googlecode.com/files/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 8057051827329458c111a4880e868afc | |
10 | URL: http://code.google.com/p/xar/ | |
11 | BuildRequires: acl-devel | |
12 | BuildRequires: attr-devel | |
13 | BuildRequires: bzip2-devel | |
14 | BuildRequires: e2fsprogs-devel | |
15 | BuildRequires: libxml2-devel | |
16 | BuildRequires: openssl-devel | |
17 | BuildRequires: zlib-devel | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | The XAR project aims to provide an easily extensible archive format. | |
22 | Important design decisions include an easily extensible XML table of | |
23 | contents for random access to archived files, storing the toc at the | |
24 | beginning of the archive to allow for efficient handling of streamed | |
25 | archives, the ability to handle files of arbitrarily large sizes, the | |
26 | ability to choose independent encodings for individual files in the | |
27 | archive, the ability to store checksums for individual files in both | |
28 | compressed and uncompressed form, and the ability to query the table | |
29 | of content's rich meta-data. | |
30 | ||
91a8cebc JB |
31 | %description -l pl.UTF-8 |
32 | Celem projektu XAR jest zapewnienie łatwo rozszerzalnego formatu | |
33 | archiwów. Główne decyzje projektowe obejmują: łatwo rozszerzalną | |
34 | tabelę zawartości w formacie XML do swobodnego dostępu do | |
35 | zarchiwizowanych plików, zapisywanie informacji o zawartości archiwum | |
36 | na początku archiwum w celu umożliwienia wydajnej obsługi archiwów | |
37 | strumieniowych, możliwość obsługi plików o dowolnie dużych rozmiarach, | |
38 | możliwość wyboru niezależnych kodowań dla poszczególnych plików w | |
39 | archiwum, możliwość zapisywania sum kontrolnych dla poszczególnych | |
40 | plików w zarówno skompresowanej jak i nieskompresowanej postaci, | |
41 | możliwość odpytywania metadanych tabeli zawartości. | |
42 | ||
7d33ba49 | 43 | %package devel |
91a8cebc JB |
44 | Summary: Header files for xar |
45 | Summary(pl.UTF-8): Pliki nagłówkowe xara | |
7d33ba49 | 46 | Group: Development/Libraries |
91a8cebc | 47 | Requires: %{name} = %{version}-%{release} |
7d33ba49 AM |
48 | |
49 | %description devel | |
91a8cebc JB |
50 | Header files for xar. |
51 | ||
52 | %description devel -l pl.UTF-8 | |
53 | Pliki nagłówkowe xara. | |
7d33ba49 AM |
54 | |
55 | %prep | |
56 | %setup -q | |
57 | ||
58 | %build | |
59 | %configure | |
60 | %{__make} | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
91a8cebc JB |
71 | %post -p /sbin/ldconfig |
72 | %postun -p /sbin/ldconfig | |
7d33ba49 AM |
73 | |
74 | %files | |
75 | %defattr(644,root,root,755) | |
76 | %doc TODO | |
77 | %attr(755,root,root) %{_bindir}/* | |
7d33ba49 | 78 | %attr(755,root,root) %{_libdir}/*.so.* |
91a8cebc | 79 | %{_mandir}/man1/* |
7d33ba49 AM |
80 | |
81 | %files devel | |
82 | %defattr(644,root,root,755) | |
83 | %attr(755,root,root) %{_libdir}/*.so | |
84 | %{_includedir}/xar |