]> git.pld-linux.org Git - packages/xar.git/blob - xar.spec
- updated dependencies
[packages/xar.git] / xar.spec
1 Summary:        Easily extensible archive format
2 Summary(pl.UTF-8):      Łatwo rozszerzalny format archiwów
3 Name:           xar
4 Version:        1.6.1
5 Release:        2
6 License:        BSD
7 Group:          Applications/Archiving
8 Source0:        https://github.com/downloads/mackyle/xar/%{name}-%{version}.tar.gz
9 # Source0-md5:  a624535d6a1e8fdf420b36a6b334047b
10 Patch0:         build.patch
11 URL:            https://mackyle.github.io/xar/
12 BuildRequires:  acl-devel
13 BuildRequires:  attr-devel
14 BuildRequires:  autoconf >= 2.59
15 BuildRequires:  automake
16 BuildRequires:  bzip2-devel
17 BuildRequires:  e2fsprogs-devel
18 BuildRequires:  libxml2-devel >= 1:2.6.11
19 BuildRequires:  openssl-devel
20 BuildRequires:  xz-devel
21 BuildRequires:  zlib-devel
22 Requires:       libxml2 >= 1:2.6.11
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
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
48 %package devel
49 Summary:        Header files for xar library
50 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki xara
51 Group:          Development/Libraries
52 Requires:       %{name} = %{version}-%{release}
53 Requires:       acl-devel
54 Requires:       bzip2-devel
55 Requires:       libxml2-devel >= 1:2.6.11
56 Requires:       openssl-devel
57 Requires:       xz-devel
58 Requires:       zlib-devel
59
60 %description devel
61 Header files for xar library.
62
63 %description devel -l pl.UTF-8
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.
77
78 %prep
79 %setup -q
80 %patch0 -p1
81
82 %build
83 cp -f /usr/share/automake/config.sub .
84 %{__aclocal}
85 %{__autoconf}
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
98 %post   -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
100
101 %files
102 %defattr(644,root,root,755)
103 %doc LICENSE NEWS xar_README.txt ChangeLog
104 %attr(755,root,root) %{_bindir}/xar
105 %attr(755,root,root) %{_libdir}/libxar.so.1
106 %{_mandir}/man1/xar.1*
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libxar.so
111 %{_libdir}/libxar.la
112 %dir %{_includedir}/xar
113 %{_includedir}/xar/xar.h
114
115 %files static
116 %defattr(644,root,root,755)
117 %{_libdir}/libxar.a
This page took 0.080665 seconds and 4 git commands to generate.