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