]>
Commit | Line | Data |
---|---|---|
7d33ba49 | 1 | Summary: Easily extensible archive format |
91a8cebc | 2 | Summary(pl.UTF-8): Łatwo rozszerzalny format archiwów |
7d33ba49 | 3 | Name: xar |
247cd457 | 4 | Version: 1.5.2 |
aeafc86c | 5 | Release: 4 |
7d33ba49 AM |
6 | License: BSD |
7 | Group: Applications/Archiving | |
8 | Source0: http://xar.googlecode.com/files/%{name}-%{version}.tar.gz | |
247cd457 | 9 | # Source0-md5: 8eabb055d3387b8edc30ecfb08d2e80d |
7d33ba49 AM |
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 |
1877c87a JB |
44 | Summary: Header files for xar library |
45 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki xara | |
7d33ba49 | 46 | Group: Development/Libraries |
91a8cebc | 47 | Requires: %{name} = %{version}-%{release} |
1877c87a JB |
48 | Requires: acl-devel |
49 | Requires: bzip2-devel | |
50 | Requires: libxml2-devel | |
51 | Requires: openssl-devel | |
52 | Requires: zlib-devel | |
7d33ba49 AM |
53 | |
54 | %description devel | |
1877c87a | 55 | Header files for xar library. |
91a8cebc JB |
56 | |
57 | %description devel -l pl.UTF-8 | |
1877c87a JB |
58 | Pliki nagłówkowe biblioteki xara. |
59 | ||
60 | %package static | |
61 | Summary: Static xar library | |
62 | Summary(pl.UTF-8): Statyczna biblioteka xara | |
63 | Group: Development/Libraries | |
64 | Requires: %{name}-devel = %{version}-%{release} | |
65 | ||
66 | %description static | |
67 | Static xar library. | |
68 | ||
69 | %description static -l pl.UTF-8 | |
70 | Statyczna biblioteka xara. | |
7d33ba49 AM |
71 | |
72 | %prep | |
73 | %setup -q | |
74 | ||
75 | %build | |
76 | %configure | |
77 | %{__make} | |
78 | ||
79 | %install | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %{__make} install \ | |
83 | DESTDIR=$RPM_BUILD_ROOT | |
84 | ||
85 | %clean | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
91a8cebc JB |
88 | %post -p /sbin/ldconfig |
89 | %postun -p /sbin/ldconfig | |
7d33ba49 AM |
90 | |
91 | %files | |
92 | %defattr(644,root,root,755) | |
1877c87a | 93 | %doc LICENSE TODO |
247cd457 | 94 | %attr(755,root,root) %{_bindir}/xar |
1877c87a | 95 | %attr(755,root,root) %{_libdir}/libxar.so.1 |
247cd457 | 96 | %{_mandir}/man1/xar.1* |
7d33ba49 AM |
97 | |
98 | %files devel | |
99 | %defattr(644,root,root,755) | |
247cd457 | 100 | %attr(755,root,root) %{_libdir}/libxar.so |
1877c87a | 101 | %{_libdir}/libxar.la |
247cd457 | 102 | %dir %{_includedir}/xar |
103 | %{_includedir}/xar/xar.h | |
1877c87a JB |
104 | |
105 | %files static | |
106 | %defattr(644,root,root,755) | |
107 | %{_libdir}/libxar.a |