]> git.pld-linux.org Git - packages/xar.git/blob - xar.spec
- package -static
[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.5.2
5 Release:        1
6 License:        BSD
7 Group:          Applications/Archiving
8 Source0:        http://xar.googlecode.com/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  8eabb055d3387b8edc30ecfb08d2e80d
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
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
43 %package devel
44 Summary:        Header files for xar library
45 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki xara
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48 Requires:       acl-devel
49 Requires:       bzip2-devel
50 Requires:       libxml2-devel
51 Requires:       openssl-devel
52 Requires:       zlib-devel
53
54 %description devel
55 Header files for xar library.
56
57 %description devel -l pl.UTF-8
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.
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
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc LICENSE TODO
94 %attr(755,root,root) %{_bindir}/xar
95 %attr(755,root,root) %{_libdir}/libxar.so.1
96 %{_mandir}/man1/xar.1*
97
98 %files devel
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/libxar.so
101 %{_libdir}/libxar.la
102 %dir %{_includedir}/xar
103 %{_includedir}/xar/xar.h
104
105 %files static
106 %defattr(644,root,root,755)
107 %{_libdir}/libxar.a
This page took 0.119379 seconds and 3 git commands to generate.