]>
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 |
77154772 | 4 | Version: 1.6.1 |
d4ad96f5 | 5 | Release: 2 |
7d33ba49 AM |
6 | License: BSD |
7 | Group: Applications/Archiving | |
5624fe39 | 8 | Source0: https://github.com/downloads/mackyle/xar/%{name}-%{version}.tar.gz |
77154772 AM |
9 | # Source0-md5: a624535d6a1e8fdf420b36a6b334047b |
10 | Patch0: build.patch | |
11 | URL: https://mackyle.github.io/xar/ | |
7d33ba49 AM |
12 | BuildRequires: acl-devel |
13 | BuildRequires: attr-devel | |
d2105189 | 14 | BuildRequires: autoconf >= 2.59 |
aff74233 | 15 | BuildRequires: automake |
7d33ba49 AM |
16 | BuildRequires: bzip2-devel |
17 | BuildRequires: e2fsprogs-devel | |
d2105189 | 18 | BuildRequires: libxml2-devel >= 1:2.6.11 |
7d33ba49 | 19 | BuildRequires: openssl-devel |
d2105189 | 20 | BuildRequires: xz-devel |
7d33ba49 | 21 | BuildRequires: zlib-devel |
d2105189 | 22 | Requires: libxml2 >= 1:2.6.11 |
7d33ba49 AM |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | The XAR project aims to provide an easily extensible archive format. | |
27 | Important design decisions include an easily extensible XML table of | |
28 | contents for random access to archived files, storing the toc at the | |
29 | beginning of the archive to allow for efficient handling of streamed | |
30 | archives, the ability to handle files of arbitrarily large sizes, the | |
31 | ability to choose independent encodings for individual files in the | |
32 | archive, the ability to store checksums for individual files in both | |
33 | compressed and uncompressed form, and the ability to query the table | |
34 | of content's rich meta-data. | |
35 | ||
91a8cebc JB |
36 | %description -l pl.UTF-8 |
37 | Celem projektu XAR jest zapewnienie łatwo rozszerzalnego formatu | |
38 | archiwów. Główne decyzje projektowe obejmują: łatwo rozszerzalną | |
39 | tabelę zawartości w formacie XML do swobodnego dostępu do | |
40 | zarchiwizowanych plików, zapisywanie informacji o zawartości archiwum | |
41 | na początku archiwum w celu umożliwienia wydajnej obsługi archiwów | |
42 | strumieniowych, możliwość obsługi plików o dowolnie dużych rozmiarach, | |
43 | możliwość wyboru niezależnych kodowań dla poszczególnych plików w | |
44 | archiwum, możliwość zapisywania sum kontrolnych dla poszczególnych | |
45 | plików w zarówno skompresowanej jak i nieskompresowanej postaci, | |
46 | możliwość odpytywania metadanych tabeli zawartości. | |
47 | ||
7d33ba49 | 48 | %package devel |
1877c87a JB |
49 | Summary: Header files for xar library |
50 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki xara | |
7d33ba49 | 51 | Group: Development/Libraries |
91a8cebc | 52 | Requires: %{name} = %{version}-%{release} |
1877c87a JB |
53 | Requires: acl-devel |
54 | Requires: bzip2-devel | |
d2105189 | 55 | Requires: libxml2-devel >= 1:2.6.11 |
1877c87a | 56 | Requires: openssl-devel |
d2105189 | 57 | Requires: xz-devel |
1877c87a | 58 | Requires: zlib-devel |
7d33ba49 AM |
59 | |
60 | %description devel | |
1877c87a | 61 | Header files for xar library. |
91a8cebc JB |
62 | |
63 | %description devel -l pl.UTF-8 | |
1877c87a JB |
64 | Pliki nagłówkowe biblioteki xara. |
65 | ||
66 | %package static | |
67 | Summary: Static xar library | |
68 | Summary(pl.UTF-8): Statyczna biblioteka xara | |
69 | Group: Development/Libraries | |
70 | Requires: %{name}-devel = %{version}-%{release} | |
71 | ||
72 | %description static | |
73 | Static xar library. | |
74 | ||
75 | %description static -l pl.UTF-8 | |
76 | Statyczna biblioteka xara. | |
7d33ba49 AM |
77 | |
78 | %prep | |
79 | %setup -q | |
77154772 | 80 | %patch0 -p1 |
7d33ba49 AM |
81 | |
82 | %build | |
aff74233 | 83 | cp -f /usr/share/automake/config.sub . |
77154772 AM |
84 | %{__aclocal} |
85 | %{__autoconf} | |
7d33ba49 AM |
86 | %configure |
87 | %{__make} | |
88 | ||
89 | %install | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
92 | %{__make} install \ | |
93 | DESTDIR=$RPM_BUILD_ROOT | |
94 | ||
95 | %clean | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
91a8cebc JB |
98 | %post -p /sbin/ldconfig |
99 | %postun -p /sbin/ldconfig | |
7d33ba49 AM |
100 | |
101 | %files | |
102 | %defattr(644,root,root,755) | |
77154772 | 103 | %doc LICENSE NEWS xar_README.txt ChangeLog |
247cd457 | 104 | %attr(755,root,root) %{_bindir}/xar |
1877c87a | 105 | %attr(755,root,root) %{_libdir}/libxar.so.1 |
247cd457 | 106 | %{_mandir}/man1/xar.1* |
7d33ba49 AM |
107 | |
108 | %files devel | |
109 | %defattr(644,root,root,755) | |
247cd457 | 110 | %attr(755,root,root) %{_libdir}/libxar.so |
1877c87a | 111 | %{_libdir}/libxar.la |
247cd457 | 112 | %dir %{_includedir}/xar |
113 | %{_includedir}/xar/xar.h | |
1877c87a JB |
114 | |
115 | %files static | |
116 | %defattr(644,root,root,755) | |
117 | %{_libdir}/libxar.a |